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: BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate writable_gatt ... more
Diff: nRF51GattServer.cpp
- Revision:
 - 95:7f0d80ab964b
 - Parent:
 - 92:8c1553b39b03
 - Child:
 - 101:18a6f0b9c350
 
diff -r 2bac1b3c5cfc -r 7f0d80ab964b nRF51GattServer.cpp
--- a/nRF51GattServer.cpp	Mon Mar 02 11:34:45 2015 +0000
+++ b/nRF51GattServer.cpp	Mon Mar 02 11:34:45 2015 +0000
@@ -139,7 +139,7 @@
     @endcode
 */
 /**************************************************************************/
-ble_error_t nRF51GattServer::readValue(uint16_t charHandle, uint8_t buffer[], uint16_t *const lengthP)
+ble_error_t nRF51GattServer::readValue(GattAttribute::Handle_t charHandle, uint8_t buffer[], uint16_t *const lengthP)
 {
     ASSERT( ERROR_NONE ==
             sd_ble_gatts_value_get(nrfCharacteristicHandles[charHandle].value_handle, 0, lengthP, buffer),
@@ -173,7 +173,7 @@
     @endcode
 */
 /**************************************************************************/
-ble_error_t nRF51GattServer::updateValue(uint16_t charHandle, uint8_t buffer[], uint16_t len, bool localOnly)
+ble_error_t nRF51GattServer::updateValue(GattAttribute::Handle_t charHandle, uint8_t buffer[], uint16_t len, bool localOnly)
 {
     uint16_t gapConnectionHandle = nRF51Gap::getInstance().getConnectionHandle();
     ble_error_t returnValue = BLE_ERROR_NONE;
    
