I used the local cloud feature for a while without any problems and I’m now trying to use the particle cloud again (api.particle.io). So I reset to factory settings and re-applied the CC3000 and tinker firmeware (from particle-cli).
The core won’t connect to my local wifi anymore – it continues blinking green even after giving it valid credentials.
I’ve already reset the network settings (rapid blue flash), reset to factory and tried every combination of firmware (cc3000, deep update, tinker, voodoo).
Perhaps I have to upload the particle cloud’s public key? But I don’t know if that will interfere with connecting to a router.
EDIT: Maybe worth mentioning, the spark server is no more, and the IP previously programmed in the core is no longer available.
particle-cli and run
particle flash --usb cc3000
Whoops, sorry I did use particle-cli to do all that I listed.
I’ve done some experiments tweaking the firmware (https://github.com/spark/firmware) and it looks like the
HCI_EVNT_WLAN_UNSOL_DHCP never happens.
Instead, it is always
HCI_EVNT_WLAN_UNSOL_DISCONNECT in the callback function
Here’s the state dump at the start of all my WLAN loops:
Any idea on why this happens, or rather why
HCI_EVNT_WLAN_UNSOL_DHCP doesn’t happen?
I would check your router logs and see if you are getting a DHCP address for the Core. I would bet that you are not.
Can you try a different router or a phone hot-spot?
Thanks for the quick response!
Just tried it with another router with unsecured wireless and my hotspot, still the same results
I tried to connect with
WLAN_MANUAL_CONNECT set to 1, but