.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:

---


Part

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

A tip note icon.Starting from TiOS v4.02, this property has been deprecated for the WS1102.


.settxpower Method

Details