Currently I am using JS to perform the MQTT (private server) connection
it is working by using the setting in “mos.yml”
config_schema:
- [“mqtt.server”, “192.168.1.4:1883”]
- [“mqtt.enable”, true]
- [“mqtt.max_queue_length”, 10]
libs:
- origin: https://github.com/mongoose-os-libs/boards
- origin: https://github.com/mongoose-os-libs/js-demo-bundle
Would like to know any example Application available for MQTT in C code ?
I am able to get WiFi connected by setting parameters in “config_schema”
Any specific code I need to call to start the MQTT server connection ?