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
1
vote
1 answer

Query Devices on Azure IoT Hub STARTS_WITH MAC Address

I'm trying to filter the devices on my IoT Hub, I need to get only devices that starts with specific Mac Address. This is the query I'm trying: SELECT * FROM devices where starts_with(deviceId, 'D8B0') But I'm getting Internal Server Error I…
Gabrielkdc
  • 105
  • 1
  • 11
1
vote
2 answers

Azure IOT Central - Cloud to Device messages using MQTT

My IOT Device is connected to IOT central and am able to receive data through export option. Now i want to send some command to My device, For example, Below json data it is expecting to send heartbeat of device on subscribed…
Raj
  • 735
  • 1
  • 7
  • 24
1
vote
0 answers

How to use third-party libraries in Azure IoT SDK for C?

I have set up the Azure IoT Hub SDK for C on macOS (10.15.3) and can successfully build and run the samples from within Xcode (11.3.1). If I try to include third-party libraries like libmodbus, I have to specify the full path like this: #include…
ci7i2en4
  • 834
  • 1
  • 13
  • 27
1
vote
1 answer

Is it possible to start the various iot-edge modules one by one sequentially? If so, how to do it?

Is it possible to start the various iot-edge modules one by one sequentially? If so, how to do it?
1
vote
0 answers

undefined reference to `IoTHubClient_LL_UploadToBlob_Destroy'

I was compiling the iothub_ll_telemetry_sample from the examples of the AzureIotHub library for arduino. i followed the instruction shown on Azure/azure-iot-arduino github page. After i entered -DDONT_USE_UPLOADTOBLOB -DUSE_BALTIMORE_CERT to the…
1
vote
4 answers

doesn't compile code with Include AzureIoThub.h on esp8266 device

I'm trying to connect my esp8266 device to azure IOT hub, and from my understanding the way to go is to use the official AzureIoThub library (as distributed on library manager) but somewhy any code with this included library doesn't compile. I get…
Uriyasama
  • 31
  • 2
1
vote
1 answer

Azure iot deviceId validation from Azure SDK

We use Azure SDK to create Resource groups, iot hubs and devices. For example: iotHubDescription = await iotHubClient.IotHubResource.CreateOrUpdateAsync(resourceGroupName, iotHubName, iotHubDescription); or var device = await…
Vadim
  • 82
  • 8
1
vote
1 answer

How to display log messages from azure iot device client code

I see log messages in azure iot device client source code like this: log.debug("Connection already opened by TransportClient."); or log.info("Device client opened successfully"); My question is where these log messages going? how to get that…
1
vote
1 answer

Raspberry pi sensor data monitoring in cloud

I'm building my first project which is related with cloud & raspberry Pi GPIO pins (or sensors for that matter) but I got a bit stuck and hope that someone could help me by pointing to the right direction. I have Raspberry Pi 4 with attached…
1
vote
1 answer

Azure IoT - What if both server and client are changing device twin properties?

I have an Azure IoT solution that uses the Remote Monitoring Accelerator. Both the server (remote monitoring web) and client (device) are changing the device twin properties. Sometimes those properties get into the "syncing" state and don't seem to…
Jon Th
  • 347
  • 2
  • 13
1
vote
0 answers

How to access IoT Hub Device Message.ContentEncoding in Azure Function IoTHubTrigger

My client application running on .NET Core uses Microsoft.Azure.Devices.Client 1.20.3 to send Messages to IoT Hub. The client sets the property "ContentEncoding" in the Message class. On the cloud side, i want to process the messages in an Azure…
Markus S.
  • 2,602
  • 13
  • 44
1
vote
2 answers

How to get Cloud to Device Pending Messages Count

I am using Azure IoT Hub. In Azure portal, it is easy to see how many cloud to device messages are pending in the queue. I want to read this value using C# SDK
1
vote
1 answer

How to configure Wifi on Hololens emulator instead of Ethernet?

I want to deploy an IoT app on Hololens Emulator. This Unity app is made using Unity and Azure IoT Hub SDK. The big picture is to create a telemetry application using Raspberry Pi, Unity and Azure Cloud. I want to receive sensors data on my Unity…
1
vote
1 answer

How to fix dll error installing Microsoft.Azure.EventHubs on Unity to receive "device to cloud" messages coming from Eventhub-endpoint of IoT Hub?

Let me first describe the all picture : I want to receive sensors data on my Unity app through Azure Cloud, and specially Azure IoT Hub the dedicated service for IoT system. Sensors + raspberry pi => Azure Cloud => Unity. In order to do this, I have…
1
vote
0 answers

How to Create and EdgeDevice with RegistryManager

I see in the source file service/iothub_service_client_python.py that the class IoTHubRegistryManager has methods to create and update devices and methods. They are largely used in samples and EtE tests. Is there a counterpart to managed EdgeDevices…
alevincio
  • 23
  • 4