211 questions with Azure IoT SDK tags

Sort by: Updated
1 answer

azure-iot-sdk: How to enable Application Insights/OpenTelemetry for IoT Device Client Java

Hi. I am trying to set up Distributed Tracing for an Java application sending events and telemetry to IoT Hub. Looking at the examples at https://learn.microsoft.com/en-us/java/api/overview/azure/core-tracing-opentelemetry-readme?view=azure-java-preview…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
211 questions
asked 2023-12-12T09:54:09.11+00:00
Bård Lind 0 Reputation points
edited an answer 2023-12-21T23:08:17.3333333+00:00
LeelaRajeshSayana-MSFT 13,951 Reputation points
1 answer

How to fixed errorCode 401000 when run Azure Iot SDK csharp on windows simulator

when I run command: dotnet run --i xxx --r xxx --p xxx get the follow log; Provisioning API Version: 1.10.1   Registering Device   Provisioning Status: PROV_DEVICE_REG_STATUS_CONNECTED Error: Time:Mon Nov 13 10:48:04 2023…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,146 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
211 questions
asked 2023-11-15T07:27:09.2166667+00:00
hao chen 0 Reputation points
commented 2023-11-29T00:22:35.3666667+00:00
LeelaRajeshSayana-MSFT 13,951 Reputation points
2 answers One of the answers was accepted by the question author.

Azure IOT Hub Python SDK application giving error in Stream Analytics "Could not deserialize the input event(s) from resource"

I am trying to send data to IOT Hub and store it in blob storage as well as Power BI streaming dataset using Azure Stream Analytics service. For sending data, I used Microsoft's Python SDK application (link given…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
211 questions
asked 2023-11-07T18:33:58.7566667+00:00
Waqar Mehdi 25 Reputation points
commented 2023-11-10T17:57:44.5966667+00:00
Waqar Mehdi 25 Reputation points
2 answers One of the answers was accepted by the question author.

How to resolve MQTT CONNACK error 5 - Connection Refused, not authorized

I am using the Azure IoT SDK on an IoT device and trying to connect to the IoT Hub. the embedtls connection setup is successful, the tsl/ssl handshake is successful, but the MQTT Connect packet returns a CONNACK with error 5 - Connection Refused, not…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
211 questions
asked 2023-09-28T16:47:24.4233333+00:00
Brad Johnson 25 Reputation points
accepted 2023-10-11T18:09:14.9666667+00:00
Brad Johnson 25 Reputation points
1 answer One of the answers was accepted by the question author.

iot hub java sdk 2.1.3 version uses which TLS version by default

I am using Azure iot sdk of version 2.1.3 of java. My iothub minimum version set to TLS 1.0. Can you please let me know which version of TLS version is used by default when i try to connect to iothub through code. What is the way/process to know what tls…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,146 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
211 questions
asked 2023-10-05T10:53:06.85+00:00
Madanala, Jayashree 151 Reputation points
accepted 2023-10-06T05:27:16.9166667+00:00
Madanala, Jayashree 151 Reputation points
1 answer

Intermittent PartialChain when connecting to IoT Hub

I'm using the C# SDK to connect to Azure IoTHub in testing. I'm using the C#SDK symmetric keys and DPS. I've modified DeviceReconnectionSample to work with SymmetricKeySample/ProvisioningDeviceClientSample. Sometimes it works, and sometimes I get this. …

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
211 questions
asked 2023-09-15T19:05:48.5433333+00:00
MikeFinch87 0 Reputation points
edited a comment 2023-09-27T00:11:38.99+00:00
LeelaRajeshSayana-MSFT 13,951 Reputation points
2 answers

Queries reg. MS Azure migration to Digicert

Hello, We are using TI CC3235SF gateway and connecting to Azure IoT Hub and using DPS for provisioning. We are Azure IoT SDK in C language. Recently, Azure IoT Hub migrated to Digicert and…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
211 questions
asked 2023-09-24T23:22:21.5033333+00:00
mrudula y 5 Reputation points
commented 2023-09-26T17:47:43.4466667+00:00
mrudula y 5 Reputation points
1 answer

Need information, if there are any production ready available SDK for iOS and Android

Currently we are see only https://github.com/Azure/azure-sdk-for-android would you please suggest if there are any production ready available SDK for iOS and Android

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
211 questions
asked 2023-09-18T03:13:42.82+00:00
Prasad 0 Reputation points
commented 2023-09-21T20:49:55.62+00:00
LeelaRajeshSayana-MSFT 13,951 Reputation points
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,146 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
211 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,601 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 29,906 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.
223 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,146 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
211 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 29,906 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.
211 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.
339 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
211 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,951 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.
211 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 29,906 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.
211 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,521 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,552 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,146 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
211 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 | MVP 30,471 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.
211 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,146 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
211 questions
asked 2023-07-20T06:46:07.0866667+00:00
95504669 526 Reputation points
commented 2023-08-08T10:23:00.3666667+00:00
AshokPeddakotla-MSFT 29,906 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,146 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
211 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.
211 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,951 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,146 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
211 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