System.Bluetooth.TBluetoothLEAdvertiseData.TxPowerLevel

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

property TxPowerLevel: Integer read GetTxPowerLevel write SetTxPowerLevel;

C++

__property int TxPowerLevel = {read=GetTxPowerLevel, write=SetTxPowerLevel, nodefault};

Propriétés

Type Visibilité  Source Unité  Parent
property public
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth TBluetoothLEAdvertiseData


Description

Puissance de transmission en dBm des données publicitaires.

Vous pouvez utiliser la puissance de transmission pour calculer la perte de ligne (EN) relative aux données publicitaires :

path loss = TxPowerLevel - RSSI

Pour de plus amples informations, voir Bluetooth Core Specification Supplement, Part A, section 1.5 (EN).

Exceptions

Exception Message Scénarios
EBluetoothLEAdvertiseDataException Requiert au minimum Android 5 (API 21)
  • Votre périphérique exécute une version d'Android qui ne prend pas en charge la diffusion de publicités Bluetooth LE.

Voir aussi