Bluetooth Low energy silently appeared in all Apple hardware in the course of last two years, Android followed suit with API level 18. The session reviews the technology, the APIs and potential use cases.
2. Tech Overview
• “A Better Bluetooth” - Power and Cost
• 4.0 - Single and Dual Mode
• 3 Advertising, 37 Data Channels
• Advertiser vs. Scanner
• Master vs. Slave
Friday, October 18, 13
3. Classic vs. Low Energy
• 100mW vs. 10mW power
• Connection Oriented vs. Connectionless
• Streaming Data vs. Small Data Bursts
• HCI API stays intact
Friday, October 18, 13
5. Apple and Bluetooth LE
• First to Introduce
• iPhone 4S, MBA, Mac Mini since 2011
• WWDC 2012 Sessions
• All Products Today - Apple TV
• Classic remains under MFA
• Opens new era of Sensors and IOT
Friday, October 18, 13
12. Android: Connection
BluetoothGatt
mBtGatt
=
device.connectGatt(...
callback);
BluetoothGattCallback
callback
=
new
BluetoothGattCallback()
{
public
void
onConnectionStateChange(...)
{}
public
void
onServicesDiscovered(...)
{}
public
void
onCharacteristicRead(...)
{}
public
void
onCharacteristicChanged(...)
{}
};
mBtGatt.setCharacteristicNotification(characteristic,
enabled);
onCharacteristicChanged(BluetoothGatt
gatt,
BluetoothGattCharacteristic)
{}
Friday, October 18, 13
13. iBeacon
• Best Kept Secret of iOS7
• Micro Locations Made Simple
• API extends CoreLocation - CLBeacon
• Broadcast only - UUID, Major, Minor
• Geofence, Passbook
Friday, October 18, 13
14. Development Tools
• TI CC2541 Sensor Tag
• BlueGiga BGScript and API
• Nordic nRF51922 with Cortex M0
• RadiusNetworks Android iBeacons SDK
Friday, October 18, 13