Język

AdvertiseTxPower Enum

Definition

Defines advertising set transmission power values and limits in dBm.

public enum AdvertiseTxPower
type AdvertiseTxPower = 
Inheritance
AdvertiseTxPower

Fields

Name Value Description
Min -127

Minimum value for TX power.

Android reference for android.bluetooth.le.AdvertisingSetParameters.TX_POWER_MIN.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

UltraLow -21

Advertise using the lowest transmission (TX) power level. Low transmission power can be used to restrict the visibility range of advertising packets.

Android reference for android.bluetooth.le.AdvertisingSetParameters.TX_POWER_ULTRA_LOW.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Low -15

Advertise using low TX power level.

Android reference for android.bluetooth.le.AdvertisingSetParameters.TX_POWER_LOW.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Medium -7

Advertise using medium TX power level.

Android reference for android.bluetooth.le.AdvertisingSetParameters.TX_POWER_MEDIUM.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

High 1

Advertise using high TX power level. This corresponds to largest visibility range of the advertising packet.

Android reference for android.bluetooth.le.AdvertisingSetParameters.TX_POWER_HIGH.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Max 1

This constant was deprecated in API level 37. Use TX_POWER_MAX_AVAILABLE

Maximum value for TX power.

Android reference for android.bluetooth.le.AdvertisingSetParameters.TX_POWER_MAX.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

MaxAvailable 20

Use the maximum available power for TX.

Android reference for android.bluetooth.le.AdvertisingSetParameters.TX_POWER_MAX_AVAILABLE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to