Questions tagged [azure-iot-hub-device-management]

For more details see https://learn.microsoft.com/en-us/azure/iot-hub/iot-hub-device-management-overview

120 questions
0
votes
1 answer

DeviceTwinClient when invokes getTags() method returns java.lang.IllegalArgumentException

When invokes an iotHub query to get DevicetwinDevice of multiple devices: SqlQuery sqlQuery = SqlQuery.createSqlQuery("*", SqlQuery.FromType.DEVICES, generateWhere(listDeviceIds), null); Query twinQueryCollection =…
0
votes
1 answer

Complete Device Bound Notification REST does not work for me

I am calling REST call with PHP-curl to complete the device notification message referred from the official doc. below is my code
0
votes
1 answer

Why should I restore the keys in Azure Device Provisioning?

I'm using the service Device Provisioning for my Azure IoT solution. I've created a group of registration with Symmetric key attestation. From the guide: By default, the Device Provisioning Service creates new symmetric keys with a default length of…
0
votes
1 answer

Azure IoT Hub: "Signing certificate info did not match chain elements"

I was following this tutorial (https://learn.microsoft.com/en-us/azure/iot-dps/tutorial-group-enrollments) where the goal is to create a group enrollment in Azure Provisioning Service and connect a simulated device to it. After creating the group…
0
votes
1 answer

Is there a way to set parent device while creating an Azure IoT Hub device using node-red?

I am using node red (node-red-contrib-azure-iot-hub) to register the new devices on Azure IoT Hub. The 'Azure IoT Hub Registry' node allows to register new IoT device. I want to set a Parent Device for the new device that I am creating. However, I…
0
votes
0 answers

Azure Device Provisioning - Setting Device Twin property

I want to use the device provisioning in Azure for my devices. I'm using the Azure IoT SDK (Java). I would like to create a new device that have some specific properties inside the JSON of the device twin. I want to see my new device in Azure portal…
0
votes
1 answer

Azure IoT Device Provisioning Interface Specification

Is there an interface specification of the device provisioning API (which is implemented by the Azure IoT C SDK provisioning_client) available and if yes where can I find it? I would be interested in the URI, required payload and the json response…
0
votes
2 answers

Azure IoTHub- SAS token does not expire

Package version: Microsoft.Azure.Devices.Client 1.17.0 I have created a device client in the following way deviceClient = DeviceClient.Create(s_iotHubUri, new DeviceAuthenticationWithToken(deviceId, sasToken),…
0
votes
1 answer

"Device connection string is not correct." Error - Azure IoT-Hub

Attempting the "Connect Raspberry Pi to Azure IoT Hub (Python)" tutorial, which worked just fine this morning, but now am getting error message: pi@raspberrypi:~/iot-hub-python-raspberrypi-client-app $ python app.py…
0
votes
1 answer

Azure IoT Hub Java SDK, connecting X.509 Devices multiplexed over single AMQP Connection

I have auto provisioned a bunch of IoT devices via Azure IoT DPS. The devices are registered at my IoT hub. All devices have an X.509 certificate authentication. What I now want to do is to send messages to the devices. All certificates are…
0
votes
2 answers

Update devicetwin for multiple devices

What is best practice to update the device twin desired properties for multiple (1000+) devices? Is a batchjob the correct way to go?
-1
votes
1 answer

how to connect the mass products to azure?

I have some question regarding the Azure IoT hub: To communicate with Azure hub it is compulsory for the device to have azure SDK? the certificate X.509 which we are generating is the same for all the devices? eg . If I had produce 100 devices then…
-1
votes
1 answer

Starting an exe as a service on Windows IoT Core

I'm testing the iot-core-azure-dm-client. I've developed a sample UWP application and incorporated the dm client library code to it. I've deployed the uwp app to the pi (Running on Windows IoT Core), added the SystemConfigurator.exe to the system32…
-2
votes
1 answer

Read device to cloud messages without CLI, device explorer

I am trying to read D2C messages in android application. I have successfully implemented it using signalR services. But now i want to remove signalR services and read messages like device explorer or cli. Is there a way to use sockets or any APIs to…
-3
votes
3 answers

Fetch twin from Azure device sdk

I need to just get the twin of a device using the Azure device sdk for node.js. I did used the Client clode as below:- import { Client } from 'azure-iot-device'; import { Mqtt } from 'azure-iot-device-mqtt'; await client.setOptions(options); await…
1 2 3 4 5 6 7
8