CharacteristicSubscribed Property

Whether or not the class has subscribed to updates for this characteristic's value.

Syntax

ANSI (Cross Platform)
int GetCharacteristicSubscribed(int iCharacteristicIndex);
int SetCharacteristicSubscribed(int iCharacteristicIndex, int bCharacteristicSubscribed); Unicode (Windows) BOOL GetCharacteristicSubscribed(INT iCharacteristicIndex);
INT SetCharacteristicSubscribed(INT iCharacteristicIndex, BOOL bCharacteristicSubscribed);
#define PID_BLECLIENT_CHARACTERISTICSUBSCRIBED 9

IPWORKSBLE_EXTERNAL void* IPWORKSBLE_CALL IPWorksBLE_BLEClient_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSBLE_EXTERNAL int IPWORKSBLE_CALL IPWorksBLE_BLEClient_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSBLE_EXTERNAL int IPWORKSBLE_CALL IPWorksBLE_BLEClient_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

FALSE

Remarks

Whether or not the class has subscribed to updates for this characteristic's value.

See Subscribe for more information.

Note that, on some platforms, the class might have to automatically discover specific descriptors for the value this returns to be accurate. The class take care of handling this automatic discovery in the most energy-efficient manner possible.

The CharacteristicIndex parameter specifies the index of the item in the array. The size of the array is controlled by the CharacteristicCount property.

This property is not available at design time.

Data Type

Boolean

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks BLE 2020 C++ Edition - Version 20.0 [Build 8158]