test
Fork of nRF51822 by
Diff: btle/btle_discovery.h
- Revision:
- 309:ef9e806a7b03
- Parent:
- 308:482f16f3f7f5
- Child:
- 310:4d7ccb8c2a51
--- a/btle/btle_discovery.h Fri Jun 19 15:55:29 2015 +0100 +++ b/btle/btle_discovery.h Fri Jun 19 15:55:30 2015 +0100 @@ -30,7 +30,7 @@ * than ATT_MTU - 1, this function must be called multiple times with * appropriate offset to read the complete value. */ - virtual void read(uint16_t offset = 0) { + virtual ble_error_t read(uint16_t offset = 0) { /**@brief Initiate or continue a GATT Read (Long) Characteristic or Descriptor procedure. * * @details This function initiates or resumes a GATT Read (Long) Characteristic or Descriptor procedure. If the Characteristic or Descriptor @@ -49,6 +49,7 @@ */ // sd_ble_gattc_read() // SVCALL(SD_BLE_GATTC_READ, uint32_t, sd_ble_gattc_read(uint16_t conn_handle, uint16_t handle, uint16_t offset)); + return BLE_ERROR_NONE; } };