test
Fork of nRF51822 by
Diff: btle/btle.cpp
- Revision:
- 191:f403e1eb3dd5
- Parent:
- 179:10e4c13360d9
- Child:
- 192:3bc89bec110f
diff -r a7de684dfded -r f403e1eb3dd5 btle/btle.cpp --- a/btle/btle.cpp Fri Jun 19 15:55:15 2015 +0100 +++ b/btle/btle.cpp Fri Jun 19 15:55:15 2015 +0100 @@ -107,6 +107,7 @@ /* Custom event handler */ switch (p_ble_evt->header.evt_id) { case BLE_GAP_EVT_CONNECTED: { + printf("received BLE_GAP_EVT_CONNECTED\r\n"); Gap::Handle_t handle = p_ble_evt->evt.gap_evt.conn_handle; nRF51Gap::getInstance().setConnectionHandle(handle); const Gap::ConnectionParams_t *params = reinterpret_cast<Gap::ConnectionParams_t *>(&(p_ble_evt->evt.gap_evt.params.connected.conn_params));