CharacteristicValueExponent Property

The exponent of this characteristic's value, for applicable value formats.

Syntax

ANSI (Cross Platform)
int GetCharacteristicValueExponent(int iCharacteristicIndex);

Unicode (Windows)
INT GetCharacteristicValueExponent(INT iCharacteristicIndex);
#define PID_BLECLIENT_CHARACTERISTICVALUEEXPONENT 12

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

-1

Remarks

The exponent of this characteristic's value, for applicable value formats.

For an applicable CharacteristicValueFormat, this signed integer should be used as an exponent in the following formula in order to determine the actual value of the characteristic: [Value] * 10^[Exponent].

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

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