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

Azure IoT File Upload

I have successfully used this feature to upload files to a storage container in Azure blob storage. I wanted to ask if this form of file upload has the same integrity checks using MD5 hash as there is with normal blob storage uploading. This link…
1
vote
2 answers

azure-iot-sdk-c - using the Azure IoT device SDK C in pure statically allocated memory environments

is it possible to use the Azure IoT device SDK C in an environment, in which only static allocation of RAM is allowed (no malloc/free)? Best Fabian
Fabian
  • 23
  • 1
  • 6
1
vote
1 answer

azure-iot-sdk-c deserialize JSON payload

I'm getting started with the Azure IoT SDK C-Library by using the IoT_Hub Device Method samples. Does anybody know if the SDK provides a function to deserialize the JSON message payload? There are some good examples for payload serialization to…
1
vote
0 answers

AMQP Message Null when using Azure IoTHub Routing

I have a custom Endpoint + Route setup based on TwinChangeEvent in Azure IoT Hub. I'm routing the events to a Service Bus Queue (tried topic also). I'm using Java Service Bus SDK (azure-servicebus-1.1.0.jar) to pull messages off of the queue. …
1
vote
2 answers

How do i listen for "new blob in storage" event?

I'm trying to use Azure IoT Hub Device SDK for Node to listen to new blob in storage account events (or whatever that's called officialy). I'm following this sample. I have receive notifications turned on: However, the client SDK gets nothing when…
evilSnobu
  • 24,582
  • 8
  • 41
  • 71
1
vote
1 answer

Limits of Azure IoT hub device twin reported properties

We have a really large device twin (more than 2800 lines). After some point we consistently get a 500 status code when trying to send reported properties. From here Cloud-to-device communications guidance , I see that desired properties can have 8KB…
StrawHat
  • 175
  • 1
  • 12
1
vote
0 answers

Azure IoT Hub device twins with AMQP usable already?

I cloned the newest version of the Azure C-SDK. One of the recent commit messages says that device twins over AMQP were added. I tried to switch the devicetwin_simplesample.c of the serializer samples to AMQP: git diff…
StrawHat
  • 175
  • 1
  • 12
1
vote
2 answers

How to implement paging in Azure Iot device twin queries

The azure documentation at https://learn.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-query-language says that “Azure IoT SDKs support paging of large results” but I could not find any sample or reference on how to do it. Does anyone have an…
Yoseph
  • 2,356
  • 1
  • 13
  • 18
1
vote
0 answers

Receiving alerts/commands from Azure IoT Hub to device using NodeJS

Can any one suggest me how to receive Message/payload on RPI as device sent to Azure IoT Hub. I am using SimulatedDevice.js and sending data with interval of every 5 seconds to Azure IoT Hub that data is going to store in Azure table storage from…
1
vote
2 answers

Android app is not connecting Azure-iot Hub

I have cloned android application from https://github.com/Azure/azure-iot-sdk-java/tree/master/device/iot-device-samples/android-sample and created a IOT Hub as directed…
Jignesh Ansodariya
  • 12,583
  • 24
  • 81
  • 113
1
vote
1 answer

Azure IoT Hub SAS Token doesn't expire

SDK: C# Version: Microsoft.Azure.Devices.Client 1.2.3 Bug reproduction code: Let the following run for 15 minutes or so* and you'll see that sending still succeeds although the token should have expired. var hostName = ... var deviceId = ... var…
Johannes Egger
  • 3,874
  • 27
  • 36
1
vote
1 answer

IoT Hub C# Devices SDK crashes with "Could not load file or assembly 'Validation, Version=2.2.0.0"

I am trying to run some integration test on visual studio that test sending data to IoT Hub. When trying to send data using the DeviceClient.SendEventAsync() method, the application crashes with the following exception: {"Could not load file or…
Luis Delgado
  • 3,644
  • 4
  • 34
  • 54
1
vote
1 answer

Azure IoT Hub protocol overhead and batching with AMQP

Background/Motiviation After much reading of the Microsoft Azure IoT Hub documentation and playing with the samples, I am still in the dark over whether the technology is suitable for devices that connect over intermittent/unreliable and expensive…
Ian Goldby
  • 5,609
  • 1
  • 45
  • 81
1
vote
1 answer

Stream Analytics jobs receive no input

I downloaded and deployed the Remote Monitoring Azure IoT Suite project. The only change I made to the deployment template was to deploy a free version of IoT Hub instead of S2. I am using the Azure IoT SDK to send messages to the IoT Hub.…
0
votes
3 answers

Linux no module named azure.iot.hub

I'm having an issue trying to execute a very simple python script that works perfectly in Windows but not on my Le Potato (Debian): import uuid from azure.iot.hub import IoTHubRegistryManager import MqttClient as mqttClient CONNECTION_STRING =…
Jaime
  • 1
  • 3