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 ST

Committer:
hux
Date:
Sat May 19 14:10:17 2018 +0000
Revision:
26:dce30a5341bb
Published

Who changed what in which revision?

UserRevisionLine numberNew contents of line
hux 26:dce30a5341bb 1 // bricks.h - single header for inclusion of BLE stuff
hux 26:dce30a5341bb 2 // and most common brick headers
hux 26:dce30a5341bb 3
hux 26:dce30a5341bb 4 #ifndef _BRICKS_H_
hux 26:dce30a5341bb 5 #define _BRICKS_H_
hux 26:dce30a5341bb 6
hux 26:dce30a5341bb 7 #include <mbed.h>
hux 26:dce30a5341bb 8 #include "ble/BLE.h"
hux 26:dce30a5341bb 9
hux 26:dce30a5341bb 10 // include o.h before any other includes of bricks headers
hux 26:dce30a5341bb 11
hux 26:dce30a5341bb 12 #include "bricks/o.h"
hux 26:dce30a5341bb 13
hux 26:dce30a5341bb 14 // include other bricks headers in any order (we use alphabetical order)
hux 26:dce30a5341bb 15
hux 26:dce30a5341bb 16 #include "bricks/advertise.h"
hux 26:dce30a5341bb 17 #include "bricks/blinker.h"
hux 26:dce30a5341bb 18 #include "bricks/callback.h"
hux 26:dce30a5341bb 19 #include "bricks/characteristic.h"
hux 26:dce30a5341bb 20 #include "bricks/collection.h"
hux 26:dce30a5341bb 21 #include "bricks/enroll.h"
hux 26:dce30a5341bb 22 #include "bricks/get.h"
hux 26:dce30a5341bb 23 #include "bricks/init.h"
hux 26:dce30a5341bb 24 #include "bricks/print.h"
hux 26:dce30a5341bb 25 #include "bricks/service.h"
hux 26:dce30a5341bb 26 #include "bricks/set.h"
hux 26:dce30a5341bb 27 #include "bricks/sleep.h"
hux 26:dce30a5341bb 28 #include "bricks/trace.h"
hux 26:dce30a5341bb 29 #include "bricks/types.h"
hux 26:dce30a5341bb 30 #include "bricks/updated.h"
hux 26:dce30a5341bb 31
hux 26:dce30a5341bb 32 #endif // _BRICKS_H_