![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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@26:dce30a5341bb, 2018-05-19 (annotated)
- Committer:
- hux
- Date:
- Sat May 19 14:10:17 2018 +0000
- Revision:
- 26:dce30a5341bb
Published
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
hux | 26:dce30a5341bb | 1 | // characteristic.cpp - an easy to use overloaded characteristic class |
hux | 26:dce30a5341bb | 2 | |
hux | 26:dce30a5341bb | 3 | #include "bricks/characteristic.h" |
hux | 26:dce30a5341bb | 4 | |
hux | 26:dce30a5341bb | 5 | IniBuffer characteristicInidata; // to initialize a characteristic |
hux | 26:dce30a5341bb | 6 | |
hux | 26:dce30a5341bb | 7 | // eof |