New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing option ssid_hidden for Wifi.startAP() #1358
Comments
Espruino/libs/network/jswrap_wifi.c Lines 272 to 278 in 0ad8761
|
Thanks what about ESP32 and hidden option? |
How do you create this nice looking source code links? |
I did a search to find Then clicked on line 272 and shift-clicked line 278. This updates the URL to have this line range.
Git hub does the rest of the magic |
Here is an example Espruino/libs/network/jswrap_wifi.c Line 291 in 0ad8761
Not sure you can use a condtition for part of the options list - you just say ESP8266 specfic |
Yes, there's no way to have one argument only for one platform. You'd just have to document it manually in the |
Oh I think your asking if esp32 supports hidden AP - yes! Set as part of the struct here:
|
Cool Wilberforce So adding option hidden has to take place in ESP8266,ESP32 and ESP8266WiFi.js - correct? Just checked AT Instructions and figured out how to handle this
|
The main JS one to add it to is The thing to watch out for is whether the ESP8266 firmware actually supports the AT command. Adding the extra arguments if it didn't would make the call fail :( |
So what to order to be able to test (got a pico and some ESP01)? Ok. - will use my Espruino Wifi board |
Extend list of possible option with "hidden" to start a AP visible or hidden.
AP is visible
AP is hidden
Gordon where do I find the API reference for Wifi.startAP(), because I like to add this to the reference too.
The text was updated successfully, but these errors were encountered: