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.
Dependencies: nrf51-sdk
Dependents: microbit-dal microbit-ble-open microbit-dal-eddystone microbit-dal-ble-accelerometer-example ... more
Diff: nRF51GattServer.cpp
- Revision:
- 162:ba351b0adc4b
- Parent:
- 131:b21411170d00
- Child:
- 175:d0385f84ef92
--- 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;
}
}