Setting TX Power (Optional)
|Top Previous Next|
The output power of the Wi-Fi hardware can be adjusted in 12 steps. The wln.settxpower method is provided for that purpose. The power value roughly corresponds to dB. The lowest output power is set with wln.settxpower(4) and the highest power is set with wln.settxpower(15). Lower power reduces the current consumption of the Wi-Fi module, but not by much. We recommend that you do not touch this.
Note that setting TX power is an "immediate" wln task and there is a certain correct way of handling tasks. "Immediate" means you don't have to wait for the task to complete -- it is finished as soon as wln.settxpower is done executing.