Can Internet Button and iOS SDK communicate through firewalls?

I want to make a product in which Internet Button communicates with a remote iOS device that is running my app (based on Particle’s SDK). Internet Button and iOS device both communicate together through Particle’s cloud.

Can Internet Button communicate with Particle’s cloud, in both directions, through local router’s firewall?

Can iOS device communicate with Particle’s cloud, in both directions, through local router’s firewall?

Yes. That’s one of the advantages of using the Particle cloud; it provides an easy path through a firewall, NAT, and dynamic IP addresses for data traveling in both directions.

This works both for devices and the iOS, Android and Javascript/web SDKs, for variables, functions, and publish and subscribe in both directions.

Great!
I assume this requires no modification to the firewalls. (Particle probably uses HTTP’s port?)

How is the latency? Less than a second for iOS to know, from cloud, after Internet button is punched?

No port forwarding or inbound firewall changes are required.

Photons use CoAP, TCP port 5683 outbound. This is rarely a problem for home users; in corporate environments it sometimes may need to be allowed.

The phone and web APIs use https, TCP port 443, outbound, which should be fine.

Latency is probably less than 0.5 seconds over Wi-Fi. For all practical purposes it seems instantaneous to me.

1 Like