From 2b27daba1f80aadb436d1f7094210f295bca9923 Mon Sep 17 00:00:00 2001 From: Rohit Grover Date: Thu, 4 Jun 2015 07:50:01 +0100 Subject: [PATCH] add read() to GattClient --- public/GattClient.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/GattClient.h b/public/GattClient.h index d2959be..92eb2e3 100644 --- a/public/GattClient.h +++ b/public/GattClient.h @@ -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. */