Connecting Physical Device to IoT Central

Copper Contributor

Hi,

I am trying to connect Raspberry Pi 3 to IoT Central using C language, however I am not able to see the telemetry data coming from device to IoT Central.

I then tested the same C code with a newly created IoT Hub and connected the raspberry pi. The IoT Hub is receiving the telemetry information successfully. So it means that the C code is working fine on device. It's just that my device is not able to send messages to IoT Central. Please note that I am using the correct Connection String in the C code to connect with the IoT Central.

Has anyone encountered this and any direction to fix it.

Regards

2 Replies

@Ahmad-KAISPE Beyond the app itself you are developing, there are several things I recommend you look into. Networking issues like MQTT or AMQP ports being closed, System time not setup properly (which will prevent TLS connection establishment)...

Checkout the troubleshooting guide here: https://github.com/Azure/azure-iot-sdk-node/wiki/Troubleshooting-Guide-Devices

 

Hi Olivier,

Thank you so much for the response. I will take a look at it and get back to you.

Regards