CharacteristicFlags Property
A bitmask of this characteristic's flags.
Syntax
ANSI (Cross Platform) int GetCharacteristicFlags(int iCharacteristicIndex); Unicode (Windows) INT GetCharacteristicFlags(INT iCharacteristicIndex);
#define PID_BLECLIENT_CHARACTERISTICFLAGS 7 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_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
0
Remarks
A bitmask of this characteristic's flags.
This property is a bitmask which represents all of the flags (or, in BLE terms, "properties") which this characteristic has set. The following table shows what bitmask is used to represent each flag:
Bitmask | Flag |
0x00000001 | Broadcast |
0x00000002 | Read |
0x00000004 | Write Without Response |
0x00000008 | Write |
0x00000010 | Notify |
0x00000020 | Indicate |
0x00000040 | Authenticated Signed Writes |
0x00000080 | Reliable Writes (extended property) |
0x00000100 | Writable Auxiliaries (extended property) |
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 read-only and not available at design time.
Data Type
Integer