DCC-EX / CommandStation-EX

EX-CommandStation firmware from DCC-EX. Includes support for WiFi and a standalone WiThrottle server. A complete re-write of the original DCC++.
https://dcc-ex.github.io/
GNU General Public License v3.0
154 stars 104 forks source link

[To Do]: Add enable DHCP to WiFi setup code #275

Open peteGSX opened 1 year ago

peteGSX commented 1 year ago

Task description

As reported in Discord, if for some reason the DHCP server capability of the ESP01 is disabled, it will not automatically enable again when in AP mode, and the AT command must be manually executed: AT+CWDHCP_DEF=0,1

Resolution posted by @Asbelos is to add this command to the WiFi setup code to ensure it is always enabled in AP mode.