CharacteristicCachedValue Property

The most recently cached value of this characteristic.

Syntax

ANSI (Cross Platform)
int GetCharacteristicCachedValue(int iCharacteristicIndex, char* &lpCharacteristicCachedValue, int &lenCharacteristicCachedValue);

Unicode (Windows)
INT GetCharacteristicCachedValue(INT iCharacteristicIndex, LPSTR &lpCharacteristicCachedValue, INT &lenCharacteristicCachedValue);
#define PID_BLECLIENT_CHARACTERISTICCACHEDVALUE 4

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

""

Remarks

The most recently cached value of this characteristic.

To read the characteristic's value directly from the remote server, use ReadValue.

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

Binary String

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