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
2 answers

TypeError: _this._transport.sendEvent is not a function

I have successfully provisioned Device, I am using X509 certs for provisioning and its working fine. Now I want to send device messages to IoT hub, so I have created a separate class DeviceHelper, but I am getting this error. Can somebody please…
us075
  • 107
  • 3
  • 10
0
votes
2 answers

Azure Iot Hub SDK for C: which client module to use?

we're making an IoT product with Azure IoT Hub as a backend solution. The main application is written on C and we're going to use the Azure SDK for C. We've studied the SDK and decided that we're going to use a low-level client. But here's the thing…
bring_dat
  • 31
  • 6
0
votes
1 answer

iothub_client/src/iothubtransport_mqtt_common.c Func:InitializeConnection. mqtt_client timed out waiting for CONNACK

OS:Linux SDK Version : 2018-12-13 Description of the issue: iothub_ll_telemetry_sample.c when i placed 60000 in the function ThreadAPI_Sleep(60000) works well but Tried with 120000 facing the timeout error. cd…
Chinna
  • 23
  • 10
0
votes
1 answer

Message properties seem to get lost after routing through Azure IoT edgeHub

I'm not sure if this is a bug or I am missing something. I also created an issue on GitHub some days before but with no resonance so far. Here is my scenario: I'm running a Raspberry Pi as a transparent IoT Edge Gateway with two custom modules in…
Zotac386
  • 25
  • 2
  • 10
0
votes
1 answer

Azure IoT Hub Java get traffic statistics for a device

I have an Azure Iot Hub setup with a few devices and a Java service connected. I would like to be able to retrieve the traffic statistics (i.e. number of device to cloud messages in a particular time window). The Azure portal is able to display the…
0
votes
1 answer

Getting ERR_SPDY_INADEQUATE_TRANSPORT_SECURITY in Chrome using azure-iothub SDK

I have a simple javascript class which creates/deletes devices inside an Azure IoT Hub, using the azure-iothub Node.js module. class AzureManager { constructor(options) { const { connectionString } = options; this.registry =…
Chris
  • 1,140
  • 15
  • 30
0
votes
1 answer

Azure IOT Module - Unable to subscribe to message

I'm trying to get more comfortable working with Azure IOT and decided that I wanted to start sending my own telemetry data instead of the "tempSensor" demo that they have provided. I created this "basic_device" module. import time import json import…
Dammi
  • 1,268
  • 2
  • 13
  • 23
0
votes
1 answer

Leverage IoT SDK in module, propagate to device

I have a scenario where we have devices that can communicate via MQTT, but it is not possible to use the C SDK on them. I'd like to use the SDK in a edge module instead, and the edge module is responsible for intercepting device twin changes, and…
jokarl
  • 1,913
  • 2
  • 24
  • 52
0
votes
1 answer

Can not link libuuid when using CMake toolchain file to cross-compile Azure IoTHub SDK

I don't know how to write CMake toolchain-file properly to build Azure IoTHub SDK v1.2.10 successfully. This is my command: azure-iot-sdk-c/build_all/linux# ./build.sh --no-amqp --no-http --no_uploadtoblob --no-logging --toolchain-file…
CCT
  • 1
  • 3
0
votes
1 answer

Try to run the azure-iot-sdk-java provisioning-x509-sample with an own x509-certificate

I'm trying to run the azure-iot-sdk-java provisioning-X509-sample. What I do jet is, I have create a certificate-chain with openssl and generate a X509-certificat. I uploaded this certificate to the azure DPS. I check the fingerprint of the uploaded…
JensV
  • 77
  • 2
  • 12
0
votes
1 answer

Errors and seg fault when using device provisioning service

I am trying to use the device provisioning service from my device to connect to the hub, using the c SDK. I am using individual enrollment and X.509. I created an individual enrollment on the hub using a certificate I generated using the…
Dani van der Meer
  • 6,169
  • 3
  • 26
  • 45
0
votes
1 answer

Cannot connect with a particular device to Azure IoT Hub

If I use a connection string taken from a particular device in our device list, I cannot connect. With other clients, I have no problems. If I take that device's connection string and change a character in the key, the connection, obviously,…
Marconline
  • 1,108
  • 12
  • 30
0
votes
1 answer

Azure IoTHub DeviceMessage, route filter on message body not working

I am creating IoT remote monitoring and notifications with Azure Logic Apps as per the instructions stated in https://learn.microsoft.com/en-us/azure/iot-hub/iot-hub-monitoring-notifications-with-azure-logic-apps. Telemetry Simulator (Java using…
Dharita Chokshi
  • 1,133
  • 3
  • 16
  • 39
0
votes
2 answers

No storage account found when trying to setup File Upload in Iot Hub

I am trying to associate a storage container with an IoT Hub but am having trouble doing so. The goal here is to connect a storage container in order to enable File Uploading in the IoT Hub. I've followed the documentation here you must first link…
iammatthew2
  • 639
  • 2
  • 7
  • 20
0
votes
1 answer

Azure IoT Edge ModuleClient invoke direct method in another module

I'm using the Azure IoT Edge runtime running Linux containers on a Windows host OS. I have two modules, ModuleA and ModuleB. ModuleA have a registered direct method called "MethodA" and ModuleB have a registered direct method called "MethodB". When…
NoExit
  • 3
  • 1
  • 4