I’ve notice that occasionally (not always) when my electron devices lose connection for a time they don’t seem to re-subscribe. I know this was a bug fix for 0.4.x. I’m using FW 0.5.3 at the moment, and I’m seeing this behavior now and then in production.
I know there are only 4 slots for subs. We only subscribe once on first connect to the cloud, but I’d like to defend against this kind of failure. We’re running with system-thread enabled in SEMI_AUTOMATIC, and have logic to reconnect to the cloud after a sleep or disconnect, but it does not currently re-subscribe if we’ve previously setup subscriptions.
Is there a safe-way of re-subscribing? If I Particle.disconnect() and Particle.unsubscribe() while disconnected from the cloud, can I safely Particle.subscribe()? Devices publish messages fine, but never get any from the cloud which is a big problem.