Thread
:
Help me to code for Sailfish OS
View Single Post
Markkyboy
2020-09-20 , 09:54
Posts: 433 | Thanked: 727 times | Joined on Oct 2012 @ Costa Blanca, Espaņa
#
143
Currently, I have Eclipse MQTT 1.3.1 running flawlessly on my Jolla1.
I note there are 3 files for MQTT on my device, found in /usr/bin/; mosquitto_passwd, mosquitto_sub and mosquitto_pub
I also have a remote control app (as previously discussed with regard to changing button colours when lights are on/off). I would like to utilise MQTT to tell my Jolla1 when a light switch has been activated and change/update the button colour accordingly.
I am quite conversant with MQTT commands, but totally lack any ideas on how to implement/include MQTT in my remote control application.
Side note: MQTT for QML is not part of Qt, it is QtAutomotive, which requires licensing, so no good using official routes.
Any input appreciated, thanks
__________________
..oO(Don't just sit there standing around, pick up a shovel and sweep up!)Oo..
Quote & Reply
|
The Following User Says Thank You to Markkyboy For This Useful Post:
juiceme
Markkyboy
View Public Profile
Send a private message to Markkyboy
Find all posts by Markkyboy