MQTT enabled SLI function for the TXT Controller
Verfasst: 25 Okt 2022, 22:05
Hello,
I've been struggling with this one for a couple of weeks so I'm asking for help here. Basically, I'm trying to create an SLI function to publish a single simple message to the MQTT broker from the TXT. I already have the development environment set up and have succesfully created numerous SLI functions. I'm very well versed in the MQTT protocol and have developed multiple MQTT apps in both Python and Java, but the TXT is so constrained and makes things very difficult for me.
Would anyone be able to share some basic MQTT publish code for the TXT? Or even just offer some guidance? I tried studying the officially used MQTT libraries for days but the documentation is downright atrocious to navigate. Anything helps.
Thanks in advance,
Andrew.
I've been struggling with this one for a couple of weeks so I'm asking for help here. Basically, I'm trying to create an SLI function to publish a single simple message to the MQTT broker from the TXT. I already have the development environment set up and have succesfully created numerous SLI functions. I'm very well versed in the MQTT protocol and have developed multiple MQTT apps in both Python and Java, but the TXT is so constrained and makes things very difficult for me.
Would anyone be able to share some basic MQTT publish code for the TXT? Or even just offer some guidance? I tried studying the officially used MQTT libraries for days but the documentation is downright atrocious to navigate. Anything helps.
Thanks in advance,
Andrew.