LEDをON(文字列'a'を送る)OFF(文字列'b'を送る)できるMSC
Dependencies: BLE_API mbed nRF51822
Fork of nRF51822_SimpleChat by
Diff: main.cpp
- Revision:
- 3:b3f6c612b603
- Parent:
- 2:4b66b69c7ecb
- Child:
- 4:41cf035db84a
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");