Bike service
Fork of BLE_API by
Diff: public/GattClient.h
- Revision:
- 525:c80c57d748f8
- Parent:
- 524:6e97ab392e2a
--- a/public/GattClient.h Fri Jun 19 15:52:06 2015 +0100 +++ b/public/GattClient.h Fri Jun 19 15:52:06 2015 +0100 @@ -68,7 +68,7 @@ const UUID &matchingServiceUUID = UUID::ShortUUIDBytes_t(BLE_UUID_UNKNOWN), const UUID &matchingCharacteristicUUIDIn = UUID::ShortUUIDBytes_t(BLE_UUID_UNKNOWN)) = 0; - virtual void onServiceDiscoveryTermination(ServiceDiscovery::TerminationCallback_t callback) = 0; + virtual void onServiceDiscoveryTermination(ServiceDiscovery::TerminationCallback_t callback) = 0; /** * Is service-discovery currently active? @@ -84,7 +84,11 @@ /* Initiate a Gatt Client read procedure by attribute-handle.*/ virtual ble_error_t read(Gap::Handle_t connHandle, GattAttribute::Handle_t attributeHandle, uint16_t offset) const = 0; - virtual ble_error_t write(GattClient::WriteOp_t cmd, Gap::Handle_t connHandle, GattAttribute::Handle_t attributeHandle, size_t length, const uint8_t *value) const = 0; + virtual ble_error_t write(GattClient::WriteOp_t cmd, + Gap::Handle_t connHandle, + GattAttribute::Handle_t attributeHandle, + size_t length, + const uint8_t *value) const = 0; protected: GattClient() {