You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/08/26 18:49:04 UTC
[GitHub] [incubator-nuttx] acassis commented on a change in pull request #4419: doc/esp32: Add instructions to use softap
acassis commented on a change in pull request #4419:
URL: https://github.com/apache/incubator-nuttx/pull/4419#discussion_r696894003
##########
File path: Documentation/platforms/xtensa/esp32/index.rst
##########
@@ -291,17 +291,35 @@ WiFi
A standard network interface will be configured and can be initialized such as::
- ifup wlan0
- wapi psk wlan0 mypasswd 3
- wapi essid wlan0 myssid 1
- renew wlan0
+ nsh> ifup wlan0
+ nsh> wapi psk wlan0 mypasswd 3
+ nsh> wapi essid wlan0 myssid 1
+ nsh> renew wlan0
In this case a connection to AP with SSID ``myssid`` is done, using ``mypasswd`` as
password. IP address is obtained via DHCP using ``renew`` command. You can check
the result by running ``ifconfig`` afterwards.
.. tip:: Boards usually expose a ``wapi`` defconfig which enables WiFi
+WiFi SoftAP
+===========
+
+It is possible to use ESP32 as an Access Point (SoftAP). Actually there are some
+boards with a ``sta_softap`` which enables this support.
+
+If you are using this board config profile you can run these commands to be able
+to connet your smartphone or laptop to your board::
+
+ nsh> ifup wlan1
+ nsh> dhcpd_start wlan1
+ nsh> wapi psk wlan0 mypasswd 1
+ nsh> wapi essid wlan1 nuttxap 1
+
+In this case, you are creating the access point ``nuttxapp`` in your board and to
+connect to it on your smartphone you will required to type the password ``mypasswd``.
Review comment:
Fixed! Thank you @Ouss4
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org