EasyManua.ls Logo

Espressif Systems ESP - Page 157

Default Icon
191 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 4. Software framework
4.10.71 How to test ESP32s Wi-Fi transmission distance?
You can use the iperf example and con󰝘gure the ESP32 device to iperf UDP mode. Then, you can distance
the device continuously to see at which point the Wi-Fi data transmission rate will drop to 0.
4.10.72 What is the maximum length of Wi-Fi MTU for an ESP32 and how to change it?
The maximum Wi-Fi MTU length for ESP32 is 1500. You can change this value in the LwIP component by
netif > mtu. However, it is not recommended to change this value.
4.10.73 During the on-hook test for an ESP32 device, the following log shows. What does
it mean?
log
[21-01-27_14:53:56]I (81447377) wifi:new:<7,0>, old:<7,2>, ap:<255,255>,
,sta:<7,0>, prof:1
[21-01-27_14:53:57]I (81448397) wifi:new:<7,2>, old:<7,0>, ap:<255,255>,
,sta:<7,2>, prof:1
[21-01-27_14:53:58]I (81449417) wifi:new:<7,0>, old:<7,2>, ap:<255,255>,
,sta:<7,0>, prof:1
[21-01-27_14:53:59]I (81450337) wifi:new:<7,2>, old:<7,0>, ap:<255,255>,
,sta:<7,2>, prof:1
The value after new represents the current primary and secondary channel; the value after old
represents the last primary and secondary channel; and the value after ap represents the primary
and secondary channel of the current ESP32 AP, which will be 255 if softAP is not enabled; the
value after sta represents primary and secondary channel of the current ESP32 sta; and prof is
the channel of ESP32s softAP stored in NVS.
For the meaning of secondary channel values, please refer to wi󰝘_second_chan_t.
The above log indicates that router is switching between HT20 and HT40 minus. You can check
the Wi-Fi bandwidth setting of the router.
4.10.74 How to disable AP mode when ESP32 is in AP + STA mode?
This can be done through the con󰝘guration of esp_wifi_set_mode(wifi_mode_t mode); function.
Just call esp_wifi_set_mode(WIFI_MODE_STA);.
4.10.75 After ESP32 used the Wi-Fi function, are all ADC2 channels unavailable?
When an ESP32 device is using Wi-Fi function, the ADC2 pins that are not occupied by Wi-Fi can be used as
normal GPIOs. You can refer to the o󰝚cial ADC Description.
Espressif Systems 140
Submit Document Feedback
Release master

Table of Contents