How to connect my React Native Expo application to IoT Hub and interact? Which package or SDK should I use?
I am attempting to create an app on React Native using Expo Router to figure out how to connect to my IoT Hub. The following is my code in app/index.js. However, I get the following error when I run npx expo start Web Bundling failed 3317ms The package…
Non-Edge translation gateway examples using Azure IoT C SDK?
I'm trying to find code examples to build a translation gateway (NOT an Edge system) using C, preferably the C SDK with task control using FreeRTOS, although I could probably wrap everything RTOS myself if I had the rest of the example code working. …
Dynamically Provision iot Device With Azure dps - Unexpected Failure. Python sdk
I am dynamically provision an iot device using the python azure-iot-device python package. I am using v2 and not 3.0.0b2. I can't even get that to compile. Here's my python code trying to provision a device: import asyncio import os from…
to make a connection with ms dynamics 365?
I find the token is null.
azure: connection dropped error when trying to get twin properties
I use the device provisioning service to provision a "fake" iot device (using example code). I can then use the python SDK to send messages. But every time I run the line: twin = await device_client.get_twin() I immediately get this…
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.
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?
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://video2.skills-academy.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…