Current behavior:
I am implementing a small data gather application on the XDK where I need to collect data once every 10 mins. I send the data to Eclipse Hono / Bosch IoT Hub. When I send data periodically with period of less than 60 s, everything works as intended. If only send data once every 10s data us bit received by the backend. The backend has static KeepAlive time of 60s.
There might be two issues at play here:
Looking into the generated code, PINGREQ/PINGRESP do not seem to be implemented in the MQTT code generator
reconnect before transmitting the next message somehow doesn't seen to kick in
Expected behavior:
Data transmission works even with slow transmission frequencies.
Current behavior: I am implementing a small data gather application on the XDK where I need to collect data once every 10 mins. I send the data to Eclipse Hono / Bosch IoT Hub. When I send data periodically with period of less than 60 s, everything works as intended. If only send data once every 10s data us bit received by the backend. The backend has static KeepAlive time of 60s.
There might be two issues at play here:
Expected behavior: Data transmission works even with slow transmission frequencies.
Related code:
every 600 seconds { let payload = "Hello world"; println(
${payload}
); backend.telemetry.write(payload); }Other information: Unfortunately Mita is very sparse with error reporting, so not much to add