Daniel kalu
Daniel kalu
DIIDevHeads IoT Integration Server
Created by Daniel kalu on 6/7/2024 in #iot-cloud
Can two applications connect to Azure IoT Hub simultaneously without causing issues?
Hey guys @IoT Cloud i have a temperature monitoring app on a Raspberry Pi that connects to Azure IoT Hub using the C SDK over MQTT for sending temperature data and interacting with the device twin. I also need the device to receive updates, and it looks like the Azure Device Update agent is the solution for that. Can two applications connect to Azure IoT Hub simultaneously without causing issues? If so, what steps are needed to prevent interference? If not, how should I handle updates and device twin interactions together? Currently, when both my app and the device update agent are running, they interfere with each other's connections, resulting in frequent KEEPALIVE message resends. How can I resolve this?
5 replies