It is highly recommended reading.
Bluetooth low energy devices android.
Technical solution in three steps.
Ble remains in sleep mode when not connected.
This article covers the missing and confusing parts in the android developers overview article on bluetooth low energy.
With lightblue you can scan connect to and browse any nearby.
The first problem i faced was that i needed to make sure that the device s bluetooth is not only on but also visible.
Common use cases include the following.
This lets ble provide lower bandwidth and reduced power consumption compared to classic bluetooth.
Bluetooth low energy provides only 0 3 mbps of application throughput.
This is not a tutorial.
Android 4 3 api level 18 introduces built in platform support for bluetooth low energy ble in the central role and provides apis that apps can use to discover devices query for services and transmit information.
The data is sent in small 20 bytes packages but the range can be even more than 100 meters 330 feet and the minimum latency between unconnected state to data transfer can be counted in a handful of milliseconds while in bt classic it s about 100 ms.
Lightblue can connect you to all of your devices that use bluetooth low energy also known as bluetooth smart or bluetooth light.