![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
This is a simple program to work with RedBearLab BLE Controller App. Type something from the Terminal to send to the BLEController App or vice verse. Characteristics received from App will print on Terminal.
Dependencies: BLE_API BME280 DHT mbed nRF51822
Fork of nRF51822_SimpleChat by
Diff: main.cpp
- Revision:
- 3:b3f6c612b603
- Parent:
- 2:4b66b69c7ecb
- Child:
- 4:86bf080e3453
diff -r 4b66b69c7ecb -r b3f6c612b603 main.cpp --- a/main.cpp Mon Jul 27 06:52:44 2015 +0000 +++ b/main.cpp Thu Jan 07 02:46:54 2016 +0000 @@ -63,7 +63,7 @@ -void disconnectionCallback(Gap::Handle_t handle, Gap::DisconnectionReason_t reason) +void disconnectionCallback(const Gap::DisconnectionCallbackParams_t *params) { pc.printf("Disconnected \r\n"); pc.printf("Restart advertising \r\n");