Receiving messages is it interrupt or polling based? #149
Replies: 2 comments
-
|
Hi @aardrasystems sorry for the late reply here but I'll still give one. The |
Beta Was this translation helpful? Give feedback.
-
|
Hi @danewalton Thanks, that's fine. This is what I am doing at the moment. Please advise if this is the correct way to approach it. This code is in sample_azure_iot_pnp.c file. sensor_data(), create my data string. This function is called by ulCreateTelemetry. this file is in sample_azure_iot_pnp_simulated_data.c Am i correct with my data other TelemetryData is also being sent? Like the demo temperature data? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
In the ESP32 example a message is sent to IoT Hub every 1 second and then the following code
Am i correct un understanding that this is polling or is this MQTT subsctiption interupt?
Do we need to keep polling this funciton?
What we intend to do is send a message once a minute but wait for any incoming message.
Beta Was this translation helpful? Give feedback.
All reactions