.settxpower Method

Function:

Causes the Wi-Fi interface to adjust the TX power to the specified level. This method is an immediate task.

Syntax:

wln.settxpower(level as byte) as accepted_rejected

Returns:

One of accepted_rejected constants:

0 ACCEPTED.

1 REJECTED.

See Also:

---


Parameter

Description

level

Value between 4 and 15 that roughly corresponds to the transmitter's output power in dB. Attempting to specify the level < 4 results in level = 4; attempting to specify the level > 15 results in level = 15.

Details

Starting from TiOS V4.02, this method has been deprecated for the WS1102.