[ESP109]
Section titled “[ESP109]”Syntax: [ESP109](State) json=(no) pwd=(admin password)
Description: display/set sta rejoin from setup fallback which can be ON, OFF
When it is ON and the station connection failed over to the setup access point ([ESP104] WIFI-SETUP), ESP3D-X looks for the station network every 2 minutes and reconnects when it is visible again. If that attempt fails, it goes back to the setup access point.
- The scan only runs while no client is connected to the setup access point, because scanning changes the WiFi channel and would disturb that client.
Waiting for STA network(when the setup fallback starts with the settingON) andSTA network found, reconnectingare sent to all clients, including serial.- A wrong password is not detected by the scan: the network is visible, so the device leaves the setup access point every 2 minutes for a new attempt.
- Default:
OFF. Same setting asnetwork/sta“sta fallback retry” in [ESP400], andsta_fallback_retryin the[network]section ofesp3dcnf.ini.
State- empty: displays the current state
ONorOFF: sets the state
json=no: output format, JSON or plain textpwd=(admin password): the admin password if authentication is enabled
Access
Section titled “Access”| Guest | User | Admin |
|---|---|---|
| No | Get | Get/Set |
Output
Section titled “Output”{ "cmd":"109", "status":"ok", "data":"OFF"}cmd: id of requested command, should be109status: status of command, should beokdata: content of response, here the state