I am using Argons and Xenons. I am starting to look at httpsclient-particle. It seems like it should have the functionality I need. I will also mention that Pub/Sub has had some issues where the Xenons or the Argon go offline. Resetting the Argon corrects this, as long as it knows that it needs to. Sometimes when in this state some communication continues, but I have seen from the Web side that the function of the affected device is missing, so an attempt by the Argon to call this function would fail, letting it know that there’s a problem.
I have implemented a ping protocol between them, and this helps some, though as I’ve said when it gets in this state things are somewhat confusing. My use case for this system are puzzles in an Escape Room, so they are not IoT devices per se but independent processors communicating with each other. Pub/Sub works in general, but I’m looking for a way to communicate that is more direct and can detect the error state.
It would seem that the OS must already have most of what’s required to perform this communication, so it would be perfect if it were supported natively. I sort of expected that it was when I started out.
I certainly appreciate the commentary, and when (if) I get this working I will most definitely post the code for basic communications – unless someone has pulled this off – either for a Particle device or in talking to some other device.