Bluetooth Framework C++ Edition
CwclGattLocalCharacteristicReadRequest Class Referenceabstract

The class represents a GATT characteristic read requests. More...

#include <wclBluetooth.h>

Inheritance diagram for CwclGattLocalCharacteristicReadRequest:
CwclGattLocalCharacteristicRequest

Public Member Functions

 CwclGattLocalCharacteristicReadRequest (const __int64 Timestamp, const unsigned long Offset, const unsigned long Size)
 Creates new object.
 
int Respond (void *const Data, const unsigned long Size)
 Sends the specified data to the connected client in respond to a read request.
 
unsigned long GetSize () const
 Gets the read buffer size.
 
 __declspec (property(get=GetSize)) unsigned long Size
 Gets the read buffer size.
 
- Public Member Functions inherited from CwclGattLocalCharacteristicRequest
 CwclGattLocalCharacteristicRequest (const __int64 Timestamp, const unsigned long Offset)
 Creates new object.
 
virtual ~CwclGattLocalCharacteristicRequest ()
 Frees the object.
 
virtual int RespondWithError (const int Error)
 Responds to the request with an error.
 
unsigned long GetOffset () const
 Gets the data offset.
 
 __declspec (property(get=GetOffset)) unsigned long Offset
 Gets the data offset.
 
__int64 GetTimestamp () const
 Gets the request time stamp.
 
 __declspec (property(get=GetTimestamp)) __int64 Timestamp
 Gets the request time stamp.
 

Protected Member Functions

virtual int HalRespond (void *const Data, const unsigned long Size)=0
 Sends the specified data to the connected client in respond to a read request.
 
- Protected Member Functions inherited from CwclGattLocalCharacteristicRequest
void SetProcessed (const int Error)
 Sets the processed flag.
 
int CheckProcessed ()
 Checks if the request has already been processed.
 
virtual int HalRespondWithError (const int Error)=0
 Responds to the request with an error.
 

Detailed Description

The class represents a GATT characteristic read requests.

An application must never create or destroy this class. The class is created and released internally when needed.

See also
CwclGattLocalCharacteristicRequest