Arduino Function: BLEPeripheral.setTxPower

Name

setTxPower

Description

Set TX power in dBm, default value is 0 dBm.

Syntax

blePeripheral.setTxPower(txPower);

Parameters

  • txPower: int. TX power in dBm.

Returns

 bool: true on success, false otherwise..

Note

Only certain values can be set with exactly, otherwise the next settable value is used:
-40, -30, -20, -16, -12, -8, -4, 0, 4




Written by arduino.org