Closed elsbiet closed 5 years ago
client:subscribe(topic, qos, callback):
after looking into the source code, it seems to me that the callback function should be specified as callback(message_len, message [, topic_len, topic])
@spellauge,
Thanks for report this. MQTT wiki has been updated (https://github.com/whitecatboard/Lua-RTOS-ESP32/wiki/MQTT-module).
client:subscribe(topic, qos, callback):
after looking into the source code, it seems to me that the callback function should be specified as callback(message_len, message [, topic_len, topic])