![](/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
Diff: bricks/bricks.h
- Revision:
- 26:dce30a5341bb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bricks/bricks.h Sat May 19 14:10:17 2018 +0000 @@ -0,0 +1,32 @@ +// 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_ \ No newline at end of file