Questions tagged [azure-iot-sdk]

SDKs for a variety of languages and platforms that help connect devices to Microsoft Azure IoT services. SDKs cover C, Node.js, Java, .NET and Python.

SDKs for a variety of languages and platforms that help connect devices to Microsoft Azure IoT services. SDKs cover C, Node.js, Java, .NET and Python. Can learn more at https://github.com/Azure/azure-iot-sdks

371 questions
0
votes
1 answer

Do my Pico W needs a CA certificate if I am using a SAS Token?

I have been trying to connect with Azure IoT Central using the raspberry pico w. My proyect is a Metrology IoT Device which sense a bunch of enviromental parameters and sends the infromation using MQTT currently to a broker. I have set up the LWIP…
0
votes
1 answer

Device provisioned with DPS always shown as "X509 self-signed" instead of "Certificate Authority"

I try to set an Azure DPS with the authentication type "x509 CA certificate". Everything works except the IoT hub shows devices provisioned with DPS as "X509 self-signed" instead of "Certificate Authority". pic With devices directly created on IoT…
0
votes
2 answers

Can two applications on the same device be connected to Azure IoT Hub at the same time?

I have an application on a device that connects to Azure IoT Hub using the C SDK. This application will send messages to the cloud and interact via the device twin. I also need to have the device receive updates. It seems like the Azure Device…
0
votes
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…
Duck Dodgers
  • 223
  • 3
  • 14
0
votes
1 answer

Azure IoT Edge route message between modules: custom message properties are no propagated

I'm using IoT Edge to connect Modbus devices to IoT Hub and I'm trying to implement protocol + identity translation modules. I started with the example here I have two modules: ModbusClient, for the protocol translation, in C# IdentityTranslation,…
0
votes
1 answer

How to send a C2D Direct method from the Node.js SDK to a remote device?

I am trying to connect my local Node.js API to Azure IOT Hub and send direct methods to a remote device. When sending the direct method directly through the Azure portal, it works like a charm. However, when attempting to do the same through the…
0
votes
1 answer

Getting Error response: 404 The specified blob does not exist while using EventProcessorClient

I just updated our EventHub event reading from EventHubConsumerClient.ReadEventsAsync to EventProcessorClient as per the remarks under the ReadEventsAsync method. The EventProcessorClient makes use of checkpointing which requires an Azure storage…
0
votes
0 answers

RegistryManager from a Module / Silent fail

I'm not sure if this is a good idea or a crazy one. I want to have an SD template in which my application uses a unique ID to query all the Devices in IOT Hub, and via the RegistryManager queries the IOT HUb Registry to find its own…
0
votes
1 answer

Does Azure IoT Edge module receive a twin patch when it starts up?

Is it normal for an IoT Edge Module to receive a twin patch everytime it starts up? Imagine this scenario: IoT edge is configured in an On-prem VM A property is added into example_module's twin desired properties example_module receives a patch and…
Aidin.T
  • 731
  • 3
  • 10
  • 25
0
votes
1 answer

Exception in reading list of Azure IoT devices in C# azure function

I'm fetching list of Azure IoT devices using IoT hub sql query in C# function. var query = _registry.CreateQuery("SELECT deviceId,tags.SiteId FROM devices", 100); I'm getting below error in function while debugging System.Private.CoreLib:…
0
votes
1 answer

How to generate command output in IoT Central Azure SDK C

I am using IoT Central and am able to successfully send command to the device as well as receive confirmation code. This is executed using the following line: azure_iot_send_command_response(azure_iot, command.request_id, response_code,…
0
votes
1 answer

Storing command value in variable with Azure IoT Central SDK C

I have a MQTT device that connects to Central and submits telemetry. I have created some commands on Central that trigger successfully on the device. However, when I send string value via command, I am having troubles finding the right command to…
0
votes
1 answer

Has FeedbackReceiver been deprecated in Azure IoT Hub?

I am working on an Azure IoT Hub project using the Microsoft.Azure.Devices.Client NuGet package. I have read some documentation about the FeedbackReceiver class for receiving feedback messages, but I am not sure if this class has been deprecated or…
emrekara
  • 85
  • 1
  • 9
0
votes
1 answer

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…
Bruce
  • 2,357
  • 5
  • 29
  • 50
0
votes
1 answer

How to get the route messaging details in IOT hub in python?

I want to know the Python sdk that could be used to get the route messagine details in IOT hub. Basically whatever is shown in the tabular column under Message Routing Tab, is what I need. But I am unable to find the package to get this details.