Uploading a file from IOT device to Cloud in C++
I currently have an IOT device code written in C++. I would like to upload files from the device to the cloud. I found this article which demonstrates how to achieve that in C#. I can not find anything for c++. Any suggestions on how I can upload files…
IOT Central not sending command
I'm a bit new to IOT, but I have finally managed after a bit of tinkering to get my actual device (STM32L475 Development board) talking to both the IoT Hub, and AzureIOT central. I can receive telemetry ok, and in the IoT Hub I can send a command to…
How to send message to device after provisioning with mqtt x509?
I'm using the azure_sdk_for_c to provisioning with Azure it hub following the example paho_iot_provisioning_sample. I can successfully get the Hub Hostname and device ID from DPS but I don't know how to publish a message to the device. May I need to…
Azure CLI for connecting device to cloud
I'm trying to take the same steps that allowed me to connect a microcontroller to Azure to be able to publish messages through MQTT but instead of doing it through the web UI I'm trying to use the Azure CLI. However, this is not working at the moment as…
Impossible to create a second endpoint
Each IoT Hub route is associated with an endpoint. Currently, seems not possible to create routes nor endpoints using the Python SDK. Routes can be created using the Azure Client, but an endpoint must exist previously. So all this process described is…
What permission or role is necessary to access Iot Devices and Query explorers in Azure Iot Hub ?
In Azure IoT-Hub (portal), IoT devices and Query explorers are not accessible to users who do not have at least the contributor role. There does not seem to be a built-in role to access these explorers so I would like to create a custom role : basically…
Azure IoTHub Python SDK: ConnectionFailedError while sending messages to Azure IoTHub using Python SDK
While sending messages to Azure IoTHub from Python SDK, frequently the connection is lost with different error messages viz: 'Failed to receive on socket', 'transport.connect raised error' Attached the screenshot. And some times, IoTHub is…
Azure resouces external access via IP Address
We have a Quectel ioT device that converts the URL to IP address and then connects a TCP socket to GET firmware updates. I know shared WebApp and Blob Storage do not allow IP address access to resources, so I thought maybe Allocation a Public IP,…
Integrating modelId from Azure Digital Twin into Time Series Insights
Hi there, What I'm currently trying to get my head around is the ability to integrate the model Id from an Azure Digital Twin instance within Time Series Insights. I understand that Time Series Insights (Gen2) accepts the datatype of a string,…
IoT Hub C sdk not generating a new SaS Token
I'm using : NodeMCU programmed through arduino libraries (C SDK) MQTT Protocol, IoTHub, Device configured as Symmetrical connection the device is disconnecting after 65 minutes of connectivity but not generating a new SaS token, then the connecting…
What is the correct way to include MQTT topics in Message class
I have developed an Azure IoT Edge module in Python which subscribes to MQTT messages from a device, this device is read only, means I can't login or change anything in the device except to receive messages using MQTT. I am sending the MQTT message…
Azure Stream Analytics Job Reference Input Join Error
Hi Team My Inputs for Stream Analytics Job: Input 1: Stream Input from IoT Hub Input 2: Reference Data from Azure Blob Storage I am trying to use following query to join stream input (deviceinput) and reference input…
IoT Hub - IoT Edge Runtime Responce status : 406 -- The device is offline or not sending status reports
Hi Friends, I am working on Live Video Analytics POC, last Friday (13th Nov) all azure services are working fine and end of the day I was stopped Virtual Machine and StreamingEndPoint services in azure poral. Today I re-started those two services…
How to get a count of all telemetry messages currently available ?
I am currently doing something like this to get all available telemetry (device to cloud messages). ReadEventsAsync would block once there are no new messages. I know I can specify a time period but then that will be a wait game. Is there a way for me…
Receive reported updates from device twins from a backend app with mqtt
I want to know how to receive reported messages sent by IOT devices to the cloud from my backend app . From my research I have found out the way to do it is with the function twin.get( ){ } . But I cant exactly figure out how to write that…
where get complete IoT solution with best practices steps
need to get complete IoT solution with best practices steps without use ready solutions like ( iot central or solution accelerators ) and connect it with physical devices as ESP8266 ?? . thanks in advance .....
Error message "Blocked by CORS policy" when accessing IOT hub from React application
I have been trying to publish and subscribe to device twins from my backend app in React JS. This is the React JS code to get reported properties import React from 'react' function Greet() { const connectionString = '##########'; …
Fail to build up Azure IOT-SDK- C with Linux (ubuntu 14.04) environment
Dear Sir : My Linux environment Ubuntu : 14.04.06 (LTS) gcc : 4.8.4 cmake : 2.8.12.2 CURL : 7.35 azure-iot-sdk-c SDK version : LTS_07_2020_Ref01 I follow this guideline as below to set up my Linux environment and got some…
Getting "NoRegisteredProviderFound" Error While Trying to Use IoTHub
Since a few days ago, I'm completely unable to use my Azure IoTHub. When I click on most of the tabs within the resource, I get the following error: {"error":{"code":"NoRegisteredProviderFound","message":"No…
Azure Function receiving duplicate messages from Event Grid
I've a very simple Javascript Function App being sent messages from an Event Grid subscription with a filter. The function reliably gets two messages for every one that arrives at the IoT Hub that the Event Grid is being fed by. I've verified that it…