You can control from iPhone and put some command. h=show commands help, v=show TY51822r3 VDD data, t=show chip temperature, q=you can make deep sleep condition.
Dependencies: BLE_API mbed nRF51822 nRF51_Vdd nRF51_WakeUp nRF51_LowPwr
Fork of BLE_LoopbackUART by
Please refer follows.
/users/kenjiArai/notebook/ty51822r3-current-consumption-using-nrf51_wakeup-l/#
Diff: main.cpp
- Revision:
- 13:15764cc1f12c
- Parent:
- 12:33153cf38631
- Child:
- 14:f9b4d659d717
diff -r 33153cf38631 -r 15764cc1f12c main.cpp --- a/main.cpp Mon Aug 24 12:34:53 2015 +0000 +++ b/main.cpp Tue Sep 29 12:02:15 2015 +0000 @@ -33,7 +33,7 @@ UARTService *uartServicePtr; -void disconnectionCallback(Gap::Handle_t handle, Gap::DisconnectionReason_t reason) +void disconnectionCallback(const Gap::DisconnectionCallbackParams_t *params) { DEBUG("Disconnected!\n\r"); DEBUG("Restarting the advertising process\n\r");