207 questions with Azure IoT SDK tags

Sort by: Updated
1 answer

Unable to connect to Azure IoT hub From Linux machine.

I am connecting to Azure iot hub using Azure-iot-sdk-c. I am using the API  IoTHubDeviceClient_CreateFromConnectionString(connectionString, protocol). My application is working fine from my laptop on which Ubuntu is installed. When I run this…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,115 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
207 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,526 questions
asked 2023-09-02T17:35:02.0366667+00:00
Sayajirao Waydande 0 Reputation points
commented 2023-09-19T15:39:43.73+00:00
AshokPeddakotla-MSFT 27,311 Reputation points
0 answers

Delay of Microsoft.Devices.DeviceConnected (4 to 6 minutes)

Hi I am working on a system where I use an IotHub (S1 tier) that communicates with one IoT device using the setup showed in the table. Furthermore, I use an EventHub that subscribes on Microsoft.Devices.DeviceConnected and …

Azure Digital Twins
Azure Digital Twins
An Azure platform that is used to create digital representations of real-world things, places, business processes, and people.
219 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,115 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
207 questions
asked 2023-09-05T09:22:19.9166667+00:00
Erik Gylling 50 Reputation points
commented 2023-09-06T16:55:31.62+00:00
AshokPeddakotla-MSFT 27,311 Reputation points
1 answer One of the answers was accepted by the question author.

Unable to get azure sdk logs to console for "Microsoft.Azure.Devices" package

I have created a sample .NET 6 console application and added the below line of code as mentioned in the below Microsoft learn website to enable azure sdk client library logs. https://learn.microsoft.com/en-us/dotnet/azure/sdk/logging using…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
207 questions
asked 2023-08-25T04:11:11.22+00:00
Pramod, Pramod 20 Reputation points
accepted 2023-09-05T04:10:27.05+00:00
Pramod, Pramod 20 Reputation points
0 answers

Setup edge hub input for azure stream analytics using the azure cli or python SDK

I am trying to create an azure stream analytics job using azure cli or python SDK with both input and output as edge hub. I tried using None and GatewayMessageBus as the input types but both of them did not work. It gives an error message: (BadRequest)…

Azure Stream Analytics
Azure Stream Analytics
An Azure real-time analytics service designed for mission-critical workloads.
330 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
207 questions
asked 2023-08-20T21:48:11.47+00:00
Rajiv 10 Reputation points
commented 2023-09-01T22:39:03.4+00:00
LeelaRajeshSayana-MSFT 13,456 Reputation points
0 answers

stuck on IoTHubClient_LL_DoWork

The azure-iot-sdk-c version used is 1.3.7 At begin , the program worked well , but suddenly it can not receive the response from the mqtt broker after publishing a message to the cloud, and meanwhile the program hanged in IoTHubClient_LL_DoWork. hope…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
207 questions
asked 2023-08-18T01:48:17.5466667+00:00
Yuan, Gene 5 Reputation points
commented 2023-08-28T01:39:29.9+00:00
AshokPeddakotla-MSFT 27,311 Reputation points
0 answers

Unknown error in sending http request with Azure Cognitive Services

On my testing machine (Github codespace) everything works, but when I publish my changes and update my main project (Server located in Brazil), I get the following: Error reason: ImageAnalysisErrorReason.CONNECTION_FAILURE Error code: -1 Error message:…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
207 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,367 questions
asked 2023-07-07T01:42:10.1433333+00:00
fabsese 5 Reputation points
edited a comment 2023-08-14T16:23:41.6933333+00:00
fabsese 5 Reputation points
1 answer

Python function to upload files to storage failing with 403 TooManyDevicesError

I have a python app running on an embedded linux device. The app runs async code that connects an iothub device client. I have a class called device_client_wrapper that uses a semaphore to ensure that only one function calls device client methods at a…

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,427 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,115 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
207 questions
asked 2023-02-02T20:54:20.8733333+00:00
Lachlan Pedersen 0 Reputation points
commented 2023-08-11T11:39:53.2766667+00:00
Sander van de Velde 28,311 Reputation points MVP
1 answer One of the answers was accepted by the question author.

latest release branch missing

For the latest release there exists only a tag but no branch. On the ontherhand the branch is mentioned in docu? Furthermore the *_Ref0x prefix is missing this time.

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
207 questions
asked 2023-08-10T10:45:56.56+00:00
Jan Zachmann 20 Reputation points
accepted 2023-08-10T12:12:19.64+00:00
Jan Zachmann 20 Reputation points
1 answer

