narendra kumar
narendra kumar

Reputation: 309

Google Cloud IoT Few config updates mesages are missing when sending config updates frequently from cloud functions to device

I am using config update and cloud functions for communication between mobile application and esp32 device by following the example here, but when I am sending config update messages frequently some of them are not sending; say out of 5 only 3 config update messages are going, I have two questions:

1) How frequently we can send config update to avoid some missing updates.
2) Is there any alternative way to communicate between cloud functions and IoT device.

Upvotes: 0

Views: 57

Answers (1)

J.L Valtueña
J.L Valtueña

Reputation: 403

According to the docs: [IoT docs]

Configuration updates are limited to 1 update per second, per device. However, for best results, device configuration should be updated much less often — at most, once every 10 seconds.

The update rate is calculated as the time between the most recent server acknowledgment and the next update request.

If your operations are mostly configuration updates I cannot think another alternative that could perform better.

Upvotes: 1

Related Questions