Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of nRF51822 by
Revision 191:f403e1eb3dd5, committed 2015-06-19
- Comitter:
- rgrover1
- Date:
- Fri Jun 19 15:55:15 2015 +0100
- Parent:
- 190:a7de684dfded
- Child:
- 192:3bc89bec110f
- Commit message:
- Synchronized with git rev 7cbfcf8b
Author: Rohit Grover
intermediate checkin for discovery procedure.
Changed in this revision
| btle/btle.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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));
