How to force a handshake for OTA updates

@dcliff9 you’ll be happy to hear that I got it working. Your advice was all correct – but a few things were tripping me up. I’ll write them down in case someone else runs into the same snags:

  1. In the switch you provided in the handler, I was using integers as cases, not the provided particle system enums. Because I was using all_events these ints were interfering with other system values that had the same int value.
  2. I was triggering the Particle.process in the loop, but only once, not in a while block.

That’s it. The rest was just time and making sure that the code your provided was where you said it should be!

Thanks again :slight_smile:

1 Like

That’s awesome! I’m very glad to hear this. :slight_smile:
Good luck with the rest of your project!

1 Like