System.Beacon.Components.TCustomBeaconDevice.TxPower

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property TxPower: ShortInt read FTxPower write SetTxPower default TXPOWER_IDETERMINATED;

C++

__property System::Int8 TxPower = {read=FTxPower, write=SetTxPower, default=-63};

Properties

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

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.

See Also