21 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,274 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 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
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.
228 questions
asked 2024-10-09T15:37:50.4233333+00:00
Andre Ricardo 0 Reputation points
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.
228 questions
asked 2024-09-11T18:50:11.5833333+00:00
Tom Botley 25 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.
228 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 17,771 Reputation points Moderator
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.
228 questions
asked 2024-08-01T20:40:40.08+00:00
Y MRUDULA 41 Reputation points
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 Internet of Things
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,274 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 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
0 answers

Module Authentication with x509 Certificate

Hi, When using the Microsoft.Azure.Devices.Client library it is really easy to set up device connections with x509 certificates through the use of the DeviceAuthenticationWithX509Certificate class. However the library does not provide any logic to…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 questions
asked 2024-03-28T13:42:10.4033333+00:00
Ferry Koolen 0 Reputation points
commented 2024-03-28T21:11:34.66+00:00
LeelaRajeshSayana-MSFT 17,771 Reputation points Moderator
0 answers

Auto URL encode couldn't be used at cloud to device

Data was sent via Azure IoT Hub's Cloud to Device channel, and the gateway is using the lts_01_2023 branch of the Azure IoT SDK C. It printed 'Unprintable value in encoded string'. See below for detailed information. However, the data I actually sent was…

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,274 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 questions
asked 2024-01-19T10:29:45.9566667+00:00
minew 5 Reputation points
commented 2024-01-24T01:24:23.8433333+00:00
minew 5 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.
238 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,274 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 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 35,976 Reputation points Moderator
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.
397 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 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 17,771 Reputation points Moderator
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.
228 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 35,976 Reputation points Moderator
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.
228 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,669 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
0 answers

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
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,274 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 questions
asked 2023-05-30T04:45:23.85+00:00
95504669 546 Reputation points
commented 2023-05-30T16:01:37.98+00:00
LeelaRajeshSayana-MSFT 17,771 Reputation points Moderator
0 answers

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
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,274 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 questions
asked 2023-05-03T19:43:12.6866667+00:00
BPS Sistemas de Automação 26 Reputation points
edited a comment 2023-05-09T19:25:38.7766667+00:00
LeelaRajeshSayana-MSFT 17,771 Reputation points Moderator
0 answers

Azure IoT SDK - C (Running on TI CC3235SF gateway)

When I call Prov_Device_LL_Register_Device() function is returning error code 10 = PROV_DEVICE_RESULT_ERROR. Unable to understand what it means and what should be checked. CLIENT_SAMPLE_INFO user_ctx; memset(&user_ctx, 0,…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 questions
asked 2022-09-19T17:44:36.853+00:00
Y MRUDULA 41 Reputation points
commented 2022-09-21T16:51:24.36+00:00
Y MRUDULA 41 Reputation points
0 answers

com.microsoft.azure.sdk.iot.device.transport.TransportException: Could not send request to HSM

Runtime: Java SDK version : com.microsoft.azure.sdk.iot:iot-device-client:2.0.3 When upgrading the version, we encountered the below exception: Caused by: java.io.IOException: com.microsoft.azure.sdk.iot.device.transport.TransportException:…

Azure Internet of Things
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.
599 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 questions
asked 2022-06-28T02:46:28.69+00:00
Daniel Baylon 6 Reputation points
commented 2022-07-04T15:55:41.857+00:00
AshokPeddakotla-MSFT 35,976 Reputation points Moderator
0 answers

Unable to set proxy in Azure Edge Runtime

Hi, I am following this tutorial to add proxy to my edge device and trying to connect to Azure IoT Hub. But the values are not reflected when I run systemctl show --property=Environment aziot-edged systemctl show --property=Environment…

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.
599 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,274 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 questions
asked 2022-04-20T11:43:43.233+00:00
Pandey, Yogesh 21 Reputation points
commented 2022-05-04T06:29:23.72+00:00
Pandey, Yogesh 21 Reputation points
0 answers

IoT Device Assertion Error freezing IoT device

Hi, I am running around 20 devices on IoT hub using the IoT device python SDK. Around once a day I get this Assertion Error that will cause the device to stop sending messages to the Hub. Is anyone able to help with this?

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,274 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 questions
asked 2021-12-31T02:12:24.657+00:00
Jonas Griem 1 Reputation point
commented 2021-12-31T12:23:47.607+00:00
Matthijs van der Veer 4,376 Reputation points
0 answers

Blob upload to azure blob storage is failed as unable to locate the blob.

Facing issue while uploading a blob to azue blob storage, detailed steps described below Using azure-iot-sdk-c on top of it consuming CURL api's in application to upload a blob. CURL-easy-perform is returning a success code after uploading the…

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,203 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 questions
asked 2021-10-20T07:52:01.287+00:00
Subhendu Rout 11 Reputation points
commented 2021-10-28T16:03:07.88+00:00
António Sérgio Azevedo 7,671 Reputation points Microsoft Employee Moderator
0 answers

Azure SDK Disconnect abruptly in low bandwidth

Azure SDK Disconnet abruptly in low bandwidth We are using SDK version LTS_01_2021_Ref01 in our pipeline to push data to Azure IoT Hub with sampling rate as 1sec, and also upgraded the SDK version to LTS_07_2021_Ref01but issue persists. Data is…

Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
228 questions
asked 2021-10-05T06:33:03.213+00:00
JT subramanya 1 Reputation point
commented 2021-10-13T06:26:36.46+00:00
AshokPeddakotla-MSFT 35,976 Reputation points Moderator