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 BLE_ANCS_SDAPI_IRC ... more
Diff: public/GattClient.h
- Revision:
- 495:b0d77b1db2df
- Parent:
- 490:58a0313fffb5
- Child:
- 497:926d444599e8
diff -r 2e4af47b00a8 -r b0d77b1db2df public/GattClient.h --- a/public/GattClient.h Fri Jun 19 15:52:02 2015 +0100 +++ b/public/GattClient.h Fri Jun 19 15:52:02 2015 +0100 @@ -17,7 +17,15 @@ #ifndef __GATT_CLIENT_H__ #define __GATT_CLIENT_H__ +#include "blecommon.h" +#include "Gap.h" +#include "GattAttribute.h" + class GattClient { +public: + /* 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; + #if 0 public: /* Event callback handlers. */