System.Beacon.TBeaconAdvertiser.TxPower

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property TxPower: ShortInt read FTxPower write FTxPower;

C++

__property System::Int8 TxPower = {read=FTxPower, write=FTxPower, nodefault};

Properties

Type Visibility Source Unit Parent
property public
System.Beacon.pas
System.Beacon.hpp
System.Beacon TBeaconAdvertiser

Description

Indicates the power transmission.

TxPower represents the power transmission of the beacon device transmitter. This value is also advertised for proximity purposes.

You can use this value as a calibration parameter:

  • Set TxPower as the expected Rssi value at 1m distance to the beacon. The reference unit is dBm.

This allows to retreive reliable values of distance to other BLE devices.

Set the value of TxPower as the constant DEFAULT_TXPOWER in order to use the default value for the beacon device.

See Also