A cute tiny piece of code implementing an IoT NAND device, demonstrating how to setup and advertise a cute GATT (NAND) service. The code has been tested on a Nordic nRF51822-DK.
Dependencies: BLE_API mbed nRF51822
Fork of BLE_HeartRate_IDB0XA1 by
bricks/characteristic.cpp@23:2e73c391bb12, 2017-01-08 (annotated)
- Committer:
- hux
- Date:
- Sun Jan 08 23:15:53 2017 +0000
- Revision:
- 23:2e73c391bb12
A cute tiny piece of code implementing an Iot NAND device, demonstrating how to setup and advertise a cute GATT (NAND) service.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
hux | 23:2e73c391bb12 | 1 | // characteristic.h - an easy to use overloaded characteristic class |
hux | 23:2e73c391bb12 | 2 | |
hux | 23:2e73c391bb12 | 3 | #include "bricks/characteristic.h" |
hux | 23:2e73c391bb12 | 4 | |
hux | 23:2e73c391bb12 | 5 | IniBuffer characteristicInidata; // to initialize a characteristic |
hux | 23:2e73c391bb12 | 6 | |
hux | 23:2e73c391bb12 | 7 | // eof |