How to Integrate HX711 with ESP32 and Azure SDK C for Weight Capture?
I'm working on a project where I need to capture the weight from an HX711 load cell connected to an ESP32 board and integrate the data with Azure IoT Hub using the Azure SDK for C. I have already configured the iot_configs.h file correctly with the…
Disconnected from MQTT, error: Optional(Error Domain=MGCDAsyncSocketErrorDomain Code=8 "Error in SSLSetCertificate" UserInfo={NSLocalizedDescription=Error in SSLSetCertificate})
I am trying to connect with MQTT with DigiCert G2 .crt certificate from https://video2.skills-academy.com/en-us/azure/security/fundamentals/azure-ca-details?tabs=root-and-subordinate-cas-list#root-certificate-authorities, I am getting this error. Disconnected…
How to access IoTHubClient_Auth_Get_SasToken
We currently call IoTHubDeviceClient_LL_AzureStorageInitializeBlobUpload and pass the SAS token to an external process. We are going to upload larger files and do not want to do it in the C/ADU code, thus the external process. if…
Integration of MS Teams Call feature in a 3rd party website & mobile app
Need information for integration of MS Teams Call feature in a 3rd party website & app. We are currently using JITSI as a Service (JaaS) and wish to replace using the Microsoft Graph and integrating it on our platform. We need the pricing plan for…
Using the Azure IoT Hub SDK for C in an iOS Swift app
Hello, I have been tasked with creating a library for a client's iOS app which is built in Swift. It just needs to achieve two things, connecting to the IoT Hub with a connection string and receiving cloud to device (C2D) messages. Having read through…
Programmatically regenerate primary key of an existing IoT device
I have a requirement to rotate the access key of my IoT devices periodically. Let say each device should rotate their key every year, started from the registration date. In my use case, I don't wish to rotate the access key of all devices in same batch.…
Keep-alive timeout for IoTHub connection without device SDK
I am connecting to IoT Hub using an embedded solution, that does not support the device SDK. The solution is using a GSM modem, where the interaction with IoT Hub is implemented by AT commands. Authentification is x509 certificates (no SAS token). My…
azure-iot-sdk-c on freertos
I cross compile azure-iot-sdk-c to freertos mt7933, and run iothub_client/samples/iothub_ll_telemetry_sample/iothub_ll_telemetry_sample using mqtt over websocket. But it got ENOTCONN on recv after websocket handshaking success. (using mqtt is ok) When…
SAS Token not working for FileUpload IoTHub
I'm trying to replicate this https://github.com/Azure/azure-iot-sdk-csharp/blob/main/iothub/device/samples/getting%20started/FileUploadSample/FileUploadSample.cs example to upload a file. This part works: `// Note: GetFileUploadSasUriAsync and…
How to see Azure IoT SDK C logs using TI CC3235SF MCU on a serial monitor?
Hello! I am using the TI CC3235SF MCU (custom board) and the Azure IoT SDK C (C language) to connect my gateway to Azure IoTHub. I have set the "logtrace" option to true to get the logs using LL SetOption function. I print out my debug logs…
How to see azure iot sdk C log trace prints on a serial monitor using TI CC3235SF?
I am using the TI CC3235SF MCU (custom board) and Azure IoT SDK C (C language) to provision my gateway to Azure DPS and connect it to Azure IoTHub. I learnt that I can set "logtrace" ON which will output the log prints to stdout. I print my…
IoT Hub Device Provisioning Service - Device Registration Status Lookup API C# Code Sample Required
Hello, Can anyone point me to a C# code sample in how to use the "Runtime Registration - Device Registration Status Lookup" API by implementing the code through C#? The MS docs does not give any helpful information in how to use the…
What Does ProvisioningTransportHandler Do
When using the Device provisioning service with Azure a client is created with var provClient = ProvisioningDeviceClient.Create(_global_provisioning_endpoint, dpsScope, security, transportHandler); There are 3 choices for transport handler, why would I…
Azure IOT Hub SDK - How to create standard and layered deployments for IOT Edge Devices using IOT Hub SDK?
Hi , I am trying to build a cloud web application which can do below tasks-: Create Azure IOT Edge Devices on IOT Hub using IOT Hub SDK. Create Standard and Layered Deployment for the target devices using IOT Hub SDK. I was able to…
Notify uploaded file using System-assigned authentication type
How can I notify the upload file using system-assigned authentication type? I have an IoT hub using system-assigned authentication type and connected to a storage account with a private endpoint. I uploaded the file using python, and the upload was…
Set the expiry of cloud to device message in Azure IoT hub
I am well aware of setting the message expiration time from the portal by configuring the Default TTL under Cloud to device Messaging of Iot Hub. From the documentation(https://video2.skills-academy.com/en-us/azure/iot-hub/iot-hub-devguide-messages-c2d), we…
Azure IoT central device cannot connect to MQTT after several days of working
I was testing 1 IoT central devices over the weekend, from 3/31 19:00 KST, and another for more than 10 days, but I found that they are both disconnected since 4/1 05:34AM KST and 4/1 05:05AM KST. One of them shows error as follows. 2023/4/4 11:13:47…
How to degrade my Avnet Azure Starter kit OS version
Hi. We are working with Avnet Azure sphere starter kit. We have already updated the device OS version to 22.11. We found a link which says we can degrade the version of the device. "After a device updates to the 22.09 release, it will no longer…
How to catch az.sdk.message as the response from SDK
Hi, I am using Azure SDK to create import upate. The SDK methods returns the instance of SyncOverAsyncPoller. In case of exception scenarion AzureException is being thrown. For example, when I am creating a ImportUpdate for already existing…
Azure IOT Devices.Client SDK V 1.41.3 creating client and opening connection timeout troubleshooting.
I`m using Microsoft.Azure.Devices.Client v 1.41.3 SDK to create iot client and connect to Azure IoT hub. Mostly it works fine, but in some specific environments, there are difficulties to create client and/or open connections.…