Bluetooth Framework C++ Edition
|
The class represents a GATT characteristic write requests. More...
#include <wclBluetooth.h>
Public Member Functions | |
CwclGattLocalCharacteristicWriteRequest (const unsigned long Offset, void *const Data, const unsigned long Size, const bool WithResponse) | |
Creates new object. | |
int | Respond () |
Sends a response to the connected client in respond to a write request. | |
virtual int | RespondWithError (const int Error) override |
Responds to the request with an error. | |
void * | GetData () const |
Gets the pointer to the data. | |
__declspec (property(get=GetData)) void *Data | |
Gets the pointer to the data. | |
unsigned long | GetSize () const |
Gets the data size. | |
__declspec (property(get=GetSize)) unsigned long Size | |
Gets the data size. | |
bool | GetWithResponse () const |
Gets the write operation flag. | |
__declspec (property(get=GetWithResponse)) bool WithResponse | |
Gets the write operation flag. | |
Public Member Functions inherited from CwclGattLocalCharacteristicRequest | |
CwclGattLocalCharacteristicRequest (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. | |
Protected Member Functions | |
virtual int | HalRespond ()=0 |
Sends a response to the connected client in respond to a write 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. | |
The class represents a GATT characteristic write requests.
An application must never create or destroy this class. The class is created and released internally when needed.