Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BLE_API mbed nRF51822
Fork of BLE_HeartRate_IDB0XA1 by
bricks/bricks.h@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 | // bricks.h - single header for inclusion of BLE stuff |
| hux | 23:2e73c391bb12 | 2 | // and most common brick headers |
| hux | 23:2e73c391bb12 | 3 | |
| hux | 23:2e73c391bb12 | 4 | #ifndef _BRICKS_H_ |
| hux | 23:2e73c391bb12 | 5 | #define _BRICKS_H_ |
| hux | 23:2e73c391bb12 | 6 | |
| hux | 23:2e73c391bb12 | 7 | #include <mbed.h> |
| hux | 23:2e73c391bb12 | 8 | #include "ble/BLE.h" |
| hux | 23:2e73c391bb12 | 9 | |
| hux | 23:2e73c391bb12 | 10 | // include o.h before any other includes of bricks headers |
| hux | 23:2e73c391bb12 | 11 | |
| hux | 23:2e73c391bb12 | 12 | #include "bricks/o.h" |
| hux | 23:2e73c391bb12 | 13 | |
| hux | 23:2e73c391bb12 | 14 | // include other bricks headers in any order (we use alphabetical order) |
| hux | 23:2e73c391bb12 | 15 | |
| hux | 23:2e73c391bb12 | 16 | #include "bricks/advertise.h" |
| hux | 23:2e73c391bb12 | 17 | #include "bricks/blink.h" |
| hux | 23:2e73c391bb12 | 18 | #include "bricks/callback.h" |
| hux | 23:2e73c391bb12 | 19 | #include "bricks/characteristic.h" |
| hux | 23:2e73c391bb12 | 20 | #include "bricks/collection.h" |
| hux | 23:2e73c391bb12 | 21 | #include "bricks/enroll.h" |
| hux | 23:2e73c391bb12 | 22 | #include "bricks/get.h" |
| hux | 23:2e73c391bb12 | 23 | #include "bricks/init.h" |
| hux | 23:2e73c391bb12 | 24 | #include "bricks/print.h" |
| hux | 23:2e73c391bb12 | 25 | #include "bricks/service.h" |
| hux | 23:2e73c391bb12 | 26 | #include "bricks/set.h" |
| hux | 23:2e73c391bb12 | 27 | #include "bricks/sleep.h" |
| hux | 23:2e73c391bb12 | 28 | #include "bricks/trace.h" |
| hux | 23:2e73c391bb12 | 29 | #include "bricks/types.h" |
| hux | 23:2e73c391bb12 | 30 | #include "bricks/updated.h" |
| hux | 23:2e73c391bb12 | 31 | |
| hux | 23:2e73c391bb12 | 32 | #endif // _BRICKS_H_ |
