CharacteristicValueFormat Property
The data type of this characteristic's value.
Syntax
bleclientcontrol.CharacteristicValueFormat(CharacteristicIndex)
Possible Values
vfUndefined(0), vfBoolean(1), vf2Bit(2), vfNibble(3), vfUInt8(4), vfUInt12(5), vfUInt16(6), vfUInt24(7), vfUInt32(8), vfUInt48(9), vfUInt64(10), vfUInt128(11), vfSInt8(12), vfSInt12(13), vfSInt16(14), vfSInt24(15), vfSInt32(16), vfSInt48(17), vfSInt64(18), vfSInt128(19), vfFloat32(20), vfFloat64(21), vfSFloat(22), vfFloat(23), vfDUInt16(24), vfUtf8Str(25), vfUtf16Str(26), vfStruct(27)
Default Value
0
Remarks
The data type of this characteristic's value.
The valid options are as follows:
Value Type | Description |
vfUndefined (0) | Undefined |
vfBoolean (1) | Unsigned 1-bit; 0 = false, 1 = true |
vf2Bit (2) | Unsigned 2-bit integer |
vfNibble (3) | Unsigned 4-bit integer |
vfUInt8 (4) | Unsigned 8-bit integer; exponent applies |
vfUInt12 (5) | Unsigned 12-bit integer; exponent applies |
vfUInt16 (6) | Unsigned 16-bit integer; exponent applies |
vfUInt24 (7) | Unsigned 24-bit integer; exponent applies |
vfUInt32 (8) | Unsigned 32-bit integer; exponent applies |
vfUInt48 (9) | Unsigned 48-bit integer; exponent applies |
vfUInt64 (10) | Unsigned 64-bit integer; exponent applies |
vfUInt128 (11) | Unsigned 128-bit integer; exponent applies |
vfSInt8 (12) | Signed 8-bit integer; exponent applies |
vfSInt12 (13) | Signed 12-bit integer; exponent applies |
vfSInt16 (14) | Signed 16-bit integer; exponent applies |
vfSInt24 (15) | Signed 24-bit integer; exponent applies |
vfSInt32 (16) | Signed 32-bit integer; exponent applies |
vfSInt48 (17) | Signed 48-bit integer; exponent applies |
vfSInt64 (18) | Signed 64-bit integer; exponent applies |
vfSInt128 (19) | Signed 128-bit integer; exponent applies |
vfFloat32 (20) | IEEE-754 32-bit floating point |
vfFloat64 (21) | IEEE-754 64-bit floating point |
vfSFloat (22) | IEEE-11073 16-bit SFLOAT |
vfFloat (23) | IEEE-11073 32-bit FLOAT |
vfDUInt16 (24) | IEEE-20601 format (Two UInt16 values concatenated) |
vfUtf8Str (25) | UTF-8 string |
vfUtf16Str (26) | UTF-16 string |
vfStruct (27) | Opaque structure |
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