Eventually, I want to create my own cloud to talk to but I’m not sure how I would make it work as the Particle Cloud does. I’m new to APIs and clouds so bare with me.
What’s happening when I use Spark.variable() or Spark.function? How
can I mimic that functionality with the TCP functions? Or is that
the right approach at all?
I’m going to walk through how I think initial device setup should go but correct me if I’m wrong:
- WiFi.listen(); probably by using SmartConfig
- Then at this point I would attempt to “call home” to my custom cloud?
- If I get a response, I’m basically “breathing cyan” or however I want to indicate that I’m connected. How would I continue to detect I was connected. How does the device<->particle cloud hand this?
I hope that’s enough information for what I’m attempting.