-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Requesting a sample program for iotedge downstream device (ESPRESSIF ESP32) #2500
Comments
Any progress on this @danewalton ? |
I am attempting to do the same thing with a Nordic-based device. I have also created a help ticket with Nordic here. Any guidance or feature additions would be greatly appreciated, as this will be critical to our deployment. |
@wsrimal and @ghost: you might try looking at the ESP8266 sample. This can be adjusted to work with IoT Edge by changing the call to mqtt_client.setServer so that the first input parameter points to your edge device and not the FQDN of IoT Hub. Next, I think you need to make an adjustment to the X509List variable (cert) so that it points to the root CA used to generate the certificate on your IoT Edge device. To do this, you'll need to have the PEM file for your root CA certificate, and I think you need to convert it to an array of unsigned char. It would look someting like: unsigned char my_pem[] = { |
I am struggling to connect my ESP32-based IoT devices to the Azure IoT edge agent running on the Ubuntu server. Please suggest me a sample program for Azure iotedge downstream devices.
Device: ESPRESSIF ESP32
Platform: Arduino
Need to connect: Azure IoT Edge Transparent Gateway
The text was updated successfully, but these errors were encountered: