Unsubscribed Event
Fired when the class has successfully unsubscribed from a characteristic.
Syntax
ANSI (Cross Platform) virtual int FireUnsubscribed(BLEClientUnsubscribedEventParams *e);
typedef struct {
const char *ServiceId;
const char *CharacteristicId;
const char *Uuid;
const char *Description; int reserved; } BLEClientUnsubscribedEventParams; Unicode (Windows) virtual INT FireUnsubscribed(BLEClientUnsubscribedEventParams *e);
typedef struct {
LPCWSTR ServiceId;
LPCWSTR CharacteristicId;
LPCWSTR Uuid;
LPCWSTR Description; INT reserved; } BLEClientUnsubscribedEventParams;
#define EID_BLECLIENT_UNSUBSCRIBED 11 virtual INT IPWORKSBLE_CALL FireUnsubscribed(LPSTR &lpszServiceId, LPSTR &lpszCharacteristicId, LPSTR &lpszUuid, LPSTR &lpszDescription);
Remarks
This event is fired when the class has successfully unsubscribed from a characteristic.
Uuid and Description are the UUID and Bluetooth SIG user-friendly name (if one is defined) of the characteristic
Refer to the Unsubscribe method for more information.