Skip to content

Commit 24ce51f

Browse files
tmediccixiaoxiang781216
authored andcommitted
documentation/esp32_esp32s3: update informations about Wi-Fi
Add links for `wapi` referencing and links through documentation pages that indicate Wi-Fi behavior on ESP32 and ESP32-S3.
1 parent 28361a2 commit 24ce51f

File tree

8 files changed

+52
-6
lines changed

8 files changed

+52
-6
lines changed

Documentation/platforms/xtensa/esp32/boards/esp32-audio-kit/index.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ browser:
115115

116116
After successfully built and flashed, connect the board to the Wi-Fi network::
117117

118-
$ nsh> wapi psk wlan0 mypasswd 1
118+
$ nsh> wapi psk wlan0 mypasswd 3
119119
$ nsh> wapi essid wlan0 myssid 1
120120
$ nsh> renew wlan0
121121

@@ -153,3 +153,6 @@ at runtime::
153153
nsh> wapi psk wlan0 mypasswd 3
154154
nsh> wapi essid wlan0 myssid 1
155155
nsh> renew wlan0
156+
157+
.. tip:: Please refer to :ref:`ESP32 Wi-Fi Station Mode <esp32_wi-fi_sta>`
158+
for more information.

Documentation/platforms/xtensa/esp32/boards/esp32-devkitc/index.rst

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ browser:
203203

204204
After successfully built and flashed, connect the board to the Wi-Fi network::
205205

206-
nsh> wapi psk wlan0 mypasswd 1
206+
nsh> wapi psk wlan0 mypasswd 3
207207
nsh> wapi essid wlan0 myssid 1
208208
nsh> renew wlan0
209209

@@ -524,7 +524,7 @@ From the host, start the broker and subscribe to the :code:`test` topic. Using
524524

525525
From the NSH, connect to an access point::
526526

527-
nsh> wapi psk wlan0 mypasswd 1
527+
nsh> wapi psk wlan0 mypasswd 3
528528
nsh> wapi essid wlan0 myssid 1
529529
nsh> renew wlan0
530530

@@ -757,6 +757,10 @@ to connect your smartphone or laptop to your board::
757757
In this case, you are creating the access point ``nuttxapp`` in your board and to
758758
connect to it on your smartphone you will be required to type the password ``mypasswd``
759759
using WPA2.
760+
761+
.. tip:: Please refer to :ref:`ESP32 Wi-Fi SoftAP Mode <esp32_wi-fi_softap>`
762+
for more information.
763+
760764
The ``dhcpd_start`` is necessary to let your board to associate an IP to your smartphone.
761765

762766
tickless
@@ -833,6 +837,9 @@ at runtime::
833837
nsh> wapi essid wlan0 myssid 1
834838
nsh> renew wlan0
835839

840+
.. tip:: Please refer to :ref:`ESP32 Wi-Fi Station Mode <esp32_wi-fi_sta>`
841+
for more information.
842+
836843
wifi_smp
837844
--------
838845

Documentation/platforms/xtensa/esp32/boards/esp32-ethernet-kit/index.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,4 +317,7 @@ at runtime::
317317

318318
nsh> wapi psk wlan0 mypasswd 3
319319
nsh> wapi essid wlan0 myssid 1
320-
nsh> renew wlan0
320+
nsh> renew wlan0
321+
322+
.. tip:: Please refer to :ref:`ESP32 Wi-Fi Station Mode <esp32_wi-fi_sta>`
323+
for more information.

Documentation/platforms/xtensa/esp32/boards/esp32-lyrat/index.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ browser:
426426

427427
After successfully built and flashed, connect the board to the Wi-Fi network::
428428

429-
$ nsh> wapi psk wlan0 mypasswd 1
429+
$ nsh> wapi psk wlan0 mypasswd 3
430430
$ nsh> wapi essid wlan0 myssid 1
431431
$ nsh> renew wlan0
432432

@@ -590,3 +590,6 @@ at runtime::
590590
nsh> wapi psk wlan0 mypasswd 3
591591
nsh> wapi essid wlan0 myssid 1
592592
nsh> renew wlan0
593+
594+
.. tip:: Please refer to :ref:`ESP32 Wi-Fi Station Mode <esp32_wi-fi_sta>`
595+
for more information.

