System.Bluetooth.TBluetoothLEAdvertiseData.TxPowerLevel
Delphi
property TxPowerLevel: Integer read GetTxPowerLevel write SetTxPowerLevel;
C++
__property int TxPowerLevel = {read=GetTxPowerLevel, write=SetTxPowerLevel, nodefault};
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
property | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothLEAdvertiseData |
説明
アドバタイズ データの送信出力レベル(dBm 単位)です。
送信出力レベルを使用すると、受信されるアドバタイズ データ側での経路損失を、次のように計算できます。
- 経路損失 = TxPowerLevel(送信出力レベル) - RSSI(受信信号強度)
詳細については、Bluetooth コア仕様補遺のパート A、セクション 1.5 を参照してください。
例外
例外 | メッセージ | シナリオ |
---|---|---|
EBluetoothLEAdvertiseDataException | Android 5 (API 21) 以上が必要です |
|