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.
Dependents: microbit_rubber_ducky microbit_mouse_BLE microbit_mouse_BLE_daybreak_version microbit_presenter
Fork of nRF51822 by
Diff: nRF51GattServer.cpp
- Revision:
- 21:84599842b5fb
- Parent:
- 20:b4f64efaaa2c
- Child:
- 22:c6ee8136847e
--- a/nRF51GattServer.cpp Thu Jun 05 11:38:33 2014 +0100
+++ b/nRF51GattServer.cpp Fri Jun 06 14:13:32 2014 +0100
@@ -142,13 +142,9 @@
@endcode
*/
/**************************************************************************/
-ble_error_t nRF51GattServer::updateValue(uint16_t charHandle,
- uint8_t buffer[],
- uint16_t len,
- bool localOnly)
+ble_error_t nRF51GattServer::updateValue(uint16_t charHandle, uint8_t buffer[], uint16_t len, bool localOnly)
{
- uint16_t gapConnectionHandle =
- nRF51Gap::getInstance().getConnectionHandle();
+ uint16_t gapConnectionHandle = nRF51Gap::getInstance().getConnectionHandle();
if (localOnly) {
/* Only update locally regardless of notify/indicate */
