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/bricks.h
- Committer:
- hux
- Date:
- 2018-05-19
- Revision:
- 26:dce30a5341bb
File content as of revision 26:dce30a5341bb:
// bricks.h - single header for inclusion of BLE stuff // and most common brick headers #ifndef _BRICKS_H_ #define _BRICKS_H_ #include <mbed.h> #include "ble/BLE.h" // include o.h before any other includes of bricks headers #include "bricks/o.h" // include other bricks headers in any order (we use alphabetical order) #include "bricks/advertise.h" #include "bricks/blinker.h" #include "bricks/callback.h" #include "bricks/characteristic.h" #include "bricks/collection.h" #include "bricks/enroll.h" #include "bricks/get.h" #include "bricks/init.h" #include "bricks/print.h" #include "bricks/service.h" #include "bricks/set.h" #include "bricks/sleep.h" #include "bricks/trace.h" #include "bricks/types.h" #include "bricks/updated.h" #endif // _BRICKS_H_