Azure SDK for listing VMs and VMSS
Hi Team, I am looking for Azure SDK to list all VMs under the VMSS. I can see that we have APIs to list the resources but I need to implement this using SDK. Please let me know if there is any SDK that I can leverage to. Thanks.
How to send messages from Iot Edge Module to Storage Account through route?
I have an IoT Edge Module filtermodule which sends telemetry using send_message (docs) with IoTHubModuleClient every minute. When I run this module, the IoT Hub message counter in the portal is incrementing. Also, I used this route in the IoT Edge Hub…
Retrieving Data from an Existing Mosquitto MQTT Broker
What are the steps to retrieve data from an existing Mosquitto MQTT broker? I have no control on the broker, I only have the required information to subscribe to it. I have found the documentation on Azure to be increasingly convoluted, making it…
Concurrent Device Connections and Telemetry on Azure IoT Hub
Details: SDK Versions: azure-iot-device : 2.14.0 azure-iot-hub : 2.6.1 asyncio : 3.4.3 Python Version : 3.10.12 Azure IoTHub Details: Tier: S1 Description of Issue: I have developed a Python script using the Azure IoT SDK to…
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://zcusa.951200.xyz/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://zcusa.951200.xyz/en-us/azure/iot-hub/iot-hub-devguide-messages-c2d), we…