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.
azure-iot-hub
2,085
questions
0
votes
1
answer
31
views
Equivalent of `https.agent` in React Native
I need to make an API request using this cURL
curl -L -i -X PUT –cert ./[device_cert].pem –key ./[device_cert_private_key].pem -H 'Content-Type: application/json' -H 'Content-Encoding: utf-8' -d '{&...
0
votes
0
answers
16
views
How to Read Temperature Sensor Data using Azure IoT Metrics Collector Module
I am using a Jetson Orin nano board as an edge device with a simulated temperature sensor module and IoT Metrics Collector module deployed. I would like to know how to collect temperature readings ...
0
votes
1
answer
58
views
how to update device twin using python?
I am currently trying to update a property in device twin using python. but unable to do it due to SSL error.
below is the code
from azure.iot.hub import IoTHubRegistryManager
import certifi
import ...
0
votes
0
answers
36
views
ModuleNotFoundError: No module named 'azure.iot.hub'
I have a Raspberry Pi 4 and I have installed azure-iot-hub python package using below commands:
sudo apt-get update
sudo apt-get install -y build-essential libssl-dev python3-dev uuid-dev cmake ...
0
votes
0
answers
19
views
Azure IoT C SDK: Understanding IOTHUB_CLIENT_DEVICE_TWIN_CALLBACK
I'm trying to understand the IOTHUB_CLIENT_DEVICE_TWIN_CALLBACK of the Azure IoT C SDK.
Unfortunately, except for the azure.github.io documentation, I cannot find any other useful resources. And the ...
1
vote
1
answer
47
views
Azure IoT hub initial devicetwin not being set correctly
I have defined an Azure IoT DPS, with an enrollment group, that calls a Custom allocation policy function, this function should set initialDeviceTwin tags, I have tried to implement this function as ...
1
vote
1
answer
33
views
Not able to connect and send the message to iot central using react native library
When using the react native libraries like react-native-mqtt or sp-react-native-mqtt not able to connect the device to iot hub and send the messages using mqtt protocol. Getting unauthorized error. ...
1
vote
1
answer
55
views
Connect to MQTT client with Azure IOT HUB using React native
I am trying to connect to an Azure IoT Hub directly using MQTT to publish message.
For that I have tried multiple packages but I am not able to connect successfully.
react-native-mqtt-clients, sp-...
0
votes
0
answers
32
views
Is iot service sdk for Java https://github.com/Azure/azure-iot-service-sdk-java maintained?
I could see set of issues raised in https://github.com/Azure/azure-iot-service-sdk-java, but there seems to be no action taken. Any idea if the repository for IoT service SDK for java is still ...
0
votes
1
answer
24
views
Availability check for IotHub Using Ping C# Does not work ICMP Echo packet in container as the outbound does not allow ICMP
I am trying to check availability of an IoTHub using Ping,
public async Task<bool> CheckAvailabilityAsync(string url)
{
if (string.IsNullOrEmpty(url)) return false;
Ping ping = new Ping()...
0
votes
1
answer
60
views
Azure Servicebus: missing properties of telemetry servicebus messages
When sending telemetry messages from a device to the following MQTT topic:
devices/<MY_DEVICE>/messages/events/%24.uid=<MY_UID>&%24.ct=application%2Fjson&%24.ce=utf-8&%24.ctime=...
0
votes
1
answer
67
views
Device Module Appears Disconnected in Azure IoT Hub Despite Updating Connection String
I am currently learning about Azure IoT Device Update and have been following this tutorial to send updates over IoT Hub.
Install and configure the Device Update agent
The Device Update agent runs on ...
0
votes
2
answers
74
views
Azure IoTEdge - Custom IoTEdge module unable to connect to Hub with Communication_Error
Our custom IoTEdge module was functioning correctly until recently, when it started experiencing loss of connectivity, with our ConnectionStatusChangeHandler reporting status "ConnectionStatus....
1
vote
1
answer
90
views
Connecting to azure iot hub from client side react app within an iOS wrapper
We are attempting to connect a vite react web app to an azure iot hub.
We'd like to use a .pem, and .key file to register the device with gobal.azure-devices-provisioning.net as shown in their github ...
0
votes
0
answers
55
views
Iot hub deviceupdate-agent fails postinst on bullseyes (11) armv6l raspberry zero
I am trying to perform device multi-step update from Azure Iot hub. For that I am trying to install deviceupdate-agent on raspbian bullseys (11) armv6l 32bit RPI zero.
I am following:https://learn....