Content
Can we compile Azure IoT C SDK for ArmV4I platform?
Hi everyone, I'm currently trying to compile the Azure IoT C SDK in ArmV4I. My system can't be modified or upgraded and the different solutions on internet to compile only Arm (ArmV7) doesn't match with my machine. I've already tried to compile the Az…


Azure Device provision service not connecting with latest 2023 SDK sample
Hi Team, We are currently trying to upgrade the device Azure IOT SDK C from 2020 version to latest 2023 LTS version. But We are getting connectivity errors with DPS. We are using provision multiple X509 device with enrollment groups. So first we tried…


3rd party library works on Azure uart sample but doesnt work on Azure Iot sample
I have been testing with using a 3rd party library in Azure UART sample which was working in Azure starter kit device. But when I tried the same library with the Azure Iot sample, I faced several issues. I can't disclose more about this here. Is there…


Azure IoT Hub & Devices consumption
Hello guys, I'm wondering is this behavior expected regarding the used resources. Currently, I'm using Free Tier Azure IoT Hub, Consumption Function App, and Event Grid System Topic. So basically I'm sending the data to the IoT Hub devices &…


How can we do the initial device set up at the factory for multiple Avnet Azure sphere device.
Hi. How can we perform the initial device set up for multiple Avnet Azure sphere device. What is the easiest way to do it? Thank you.


Packet pool is depleted when too much messages are sent via the azure RTOS C Iot sdk
When rapid firing telemetry messages with nx_azure_iot_hub_client_telemetry_message_create and nx_azure_iot_publish_mqtt_packet, I noticed that when the memory allocation fails, the packet pool that the IoT client is using is depleted and no packets are…


Iot hub message quota increasing out of nowhere
Good afternoon, My IOT HUB message quota is increasing during the day for no reason. Device-to-cloud telemetry is only sent twice a day, one message in the morning and one message in the afternoon. I would like to know if the MQTT keep alive messages are…


Azure IoT Hub client crashes (WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED) on Kernel 5.18
We are using a slightly modified version of the "iothub_client_c2d_streaming_proxy_sample" binary from the C-SDK. But now, on (Arch) Linux Kernel 5.18, it crashes with "WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED" and "stack…


How to integrate Azure IoT Middleware for FreeRTOS with azure iot sdk on to custom board
Hi support, I am using TI based azure IoT SDK on CC3220SF-LAUNCHXL. It seems that TI uses the Azure IoT SDK for C. I want to implement Device Update feature into the existing SDK. I came to know that azure-iot-middleware-freertos will be helpful. Can…


When using Azure IoT SDKs for Java, do we need to handle device disconnections manually?
I am currently using Azure IoT SDKs for Java in our Android app. It works fine and I'm able to connect, send messages and use the direct method callback without issue. I found that if I turn off internet, the SDK DeviceClient automatically enters…


How to use InvokeDeviceMethod csharp
I want to know how to use the InvokeDeviceMethod from the azure-sdk for C# on GitHub, in which I make requests to a simulator programmed with C++, and it returns a JSON response. I'm using Windows Forms and I want to display it on a graphical interface.


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…
DPS enrollment to IoTHub with Self-Signed vs. CA certificates
I am using DPS group enrollment to register new devices to an IoTHub. I am testing this process using self-signed certificates, however in the production environment - I am planning to use a true Certificate Authority. I register new devices with…


Create an Unit Test for Azure IoT Hub Function with xUnit and Moq
Hi, I'm new to Azure IoT Hubs and Azure Functions and also new to Unit Testing. Is there any way to do an unit test for azure function using xUnit where I could mock my ServiceClient and RegistryManager objects?


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 send telemetry from esp32 device to azure via a transparent gateway?
I have setup a transparent edge gateway using a ubuntu machine referring to https://learn.microsoft.com/en-us/azure/iot-edge/how-to-create-transparent-gateway?view=iotedge-1.4&tabs=iotedge Now how do I send telemetry from a esp32 device via this…


Azure RTOS and ESP32: Using the Micro-Agent for Microsoft Defender for IoT
Hi, I'm currently using an ESP32 device with the Azure IoT SDK (ESP-IDF framework) to send sensor data to an Azure IoT hub. I'm interested in adding Microsoft Defender for IoT to my application to enhance security and threat detection capabilities. I…


How to use Azure sphere device as a wifi access point
Hi. We want to add/change wifi credentials of our device through phone after the initial setup at the factory. Is there any way to use the Azure sphere device as wifi access point. Thank you


Deployment template for multiple init containers azure iot edge
I have 2 init containers and 1 main container and want to deploy into azure iot edge. Requirement is these 2 init containers should run in order first before main container starts. I was able to do this in kubernetes pod and also docker compose(using…


How do I associate a certificate with an IoT Edge SDK connection on iOS & Android
I am trying to connect to an IoT Edge device from iOS and Android apps. It looks like the SDK relies on using the local device certificate store to enable the handshake/authentication for connecting to MQTT. I have this working on Windows using a local…

