THE CHANGE HAS BEEN MADE!
You can download the programmer script and instructions from the bluz-beta GitHub page: https://github.com/bluzDK/bluz-beta/tree/master/programmer_1-22-16
Your boards are fine until you do a ‘git pull’ on the repository. So until you do, you do NOT need to run the script. If you do a ‘git pull’ and don’t run the script, your beta board will no longer connect to the cloud.
Please let me know if there are nay concerns or issues. Sorry for the hassle, this was a one-time process that was always looming so it is nice to get it out of the way!
There has been a change I need to make as part of the provisioning process. When I started this whole thing I hard coded the keys that each board uses, made it much simpler to change things between servers and add new boards. Well, the time has come to make each board (rightfully) have its own keys.
This is a change we have already made in other products that we make based on bluz, and I have already tested it, so everything works. However, the firmware will change from reading a static byte array for its keys to actually retrieving it from the external SPI flash. Since none of the beta boards have a key in their external SPI flash, your board will stop connecting properly once you update to the latest code.
I will provide a Python script that you can run to update your board. In addition to generating and updating keys for you, it will also install the factory reset firmware in the external SPI flash so you can reset if things go bad.
I expect to roll out these changes either sometime tomorrow night or on Monday. So please note, once I do check in these changes, you will have to run the python script or your board will stop connecting to the cloud once you get the latest code. Once you run it one time, you won’t have to again.
The script requires adalink (to install firmware) and the particle cli (to generate new keys) and your board must also be claimed to your account. If anyone will have an issue with any of these requirements, let me know and we can figure something out.
I will post back here once the changes are done and the script is posted.