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
40
votes
7 answers

What is the difference between Azure IoT Hub and Azure IoT Central?

I used Azure IoT Hub earlier and now I found a new topic Azure IoT Central which looks as same as the Azure IoT Hub. I am confused with the difference between these IoT Services, Can anyone explain me the difference and which one is better between…
lazyCoder
  • 2,544
  • 3
  • 22
  • 41
5
votes
2 answers

Provide timestamp in message to IoT central

I want to connect a 'real device' with Azure IoT Central and connect a local source application to it using MQTT. I use this code for the connection and replace. However, I cannot find any information on how to provide the timestamp. This thread…
mkiesner
  • 635
  • 5
  • 20
5
votes
1 answer

Best way to Fetch connectionState from 1000's of devices - Azure IoTHub

Best way to Fetch connectionState from 1000's of devices. Currently there is not that much devices, but need an efficient solution. Based on my understanding, currently I can fetch connectionState using IotHub Queries(select * from devices) or…
5
votes
1 answer

MessagingEntityNotFoundException: The messaging entity 'ihsuprodsgres029dednamespace:eventhub:' could not be found

I am just trying to connect my device to cloud using Azure IOT Hub. But I am getting an error as below. MessagingEntityNotFoundException: The messaging entity 'ihsuprodsgres029dednamespace:eventhub:iothub-ehub-' could not be found.…
Sibeesh Venu
  • 18,755
  • 12
  • 103
  • 140
4
votes
1 answer

Microsoft Azure IoT Python SDK Can Successfully Provision but Not Connect with Same Credentials

I am using Python 3.8.2 on Linux and the azure iot python sdk version 2. I have setup device provisioning in the Azure Portal and can successfully provision my device using the following code. Provisioning code: # Imports for Azure from…
PhilBot
  • 748
  • 18
  • 85
  • 173
4
votes
2 answers

Updating firmware using the Azure IoT Hub

I intend to use the IoT Hub to update firmware of my Edison device utilising its bi-directional capability although I am not sure of where to look for detailed instructions on how to do it. The only information I have found on the subject is HERE…
BrentA
  • 172
  • 8
3
votes
1 answer

Azure IOT Decode Amqp Messages From Web Socket (Hexadecimal string)

I'm trying to decode AMQP messages sended and revived between Azure IoT Edge and Azure Hub. At this moment I can read the data inside the socket, having something like this: Now, I'd like to see this packages as json or object or something that a…
user1060082
  • 63
  • 2
  • 7
3
votes
1 answer

Device registration (using DPS) and Device to IOT Hub Communication without SDK

Need pointers on how to do device registration using Azure DPS (x509 cert) and communicate to IOT hub without using azure SDK libraries. Is it possible via MQTT? any server (iot hun/DPS) listening to client who can send MQTT messages without using…
Bhupal
  • 67
  • 3
3
votes
1 answer

Explicitly opening connection to IoT Hub from DeviceClient or opening it when a message is sent?

Are there any significant differences between explicitly opening a connection with DeviceClient at application initialisation or leaving it to open the connection itself when a message is sent? What I mean by this is: await deviceClient.OpenAsync();…
user9993
  • 5,833
  • 11
  • 56
  • 117
3
votes
1 answer

Get the IOT hub connection string from Azure Device Provision Service

How can I get the IOT hub connection string in device using auto provisioning via Azure Device Provisioning Service. I am doing a group enrollment and that was a success but how can I get the assigned hub connection string to the device. I do get…
sadik
  • 107
  • 10
3
votes
2 answers

MQTT communication for devices, which one is the better option for PubSub data either RabbitMQ or Azure ServiceBus for IotConnect?

MQTT communication for devices, which one is the better option for PubSub data either RabbitMQ or Azure ServiceBus for IotConnect? We have use cases for the smart device that can continue be sending data on the cloud, which option is best and…
MANISHDAN LANGA
  • 2,227
  • 6
  • 29
  • 43
3
votes
1 answer

Create IOT Device Edge Python Sdk

How can create IOT Edge Device? Actually i use azure sdk service iot and created normal device, but i can't figure out how create iot edge device with azure service client sdk.
Kaliros
  • 31
  • 1
3
votes
1 answer

Azure Iothub-Explorer epoch error?

I'm trying to look at messages that are being sent from my esp8266 module via iothub-explorer but I'm getting the following error. The command I'm running iothub-explorer monitor-events DeviceID --login…
Jim
  • 373
  • 5
  • 18
3
votes
1 answer

Can not catch exception in ASP.NET MVC

I am currently trying to develop simple web application for my IoT school project. As for now it should only call direct methods from my Raspberry. I am using Azure SDK for C#. This is how code looks like: Controller: public ActionResult…
arek
  • 45
  • 4
3
votes
2 answers

Azure IOT ServiceClient / RegistryClient: What is the recommended frequency of CloseAsync?

Microsoft.Azure.Devices.ServiceClient and Microsoft.Azure.Devices.RegistryManager both have ConnectFromConnectionString and CloseAsync methods. Should we use them like we use other .NET connection-close patterns, such as ADO.NET connections, Redis…
Howard Hoffman
  • 897
  • 1
  • 9
  • 22
1
2 3
24 25