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 2022/10/10 09:44:42 UTC
[GitHub] [incubator-nuttx] SrivamsiMalladi commented on issue #7193: Missing SoftAP documentation or feature for ESP32
SrivamsiMalladi commented on issue #7193:
URL: https://github.com/apache/incubator-nuttx/issues/7193#issuecomment-1273053373
Hello @tmedicci (@acassis @xiaoxiang781216),
I pulled from the [apache/incubator-nuttx](https://github.com/apache/incubator-nuttx) git repo this morning (so your changes should be there too) and tried to start the SoftAP and it is still not working.
```
nsh> ifconfig
wlan0 Link encap:Ethernet HWaddr 24:62:ab:d1:ef:30 at DOWN
inet addr:0.0.0.0 DRaddr:0.0.0.0 Mask:0.0.0.0
wlan1 Link encap:Ethernet HWaddr 26:62:ab:d1:ef:30 at DOWN
inet addr:0.0.0.0 DRaddr:0.0.0.0 Mask:0.0.0.0
nsh> dhcpd_start wlan1
nsh> ifconfig
wlan0 Link encap:Ethernet HWaddr 24:62:ab:d1:ef:30 at DOWN
inet addr:0.0.0.0 DRaddr:0.0.0.0 Mask:0.0.0.0
wlan1 Link encap:Ethernet HWaddr 26:62:ab:d1:ef:30 at UP
inet addr:10.0.0.1 DRaddr:10.0.0.1 Mask:255.255.255.0
nsh> wapi psk wlan1 mypasswd 3
esp_wifi_softap_auth: Failed to set Wi-Fi config data ret=12299
ERROR: Process command (psk) failed.
nsh>
```
From the [ESP-IDF error codes documentation](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/error-codes.html), the error code 12299 (0x300B) means that the password is invalid. I tried to set passwords too (like abcdefgh or 12345678 etc.) and everything returns the same error. Despite everything, the AP has already started and I cannot connect to it.
Should I raise this as another issue as this one got closed because of the PR?
--
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