Demo program for the SimpleBLE library - Library that exposes BLE characteristics as ordinary variables.
Dependencies: SimpleBLE mbed nRF51822
This is an example program for SimpleBLE, a library targeted at workshops and hackathons that makes building Bluetooth Low Energy devices a lot simpler.
For more information and the API, see the SimpleBLE homepage or read the announcement blog post.
For the mbed OS 5 version (with nRF52-DK support), see SimpleBLE-Example-mbedos5.
Diff: main.cpp
- Revision:
- 3:e439dd384d7e
- Parent:
- 2:12a235e7691a
--- a/main.cpp Tue May 17 19:34:03 2016 +0000 +++ b/main.cpp Tue May 17 19:38:24 2016 +0000 @@ -30,7 +30,7 @@ // whenever someone updates this var over Bluetooth, this function will be called printf("My value was updated to %d\n", newValue); } -// FYI, you can also use UUIDs here instead of short services :-) +// FYI, you can also use long UUID strings here instead of short services :-) SimpleChar<uint32_t> writeMe = ble.readWrite_u32(0x9310, 0x9311, &callback); int main(int, char**) {