Bluetooth Framework C++ Edition

◆ __declspec() [6/8]

__declspec ( property(get=GetPreferredTxRssi, put=SetPreferredTxRssi )

If specified, requests that the radio use the indicated transmit power level for the advertisement.

The requested power level in dDm at range between -100 dBm and +20 for the radio transmission. The default is -127 indicating that this feature is disabled. If the parameter is out of range the wclEInvalidArgument exception raises.

Enabling the Extended Advertising format is necessary to enable several other related properties.

If the advertiser is running and an application changes the property the wclEBluetoothLeBeacon exception raises.

Exceptions
wclEInvalidArgument
wclEBluetoothLeBeacon