ThingSpeak Using MQTT Blocks with Jetson Nano n External Mode, Data neither publish nor reflected
24 views (last 30 days)
Show older comments
MQTT Message from Jetson Nano not published in MQTT using Simulink External Mode.
Here are the details:
Environment:
Target: Jetson Nano 4GB Developer Kit B01
Matlab (Simulink) Version: Academic/2025b
Simulink Example in use: Publish and Subscribe to Messages on ThingSpeak Using MQTT Blocks
Build Status: Successful
Publish Topic: channels/3122381/publish/fields/field1
Could you please help in?
Thanks
Beda
3 Comments
Neeraj
2 minutes ago
By following the example https://in.mathworks.com/help/coder/nvidia/ug/publish-subscribe-mqtt-nvidia-jetson.html I was able to publish and subscibe MQTT messages to Thingspeak from Nvidia Jetson AGX Orin using Simulink external mode (Communication interface: XCP on TCP/IP ).
If the message payload is of type 'uint8', then the chart for the respective field of the Channel will not update as it would interpret the data as a non-printable character(ASCII), because of which it may appear that the MQTT blocks are not working.
But the number of entries are getting updated and also when trying to export the data as JSON I am able to see the published data.
I have used the port 1883 for which there is no encryption.
Answers (0)
Communities
More Answers in the ThingSpeak Community
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!