Why do Things use Bluetooth Smart for communication. • What do we have now? • What is available on Android. • Android Bluetooth Stack. • Android devices. • What is available from the adopted profiles. • The cost of a customized/proprietary profile. • How to do it? • How to send/receive data on Android. • How to be power efficient
data are in the attributes. Organized in the profile form. Adopted profiles and Custom profiles. What’s in a profile. – Data structure of Profile Service Characteristics UUID as the identifier.
stack Central only 7 concurrent connections Raw packet available – onLeScan(BluetoothDevice device, int rssi, byte[] scanRecord) No connection parameters configuration. – Connection Interval Min – Connection Interval Max – Slave Latency – Supervision Timeout
central side Is Bluetooth device available? Is Bluetooth Smart device available? Is the device turned on? Scan and found by UUID? Discover service by UUID? Read/Write value of characteristics? Close connection
an existing GATT instance. – StartLeScan by UUID on Galaxy – http://stackoverflow.com/questions/17870189/android-4-3- bluetooth-low-energy-unstable autoconnect is slow but repeated manual connect calls break things One command at a time. Beacon.
Knowledge Center – White papers – Training Videos Development Resources – Quick Start Kit – Application Accelerator – Platform availability for Smart and Smart Ready – Recorded webinars on development topics – Links to SIG tools (PTS, etc.) Forums GATT specifications http://developer.bluetooth.org