1 - Compile and run tinymqtt-test.ino
2 - Connect an mqtt explorer (ex: http://mqtt-explorer.com/)
3 - Use the following 'script'
3.1 > ls -> ensure mqtt-explorer is connected
3.2 > client c broker -> create a local client
3.3 > c.pub sensor 128 -> 128 should be received by mqtt-explorer
3.4 > c.sub # -> local client subscribes to all
3.5 > c.pub value 120 -> 120 received by mqtt-explorer but bad payload received by the local client !
Steps to reproduce
1 - Compile and run tinymqtt-test.ino 2 - Connect an mqtt explorer (ex: http://mqtt-explorer.com/) 3 - Use the following 'script' 3.1 > ls -> ensure mqtt-explorer is connected 3.2 > client c broker -> create a local client 3.3 > c.pub sensor 128 -> 128 should be received by mqtt-explorer 3.4 > c.sub # -> local client subscribes to all 3.5 > c.pub value 120 -> 120 received by mqtt-explorer but bad payload received by the local client !