Offline commands worked for Azure-IoT-Hub-Tester, but not my device. I am developing device that connects to IoT Central on Mqtt protocol. I want to use the Offline command and follow the instruction on https://learn.microsoft.com/en-us/azure/iot-central/core/howto-use-commands. When I connect to the server using Azure-IoT-Hub-Tester, offline command seem to be working. The command that executed on the IoT Central while device is disconnected is received by the Azure-IoT-Hub-Tester. However, when I connect my device to the server, offline command never comes. My device receives the commands correctly when it is connected to the server. But when command is executed while device is disconnected, the command is missing when the device connects. To make sure that the server never sent the command I even find a way to log the TLS communication between device and server. Anyone had similar experience?
Related Questions in AZURE-IOT-HUB
- IoT Hub Equivalent For IoT Central Offline commands
- Alternatives for azure-iot-hub python package
- Azure Device Update for IoT Hub & Deployment
- How to retrieve IotHub usage information inside Azure Function
- Upload device's x509 certificate to Azure Iothub
- Too many requests error while creating scheduled jobs in IOT central create job API
- 'Too many requests' error on Azure IOT central create job API
- After updating a reported property, attempting to fetch it returns the previous version, not the latest one in Azure Module Client
- Azure Data Manager for Agriculture - Sensor Telemetry Data
- Connecting to RabbitMQ with Azure IoT Hub Device client
- MQTT: Connection to Azure IoT Hub (Micropython)
- AT Commands to send/publish data to azure iot hub using sim808
- Couldn't get IoT Central offline command to work
- Azure IoT DPS - Enrollment Group - Create Or Update - Rest API
- How do I use Azure IoT SDK (C#) to develop code to send data from my robotic arm to my IoT hub?
Related Questions in AZURE-IOT-CENTRAL
- IoT Hub Equivalent For IoT Central Offline commands
- Azure IOT central command/NodeRed
- Too many requests error while creating scheduled jobs in IOT central create job API
- 'Too many requests' error on Azure IOT central create job API
- Couldn't get IoT Central offline command to work
- Recording Sound or Images Using Azure IoT Central
- Connecting Arduino uno rev2 with IoT central application
- How can I view a hierarchical folder structure in Azure IoT Central device Files list?
- Is it possible to access a .net6 dll from .net framework 4.7 or alternately build a .net4.7 dll from the sources of the .net6 framework?
- How can I create a MFA Auth Flow for user login to Azure AD using only WPF/C# controls - no browser is available
- I am trying to create a C# application to access Device IDs from IOTCentral. How can I authenticate the user of the application?
- How do I implement the 'const patch = {...}' in the code below equivalent in C#
- Do my Pico W needs a CA certificate if I am using a SAS Token?
- How to generate command output in IoT Central Azure SDK C
- Storing command value in variable with Azure IoT Central SDK C
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
So, I figured it out. In order for Offline command to work, have to set "clean start" bit to 0 in the MQTT CONNECT Packet. It need to be a persistent-session.