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.
Fork of BLE_API by
Revision 495:b0d77b1db2df, committed 2015-06-19
- Comitter:
- rgrover1
- Date:
- Fri Jun 19 15:52:02 2015 +0100
- Parent:
- 494:2e4af47b00a8
- Child:
- 496:2abf82219288
- Commit message:
- Synchronized with git rev 2b27daba
Author: Rohit Grover
add read() to GattClient
Changed in this revision
| public/GattClient.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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. */
