System.Bluetooth.TBluetoothGattCharacteristic.SetValueAsInt16
Delphi
procedure SetValueAsInt16(AValue: Int16; Offset: Integer = 0);
C++
void __fastcall SetValueAsInt16(short AValue, int Offset = 0x0);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattCharacteristic |
Description
Sets the Characteristic Value to the AValue
supplied as an argument.
SetValueAsInt16 expects two arguments:
AValue
: A Smallint value.Offset
: Defines the index value for the array of bytes. The default value forOffset
is0
, the first position of the array.
SetValueAsInt16 calls SetValueAs with the data type, Int16
.