docs icon indicating copy to clipboard operation
docs copied to clipboard

Particle.connect/disconnect docs suggestion

Open towynlin opened this issue 9 years ago • 1 comments

https://community.particle.io/t/unlocked-device-in-company-approved-device-wont-upgrade-to-released-firmware-unless-it-is-reset/24508/4?u=zachary

"In most cases, you do not need to call Particle.connect(); it is called automatically when the device turns on. Typically you only need to call Particle.connect() after disconnecting with Particle.disconnect() or when you change the system mode."

My understanding now is that you must call Particle.disconnect() and Particle.connect() if you expect firmware updates to occur automatically from a corporate dashboard. In addition, it does sound like you need a minimum time of being disconnected in order for a connect to work properly. If I'm understanding this correctly, you may need to document that as well.

towynlin avatar Jul 27 '16 20:07 towynlin

From the discussion today the OTA happens on handshake. Do we have a known way to trigger a new handshake or another way to force the firmware to check for new product firmware? Particle.connect doesn't look like the right call for this.

monkbroc avatar Feb 17 '17 19:02 monkbroc