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