Trying to work around the CC3000 when it does not get an address with DHCP.
What I am doing is doing a disconnect after 30 seconds when it fails to get a DHCP address, then wait another 10 seconds and try to connect again.
However I am getting:
WLAN Connecting... Uncaught Error: Function "connect" not found! at line 1 col 274 ...e("CC3000").connect();WLAN.connect(WLAN_SSID,WLAN_WPA2_KEY,f...
Anybody else have a good work around for when it fails to get a DHCP address or any ideas why it is saying the connect function does not exist?
@user47955 started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Trying to work around the CC3000 when it does not get an address with DHCP.
What I am doing is doing a disconnect after 30 seconds when it fails to get a DHCP address, then wait another 10 seconds and try to connect again.
However I am getting:
Anybody else have a good work around for when it fails to get a DHCP address or any ideas why it is saying the connect function does not exist?