Hi,
At my office, MAC address must be registered to router before connecting.
I’ve tried connecting a core that had never been connected to WIFI before with proposed method. It never worked, returned MAC was always 0.0.0.0.0. I’ve updated cc3000, deep_update… no success.
I got a second spark and connected it successfully at home. After I ran sketch returning MAC address at office : its MAC address was returned.
So it seems impossible to get mac address of a spark core that has never been connected to WIFI. I haven’t yet dug into code.
lah