A template for applications where some small amount of data needs to be notified to a phone app over BLE. It is a good starting point for notifications.
Demo for an Input Service
To help you create your own BLE services, we've created a series of service templates. The *input service template* demonstrates the use of a simple input (boolean values) from a read-only characteristic.
The template covers:
1. Setting up advertising and connection states.
2. Assigning UUIDs to the service and its characteristic.
3. Creating an input characteristic: read-only, boolean, with notifications. This characteristic is updated according to the button's state.
4. Constructing a service class and adding it to the BLE stack.
|10:7943b5c1117a||23 months ago||andresag||Update example to comply with latest BLE API changes.|
|9:0f6951db24f1||2015-10-09||rgrover1||pulling in an improvement suggested by Andrea Palmieri|
|8:a7ba7aaba460||2015-09-29||rgrover1||updating underlying libraries.|
|7:a02fdfbc253e||2015-07-02||rgrover1||updating to the latest of the underlying libraries.;|
|6:18d8750f39ee||2015-06-20||rgrover1||switch to newer APIs; rename BLEDevice to BLE|
|5:43a3ab27f2e4||2015-06-20||rgrover1||updating the underlying libraries.|
|4:208198b04bb2||2015-05-18||rgrover1||switch to the latest of the underlying libraries.|
|3:5eaf5afa873d||2015-05-11||rgrover1||Updating to the latest of the underlying libraries.|
|2:84dd6d29bc59||2015-03-24||rgrover1||updating underlying libraries.|
|1:7202df456146||2015-02-17||rgrover1||minor fix for characteristic UUID|