Documentation/platforms/xtensa/esp32/boards/esp32-wrover-kit/index.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,4 +273,7 @@ at runtime::
273273

274274
nsh> wapi psk wlan0 mypasswd 3
275275
nsh> wapi essid wlan0 myssid 1
276-
nsh> renew wlan0
276+
nsh> renew wlan0
277+
278+
.. tip:: Please refer to :ref:`ESP32 Wi-Fi Station Mode <esp32_wi-fi_sta>`
279+
for more information.

Documentation/platforms/xtensa/esp32/index.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,15 @@ the result by running ``ifconfig`` afterwards.
290290

291291
.. tip:: Boards usually expose a ``wifi`` defconfig which enables Wi-Fi
292292

293+
.. tip:: Please check :doc:`wapi </applications/wapi/index>` documentation for more
294+
information about its commands and arguments.
295+
296+
.. note:: The ``wapi psk`` command on Station mode sets a security threshold. That
297+
is, it enables connecting only to an equally or more secure network than the set
298+
threshold. ``wapi psk wlan0 mypasswd 3`` sets a WPA2-PSK-secured network and
299+
enables the device to connect to networks that are equally or more secure than
300+
that (WPA3-SAE, for instance, would be eligible for connecting to).
301+
293302
.. _esp32_wi-fi_softap:
294303

295304
Wi-Fi SoftAP
@@ -309,6 +318,10 @@ to connect your smartphone or laptop to your board::
309318
In this case, you are creating the access point ``nuttxapp`` in your board and to
310319
connect to it on your smartphone you will be required to type the password ``mypasswd``
311320
using WPA2.
321+
322+
.. tip:: Please check :doc:`wapi </applications/wapi/index>` documentation for more
323+
information about its commands and arguments.
324+
312325
The ``dhcpd_start`` is necessary to let your board to associate an IP to your smartphone.
313326

314327
Bluetooth

Documentation/platforms/xtensa/esp32s3/boards/esp32s3-devkit/index.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,10 @@ to connect your smartphone or laptop to your board::
233233
In this case, you are creating the access point ``nuttxapp`` in your board and to
234234
connect to it on your smartphone you will be required to type the password ``mypasswd``
235235
using WPA2.
236+
237+
.. tip:: Please refer to :ref:`ESP32 Wi-Fi SoftAP Mode <esp32_wi-fi_softap>`
238+
for more information.
239+
236240
The ``dhcpd_start`` is necessary to let your board to associate an IP to your smartphone.
237241

238242
tickless
@@ -271,6 +275,9 @@ at runtime::
271275
nsh> wapi essid wlan0 myssid 1
272276
nsh> renew wlan0
273277

278+
.. tip:: Please refer to :ref:`ESP32 Wi-Fi Station Mode <esp32_wi-fi_sta>`
279+
for more information.
280+
274281
watchdog
275282
--------
276283

Documentation/platforms/xtensa/esp32s3/index.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ In this case a connection to AP with SSID ``myssid`` is done, using ``mypasswd``
140140
password. IP address is obtained via DHCP using ``renew`` command. You can check
141141
the result by running ``ifconfig`` afterwards.
142142

143+
.. tip:: Please refer to :ref:`ESP32 Wi-Fi Station Mode <esp32_wi-fi_sta>`
144+
for more information.
145+
143146
Wi-Fi SoftAP
144147
------------
145148

@@ -159,6 +162,10 @@ to connect your smartphone or laptop to your board::
159162
In this case, you are creating the access point ``nuttxapp`` in your board and to
160163
connect to it on your smartphone you will be required to type the password ``mypasswd``
161164
using WPA2.
165+
166+
.. tip:: Please refer to :ref:`ESP32 Wi-Fi SoftAP Mode <esp32_wi-fi_softap>`
167+
for more information.
168+
162169
The ``dhcpd_start`` is necessary to let your board to associate an IP to your smartphone.
163170

164171
Memory Map

0 commit comments

Comments
 (0)