Your SlideShare is downloading. ×
AndroidとiOSのBLEな事情 3
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

AndroidとiOSのBLEな事情 3

9,289
views

Published on

iOSとAndoridのBLEとPheripheraとかCentralとかiBeaconあたりの話をつめこみました。Android 5.0 LollipopでのPeripheralサポートされた話まで対応。

iOSとAndoridのBLEとPheripheraとかCentralとかiBeaconあたりの話をつめこみました。Android 5.0 LollipopでのPeripheralサポートされた話まで対応。

Published in: Technology, Business

0 Comments
20 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
9,289
On Slideshare
0
From Embeds
0
Number of Embeds
11
Actions
Shares
0
Downloads
51
Comments
0
Likes
20
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. AndroidとiOSのBLEな事情 3 2014/01/28 created 2014/03/23 2014/12/23 updated @youten_redo
  • 2. Bluetooth Low Energy http://www.bluetooth.com/Pages/Bluetooth- Brand.aspx
  • 3. Central and Peripheral PP P C
  • 4. Scan P CC
  • 5. Advertise P Ad Ad
  • 6. P discovered! CC Ad Ad Ad
  • 7. Connect P C
  • 8. connected! P C
  • 9. Service discover P C Service Characte ristic Characte ristic Characte ristic Characte ristic Service Characte ristic Characte ristic Characte ristic Characte ristic Service Characte ristic Characte ristic Characte ristic Characte ristic
  • 10. Profile Service Characte ristic Characte ristic Characte ristic Characte ristic Service Characte ristic Characte ristic Characte ristic Characte ristic Service Characte ristic Characte ristic Characte ristic Characte ristic Profile Service Characte ristic Characte ristic Characte ristic Characte ristic Service Characte ristic Characte ristic Characte ristic Characte ristic Service Characte ristic Characte ristic Characte ristic Characte ristic Profile
  • 11. Find Me Profile (FMP) Profile Immediate Alert Service Alert Level Char. - Write without Response Proximity Profile (PXP) Immediate Alert Service Alert Level Char. - Write without Response Link Loss Service Alert Level Char. - Read/Write Tx Power Service Tx Power Level Char. - Read M M O O M M M M
  • 12. UUID Profile Service Characte ristic Characte ristic Characte ristic Characte ristic Service Characte ristic Characte ristic Characte ristic Characte ristic Service Characte ristic Characte ristic Characte ristic Characte ristic Profile Service Characte ristic Characte ristic Characte ristic Characte ristic Service Characte ristic Characte ristic Characte ristic Characte ristic Service Characte ristic Characte ristic Characte ristic Characte ristic UUID UUID UUID UUID UUID UUID UUID UUID UUID UUID UUID UUID UUID UUID UUID UUID UUID UUID UUID UUID UUID UUID UUID UUID UUID UUID UUID UUID UUID UUID
  • 13. Characteristic - Broadcast, Read, Write without Response, Write, Notify, Indicate, Signed Write, Reliable Write, Writable Auxiliaries P C Characte ristic Value Value
  • 14. Read, Write, Notify P C P C Characte ristic P C Characte ristic Value Value Value Characte ristic
  • 15. Write without Response, Indicate P C Characte ristic P C Value Value Characte ristic
  • 16. Example Try
  • 17. iOS 5 can be Central.
  • 18. iPhone - StickNFind P C
  • 19. StickNFind P LightBlue
  • 20. Device Information Service P C Device Information Service Manufacturer Name Char. - Read Model Number Char. - Read Serial Number Char. - Read Hardware Revision Char. - Read Software Revision Char. - Read
  • 21. Read - Manufacturer Name P C Device Information Service Manufacturer Name Char. - Read “StickNfind”
  • 22. Immediate Alert Service P C Immediate Alert Service Alert Level Char. - Write without Response ※StickNFindは2014.04ごろのアップデー トによりIAS等を標準UUIDで公開せず、独 自UUIDでの動作となってしまいましたた め、現状は試行できません。
  • 23. Write - Alert Level P C Immediate Alert Service Alert Level Char. - Write without Response 0x03 LED Flash and Beep!
  • 24. Android 4.3 can be Central.
  • 25. Android - StickNFind P C
  • 26. Read - Manufacturer Name P C Device Information Service Manufacturer Name Char. - Read “StickNfind”
  • 27. Write - Alert Level P C Immediate Alert Service Alert Level Char. - Write without Response 0x03 LED Flash and Beep! ※StickNFindは2014.04ごろのアップデー トによりIAS等を標準UUIDで公開せず、独 自UUIDでの動作となってしまいましたた め、現状は試行できません。
  • 28. BLERW Characteristic Read/Write Example for Android https://github.com/ youten/BLERW for Android 4.3 or Later Recommend Nexus 5 with Android 4.4 KitKat
  • 29. iOS 6 can be Peripheral.
  • 30. Android - iPhone P C
  • 31. ImmPeri Peripheral (as Immediate Alert Service Device) Example for iOS https://github.com/ youten/ImmPeri for iOS 7
  • 32. iBeacon
  • 33. A particular format Advertisement. P iBeacon Ad iBeacon Ad
  • 34. Include UUID and 2 number. P iBeacon Ad iBeacon Ad fixed proximity UUID major minor Tx Power Unique 128-bit value like “6E15D0C4-01F3-4507-84F4-D4BC26C363E0” 16-bit unsigned int
  • 35. Can detect on both iOS and Android. P iBeacon Ad CC CC iBeacon! iBeacon! iBeacon Ad
  • 36. iBeacon Detector scan BLE device and detect iBeacon App. https://github.com/ youten/iBeaconDetector for Android 4.3 or later
  • 37. Mavericks can be Central and Peripheral.
  • 38. Mavericks is Strong! P iBeacon Ad CC CC iBeacon! iBeacon! iBeacon Ad
  • 39. XBeacon OS X iBeacon App. running on Status Bar. https://github.com/ youten/XBeacon for Mavericks Mac being available BLE. But Yosemite can’t adv as iBeacon.
  • 40. Android 5.0 Lollipop can be Peripheral.
  • 41. Android - Android P C
  • 42. But, Available only Nexus 6 and 9. https://code.google.com/p/android-developer-preview/ issues/detail?id=1570#c52 Status:WontFix "Due to hardware chipset dependency, older Nexus devices (4/5/7) will not have access to the feature on Lollipop.”
  • 43. aBeacon (1) Peripheral that Advertise iBeacon compatible. (2) Find Me Profile Peripheral, include Device Information Service and Immediate Alert Service. https://github.com/youten/aBeacon For Android 5.0 Lollipop, I’ve tried with Nexus 9.