add read() to GattClient

This commit is contained in:
Rohit Grover 2015-06-04 07:50:01 +01:00
parent 59ce342f34
commit 2b27daba1f
1 changed files with 8 additions and 0 deletions

View File

@ -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. */