Questions tagged [azure-iot-hub]

Azure IoT Hub is a fully managed Microsoft service that enables reliable and secure bi-directional communications between millions of IoT devices and a solution backend.

2008 questions
0
votes
1 answer

Azure IOTEdge-Gateway authentication error

I've been trying to set up an IOTEdge Device as transparent gateway to forward leaf-telemetry to IOTHub via IOTEdge. I've followed and read through the steps in the official Azure documentations. I'm going to just summarize what it did Have a…
Shahab Uddin
  • 101
  • 1
  • 11
0
votes
0 answers

How is number of messages counted

When there is no device connected to the IoT Hub, the number of messages count increases. We were trying to find out the number of messages counted when sending a one-way D-to-Do message, and the results we got was 3 messages (1 C-to-D, two twin…
Kevin
  • 1
  • 1
0
votes
1 answer

Azure Remote Monitoring - How to add parameters to CloudToDeviceMethods?

In Azure Remote Monitoring, you can create your own CloudToDeviceMethods. How do you add parameters to those methods? Usually those methods look like this: function main(context, previousState, previousProperties) { ... } ...in a .js file that has…
Jon Th
  • 347
  • 2
  • 13
0
votes
1 answer

How to detect IoTHub configuration changes. Detect properties.desired changes and raise a event in Simulated Device. Need c# example.s

I have to monitor properties.desired properties changes from SimulatedDevice app, if any change (in my case fwVersion change) in the properties.desired then immediately my SimulatedDevice should be notified and start download the firmware…
Nanda
  • 39
  • 4
0
votes
1 answer

Where can i find Event Hubs-compatible path, and service primary key of the IoT hub in azure portal

Azure IoT Edge Quick Start says we can get the Event Hubs-compatible path, and service primary key from the IOThub using Azure Cli: az iot hub show --query properties.eventHubEndpoints.events.path --name YourIoTHubName az iot hub policy show --name…
0
votes
1 answer

Building Azure-iot-Hub Python-SDk on Windows 10. How to set the path for BOOST and cmake

I am trying to setup the Azure-IoT-Hub SDK for python. For C SDK it is compiling and building fine. But for python I am getting BOOST path error and Cmake error. I am trying to follow this link …
0
votes
1 answer

Firmware upgrade from Azure IoT HuB

I have an instrument which has USB output. My application will connect the instrument over COM port and read/write the data. Instrument has Bluetooth module as well, Bluetooth will help to upgrade the firmware. I'm migrating to Azure IoT Hub. Now my…
Nanda
  • 39
  • 4
0
votes
1 answer

Azure IoT Hub GetNextAsTwinAsync after query execution goes Exception

I'm trying to query devices into my Azure IoT Hub: var query = registry.CreateQuery("SELECT * FROM devices where statusUpdateTime<=" + (rightnowUTC-tenMinAgoUTC )); while (query.HasMoreResults) { var page = await…
Istorn
  • 485
  • 1
  • 5
  • 23
0
votes
2 answers

Azure IoT Hub: "onChangeStatus" trigger with C# solution

Once I got a devices connected to my hub, I would like to listen its own status changes and catch them. Moreover the classic pattern (creating an async task, given the previous device obtained through query, repeat and see if the status has been…
Istorn
  • 485
  • 1
  • 5
  • 23
0
votes
1 answer

C# Azure IoT Hub how to get public IP address of devices

Given the device itself or its own twin, how can I obtain its public IP address? I was reading the Microsoft APIs for Azure IoT Hub with no results.
Istorn
  • 485
  • 1
  • 5
  • 23
0
votes
1 answer

Sending messages to connected IOT devices when data arrives in the Azure queue?

I have an Azure IOT Hub that a few Arduino devices connect to from time to time. I also have an Azure Queue that can contain json strings that I want to send to the individual devices when they are connected. I followed example for creating a…
PKonstant
  • 834
  • 2
  • 15
  • 32
0
votes
1 answer

Get Azure IoT Hub Consumer Groups Programmatically Using C# SDK

Azure IoT Hub relies heavily on consumer groups. We can easily add consumer groups and view them using Azure Portal. Is there anyway to read my consumer groups using C# SDK?
Jawad Sabir
  • 167
  • 2
  • 12
0
votes
1 answer

Direct method invocation from Azure IoT Edge device to a child device without Internet connection

I have an Azure IoT Edge server which acts as a transparent gateway for my IoT devices (implemented using the Azure IoT SDK). They have been configured as child devices so they work offline, without any Internet connection. This setup works as…
André
  • 2,101
  • 20
  • 23
0
votes
1 answer

Microsoft Azure IoT Hub and connectionString without DeviceId

I've got a connectionString from a third party to Microsoft Azure IoT Hub which doesn't contain a DeviceId. I've tried to use this SDK, but it requires a DeviceId: https://www.npmjs.com/package/azure-iot-device-http Can one use Azure IoT Hub without…
Alfred Balle
  • 1,135
  • 4
  • 16
  • 32
0
votes
1 answer

Proper configuration of Azure IoT Hub DPS group enrollment with x509

I have quetion about proper configuration certificates in Auzre's IoT Hub. I want to use Device Provisioning Service with group enrollment. My goal is to reach following scenario: use CA root cert to generate some intermediate cert, then use this…
Kamil Z
  • 30
  • 1
  • 5