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 162:ba351b0adc4b, committed 2015-05-13
- Comitter:
- rgrover1
- Date:
- Wed May 13 08:48:54 2015 +0100
- Parent:
- 161:6712855a0107
- Child:
- 163:65f11741e3d4
- Commit message:
- Synchronized with git rev 09570bd6
Author: Rohit Grover
nRF51GattServer::hwCallback: use handle_value instead of characteristic index at a couple of places.
Changed in this revision
| nRF51GattServer.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/nRF51GattServer.cpp Fri May 08 15:33:59 2015 +0100
+++ b/nRF51GattServer.cpp Wed May 13 08:48:54 2015 +0100
@@ -261,7 +261,7 @@
/**************************************************************************/
void nRF51GattServer::hwCallback(ble_evt_t *p_ble_evt)
{
- uint16_t handle_value;
+ GattAttribute::Handle_t handle_value;
GattServerEvents::gattEvent_t eventType;
const ble_gatts_evt_t *gattsEventP = &p_ble_evt->evt.gatts_evt;
@@ -285,7 +285,7 @@
eventType = GattServerEvents::GATT_EVENT_UPDATES_DISABLED;
}
- handleEvent(eventType, i);
+ handleEvent(eventType, handle_value);
return;
}
}
@@ -410,7 +410,7 @@
}
default:
- handleEvent(eventType, i);
+ handleEvent(eventType, handle_value);
break;
}
}
