System.Bluetooth.TBluetoothGattCharacteristic.SetValueAsUInt8
Delphi
procedure SetValueAsUInt8(AValue: UInt8; Offset: Integer = 0);
C++
void __fastcall SetValueAsUInt8(System::Byte 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.
SetValueAsUInt8 expects two arguments:
AValue
: A Byte value.Offset
: Defines the index value for the array of bytes. The default value forOffset
is0
, the first position of the array.
SetValueAsUInt8 calls SetValueAs with the data type, UInt8
.