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

Azure IoT SDK for C with WolfSSL and STM32

I am trying to port Azure IoT SDKs for C to STM32 controller. I am using wolfSSL library for TLS version 1.2 and I am able to build the code successfully in OpenSTM32 environment. But, after establishing successful connection with Azure server, I am…
Pushkar
  • 1
  • 2
0
votes
2 answers

azure iothub sdk mqtt sample - error tls certificate

I'm trying to run the azure iothub sdk c sample of the mqtt protocol. I've compiled hte project but when I run the program it returns some error about SSL routines This i the complete error: error:1416F086: SSL…
Marco
  • 705
  • 8
  • 28
0
votes
1 answer

Linking error wihle crosscompiling iothub sdk

I'm trying to crosscompile the azure iothub sdk, written in C, for an ARM gateway. This gateway is provided with its crosscompiler. I need iothub's libraries and includes in order to develop on the gateway. I've downloaded and crosscompiled zlib,…
Marco
  • 705
  • 8
  • 28
0
votes
1 answer

Linker error when trying to use Azure-iot-sdk-c serializer model in multiple files

I try to use a serializer model with the azure-iot-sdk-c in multiple files. As long as I use it only in the main file, everything compiles. But when I declare the model in another header file, use it in the corresponding c file and in the main file,…
StrawHat
  • 175
  • 1
  • 12
0
votes
1 answer

Azure-IoT - Raspberry pi3 Forever script exited with code: 7

I'm running a forever script sending data from raspberry pi 3 to azure-iot-hub, using the following, root@raspberrypi3:~# forever start /home/pi/azure/iam/ble_azure.js After working for about 1.5 days, I stopped getting messages at auzre-iot-hub,…
Ayman
  • 37
  • 1
  • 6
0
votes
1 answer

Trouble with Azure IoT C# SDK Certificate

I am receiving this error when I try to connect to Azure IoT Hub. Microsoft.Azure.Devices.Client.Exceptions.UnauthorizedException. I could not post the error screen shots here, since I do not have enough reputation points. So instead I wrote the…
0
votes
1 answer

Synchronize Data From Event MQTT Endpoint to Device Twin In Azure

Is there any way which we can automatically sync data between device MQTT events and Device Twin data ? For a given device in Azure IOT hub there is a mqtt event endpoint and a device twin endpoint associated to it. I have tried sending MQTT event…
gbids
  • 489
  • 1
  • 6
  • 16
0
votes
0 answers

CMakeTools extension was unable to initialize: Error: Invalid backend promise [See output window for more details]

I have installed the latest CMake extensions into Visual Studio code V1.16.0 and I am unable to get the extension to work as I get the "CMakeTools extension was unable to initialize: Error: Invalid backend promise [See output window for more…
David Dwyer
  • 39
  • 1
  • 1
  • 5
0
votes
0 answers

Azure IoT Hub MQTT no connection, select/SSL failures

I'm currently using programs based on the Azure-IoT-Hub-C-SDK MQTT examples as well as the samples itself. On my Ubuntu machine, after starting the program, I get a repeating connection…
StrawHat
  • 175
  • 1
  • 12
0
votes
1 answer

Receiving acknowledgements using IoT Hub

When using DeviceClient I can send messages using SendEvent and files using SendBlob. But I did not find a way to receive acknowledgement that messages/files have been received by Azure IoT Hub? The only way I found to solve this is using…
John
  • 79
  • 8
0
votes
1 answer

IoT Hub key regen, old key still works

I have a working IoT Hub, with incoming telemetry. I haven't touched it in months and wanted to go back and check the Permissions on the Shared Access Key that my device is connecting with. I could not find a Policy with a key matching the one my…
JohnKoz
  • 908
  • 11
  • 21
0
votes
1 answer

Unknown type name 'IRsend'

In the C file in simplesample_mqtt.c, which connects Arduino to the Azure IoT hub, I need to use the IRsend and IrRemoteESP8266 libraries to send an infrared signal with Azure IoT hub. #include #include IRsend…
Mehran Mazhar
  • 63
  • 3
  • 13
0
votes
1 answer

How to get old device twin value from TwinChangeEvents event in Microsoft Azure IoT Hub?

I created a route for TwinChangeEvents in Microsoft Azure portal and I can Receive device-to-cloud messages when device twin changes. But the message only contains the new device twin value. I needed the old value for analysis so that I don’t have…
Yoseph
  • 2,356
  • 1
  • 13
  • 18
0
votes
0 answers

How can I receive from Azure IoT Hub messages sent by devices?

I have successfully built azure-iot-sdk-python and I have managed to handle the device side of things: sending messages and reported-properties receiving messages and desired-properties I can also manage devices from the service side: create…
tzot
  • 92,761
  • 29
  • 141
  • 204
0
votes
1 answer

InvalidErrorCode when sending C2D message through IoT Hub with SAS token

I want to send a cloud to device message (C2D) to a device, which is known in IoTHub. I use the SERVICE policy in the code. The sending occurs from a Console application (for now) or later a WebApi. So the code will not run on the device! I want to…
Sven
  • 195
  • 2
  • 11