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

How to connect downstream device using azure python sdk to azure edge enabled gateway

I am trying to create a 3 layered architecture which contains an azure IoT Hub, Edge Enable GateWay, and a downstream device. I have successfully created the IoT Hub and Edge-Enabled Gateway and Is able to send data to azure IoT Hub using custom…
0
votes
1 answer

Azure IoT Edge module direct method responses shows as [object Object]

When invoking a direct method on a specific module I just receive the result [object Object] in the azure portal and I don't know what I'm doing wrong. Note that when I did exactly the same using the azure IoT SDK for c# (without running the azure…
NoExit
  • 3
  • 1
  • 4
0
votes
1 answer

Azure Cloud to Device direct message using Cloud Service-Worker Role

We are working one project which required high volume of message/command exchanged between device to device. We are using Cloud Service Worker role for processing commands and send to relevant devices using Cloud to Device Direct Method. The worker…
RANJITH M
  • 1
  • 2
0
votes
2 answers

Azure Device Provisioning: Group enrollment

I have setup a group enrollment in the the Azure Device provisioning service with a root certificate that has been validated. Using openssI I created root and leaf certificates. If I run a cmake on the custom_hsm using the 'c' azure iot sdk's and…
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
1 answer

How can I receive Azure Device telemetry in Python?

How do I receive device messages in Event Hub using Python? I am seeing summary messages from Event Hub, but detailed device messages are missing. Using the Azure IOT Remote Monitoring Example (https://github.com/Azure/azure-iot-remote-monitoring,…
0
votes
0 answers

IoT Edge Mqtt over websockets

I've got a small edge module, written in python using the azure-iot-sdk-python, that sends events back to the IoT hub using Mqtt. This works nicely. The events are no longer delivered when I switch to using Mqtt over websockets…
0
votes
1 answer

How to access various timestamps in Azure Iot Edge Pipeline?

I have 2 simple pipelines in Azure Iot Edge. Now, I am interested in accessing the timestamps added to an iot message at each step/node in the pipeline. For example the 'enqueuingTime' at IoTHub and ASA and 'processedTime' from IoTHub and ASA etc.…
0
votes
1 answer

Auto-provisioning device under an enrolment group does not work (java SDK)

I've performed this example https://learn.microsoft.com/en-us/azure/iot-dps/quick-enroll-device-x509-java It does not appear under "registration records" under the enrolment group but it throws this error: PROVISIONING_DEVICE_STATUS_FAILED,…
muelli
  • 11
  • 4
0
votes
1 answer

Sending cloud to device message Azure IoT

I currently have an esp8266 sending messages to Azure using the example code found here. The code bellow is my attempt to call the direct method on the arduino using the java libraries. I created an object that has the same attributes as the model…
Jim
  • 373
  • 5
  • 18
0
votes
2 answers

Azure IoT Hub Metrics Data

where would I get azure IoT hub metrics data? I would like to get the metrics data on which alerts are set.I am able to find d2c messages but could not find metrics data.
0
votes
2 answers

Azure Iot Hub custom protocol gateway for tcp connections

I am pretty new to azure iot hub,our devices are not mqtt compliant and they send telemetry using simple tcp. I have seen other questions regarding tcp for gateway and we can customize the implementation. The sample implementation is in C#. My…
Naved Mir
  • 97
  • 2
  • 9
0
votes
1 answer

Azure IoT Device: Type error in client.js

I try to get an ARM device connected to Azure IoT Hub. I chose Node.js and got some sample code to get the device connected. I added the required NPM packages such as azure_iot_device, azure_iot_common, azure_iot_http_base. Within the code, there is…
0
votes
1 answer

azure-iot-sdk-c API IoTHubClient_LL_DoWork()fails with lots of errors

Refering the site https://learn.microsoft.com/en-us/azure/iot-hub/iot-hub-device-sdk-c-iothubclient I am writing a sample azzure iot code in C++ to run on linux and windows. When I run my sample code on Ubutnu then whenever IoTHubClient_LL_DoWork()…
RKum
  • 758
  • 2
  • 12
  • 33
0
votes
2 answers

azure-iot-sdk-c submodule/library versions

I want to know how to choose the versions of the dependencies used by azure-iot-sdk-c. for example, I plan to use: azure-iot-sdk-c from github.com/Azure/azure-iot-sdk-c.git,…