Get Azure IoT Hub metric using the connection string

Hi, How do we get the Azure IoT Hub metric info using the connection string? Is there any sample available for it.? All we could find was methods of using .Net. But we want to using connection string to keep it simple as possible. Please let us…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,115 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
207 questions
asked 2023-07-20T06:46:07.0866667+00:00
95504669 521 Reputation points
commented 2023-08-08T10:23:00.3666667+00:00
AshokPeddakotla-MSFT 27,311 Reputation points
1 answer One of the answers was accepted by the question author.

Error on partition ""

I am trying to run this sample code using my connection string, and I am encountering the following error: Error on partition "" : MessagingError: The messaging entity 'sb://....servicebus.windows.net/

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,115 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
207 questions
asked 2023-07-24T20:49:32.1466667+00:00
Alex Fang 230 Reputation points
accepted 2023-08-04T14:44:52.49+00:00
Alex Fang 230 Reputation points
2 answers One of the answers was accepted by the question author.

Web application tutorial has a new bug

I have been following this tutorial for visualizing real-time sensor data from my IoT Hub in a web application. It was working fine around 1-2 weeks ago for me and the behavior was as described in the tutorial. However, when I run it now, it still runs,…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
207 questions
asked 2023-07-26T15:10:21.75+00:00
Alex Fang 230 Reputation points
edited the question 2023-07-31T21:16:47.3833333+00:00
LeelaRajeshSayana-MSFT 13,456 Reputation points
2 answers One of the answers was accepted by the question author.

Using Azure IoT Hub in Expo React Native

I am currently working on developing a backend/service-side Expo RN application to connect to my IoT Hub to access device data for visualization, control/configure my device from my application using direct methods and device twins, send messages from…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,115 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
207 questions
asked 2023-07-14T17:28:32.65+00:00
Alex Fang 230 Reputation points
accepted 2023-07-21T17:01:54.2133333+00:00
Alex Fang 230 Reputation points
1 answer One of the answers was accepted by the question author.

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…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,115 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
207 questions
asked 2023-07-12T15:45:47.4766667+00:00
Alex Fang 230 Reputation points
accepted 2023-07-20T15:23:02.14+00:00
Alex Fang 230 Reputation points
1 answer

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. …

Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
378 questions
Azure IoT Central
Azure IoT Central
An Azure hosted internet of things (IoT) application platform.
342 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
207 questions
asked 2023-06-30T19:03:09.6966667+00:00
vv 0 Reputation points
answered 2023-07-20T14:00:46.8166667+00:00
vv 0 Reputation points
1 answer

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…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,115 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
207 questions
asked 2023-07-14T12:20:21.14+00:00
bruthaStopThat 25 Reputation points
commented 2023-07-17T10:57:54.38+00:00
bruthaStopThat 25 Reputation points
1 answer

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.…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
207 questions
asked 2023-06-21T15:03:41.94+00:00
KS 0 Reputation points
commented 2023-07-07T14:22:03.7666667+00:00
LeelaRajeshSayana-MSFT 13,456 Reputation points
1 answer One of the answers was accepted by the question author.

to make a connection with ms dynamics 365?

I find the token is null.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,249 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
207 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,113 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,233 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,451 questions
asked 2023-07-03T07:36:22.2733333+00:00
Usha 20 Reputation points
commented 2023-07-04T01:02:52.0533333+00:00
Ayomide Oluwaga 946 Reputation points
1 answer

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 SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
207 questions
asked 2023-06-07T14:53:24.53+00:00
Patnam, Bhavani 0 Reputation points
commented 2023-06-28T19:42:21.1466667+00:00
LeelaRajeshSayana-MSFT 13,456 Reputation points
1 answer One of the answers was accepted by the question author.

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…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,115 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
207 questions
asked 2023-06-21T11:30:46.31+00:00
Hamza Outa 61 Reputation points
accepted 2023-06-28T12:45:40.5466667+00:00
Hamza Outa 61 Reputation points
1 answer

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 IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
207 questions
asked 2023-05-25T13:28:58.39+00:00
Lecomte Edwin 0 Reputation points
commented 2023-05-31T16:14:42.5866667+00:00
LeelaRajeshSayana-MSFT 13,456 Reputation points