222 questions with Azure IoT SDK tags

Sort by: Updated
0 answers

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://learn.microsoft.com/en-us/azure/security/fundamentals/azure-ca-details?tabs=root-and-subordinate-cas-list#root-certificate-authorities, I am getting this error. Disconnected…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,190 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
222 questions
asked 2024-10-10T06:30:29.5366667+00:00
Shahanshah Alam 0 Reputation points
edited the question 2024-10-10T08:29:55.64+00:00
Shahanshah Alam 0 Reputation points
1 answer One of the answers was accepted by the question author.

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…

Azure IoT Central
Azure IoT Central
An Azure hosted internet of things (IoT) application platform.
363 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
222 questions
asked 2024-10-05T17:22:58.6033333+00:00
Vinu George 40 Reputation points
accepted 2024-10-09T16:47:10.6133333+00:00
Vinu George 40 Reputation points
0 answers

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…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
222 questions
asked 2024-10-09T15:37:50.4233333+00:00
Andre Ricardo 0 Reputation points
1 answer

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…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,134 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,035 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
222 questions
asked 2024-09-25T17:36:08.6766667+00:00
Raza Abbas 0 Reputation points
answered 2024-09-26T01:40:23.1633333+00:00
Robin Sheng-MSFT 3,125 Reputation points Microsoft Vendor
0 answers

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…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
222 questions
asked 2024-09-11T18:50:11.5833333+00:00
Tom Botley 25 Reputation points
1 answer One of the answers was accepted by the question author.

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

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,190 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
222 questions
asked 2024-09-05T08:55:45.65+00:00
John Wong Yek Hon 20 Reputation points
commented 2024-09-09T02:36:52.65+00:00
John Wong Yek Hon 20 Reputation points
1 answer One of the answers was accepted by the question author.

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
Azure IoT
A category of Azure services for internet of things devices.
399 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,190 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
222 questions
asked 2024-08-28T07:12:22.97+00:00
Anders Nordberg Lauritsen 26 Reputation points
accepted 2024-08-28T10:44:26.1433333+00:00
Anders Nordberg Lauritsen 26 Reputation points
0 answers

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…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
222 questions
asked 2024-08-23T03:40:12.23+00:00
shaman lim 0 Reputation points
edited the question 2024-08-23T13:38:17.8533333+00:00
LeelaRajeshSayana-MSFT 15,396 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

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…

Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
399 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,857 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,190 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
222 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,931 questions
asked 2024-06-12T17:16:40.47+00:00
mikefinch87 115 Reputation points
commented 2024-08-09T14:10:50.5833333+00:00
Sander van de Velde | MVP 32,726 Reputation points MVP
1 answer One of the answers was accepted by the question author.

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…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
222 questions
asked 2024-08-01T20:46:24.65+00:00
Y MRUDULA 41 Reputation points
accepted 2024-08-08T19:09:54.06+00:00
Y MRUDULA 41 Reputation points
0 answers

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…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
222 questions
asked 2024-08-01T20:40:40.08+00:00
Y MRUDULA 41 Reputation points
2 answers

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…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,190 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
222 questions
asked 2022-08-17T17:38:15.04+00:00
OJB1 31 Reputation points
commented 2024-07-30T16:46:31.2+00:00
Stanimir 0 Reputation points
1 answer

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
Azure IoT
A category of Azure services for internet of things devices.
399 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
222 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,931 questions
asked 2024-07-18T21:08:52.19+00:00
mikefinch87 115 Reputation points
answered 2024-07-18T21:08:52.2266667+00:00
Q&A Assist
1 answer One of the answers was accepted by the question author.

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…

Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
573 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,190 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
222 questions
asked 2021-06-14T08:34:17.627+00:00
Shashank Kaushik 21 Reputation points
edited a comment 2024-07-10T06:55:13.0133333+00:00
Sander van de Velde | MVP 32,726 Reputation points MVP
0 answers

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…

Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
399 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,190 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
222 questions
asked 2024-06-13T16:44:12.25+00:00
Antonio Toga 95 Reputation points
edited the question 2024-06-13T16:45:51.4833333+00:00
Antonio Toga 95 Reputation points
1 answer

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://learn.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-messages-c2d), we…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,190 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
222 questions
asked 2024-05-30T20:00:29.23+00:00
Amit Rathod 10 Reputation points
commented 2024-06-03T15:38:17.3033333+00:00
Amit Rathod 10 Reputation points
1 answer One of the answers was accepted by the question author.

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…

Azure IoT Central
Azure IoT Central
An Azure hosted internet of things (IoT) application platform.
363 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,190 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
222 questions
asked 2023-04-04T02:30:59.6566667+00:00
Casey Park 40 Reputation points
accepted 2024-05-31T04:18:13.95+00:00
Casey Park 40 Reputation points
2 answers One of the answers was accepted by the question author.

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…

Azure Sphere
Azure Sphere
An Azure internet of things security solution including hardware, operating system, and cloud components.
167 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
222 questions
asked 2023-01-24T10:11:56.97+00:00
95504669 546 Reputation points
accepted 2024-05-27T02:39:39.09+00:00
95504669 546 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.
222 questions
asked 2023-06-07T14:53:24.53+00:00
Patnam, Bhavani 0 Reputation points
commented 2024-05-20T10:25:17.0833333+00:00
Bachale, Nayana (Cognizant) 0 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.
222 questions
asked 2023-06-21T15:03:41.94+00:00
KS 0 Reputation points
commented 2024-05-05T11:28:24.4966667+00:00
Bracha 0 Reputation points