I maintain the MQTT library extension and I've made a few changes in my dev enviroment
-
If you publish a list to a topic- it is sent to the broker as JSON (always has been). But now , if you subscribe to the same topic , the extension detects that the payload is JSON and automatically converts it back to a Snap! list
-
In current version, you can set subscribe option 1 to true and the payload will be returned as binary byte data but presented as a text string. But now, if you set option 1 to true, it will be returned as a list of values in the range 0-255
-
Publish has a 3rd option - if set to true, then the payload should be a single column list of values in range or 0-255 (i.e. byte values) and will be sent as a buffer instead of a text string. This then matches up with point 2 above
My test site is at
https://cymplecy.gitlab.io/Snap/snap.html
It doesn't have access to the Snap! cloud so any projects will have to be saved/loaded from your own computer/network