Left for archival purposes.

User avatar
By sancho
#6597 Sorry for my ignorance.
I do not get it.
If there is a native C library for ESP, how can it be utilized within Lua/NodeMCU?
Thanks for clarification. Please, note, that I am just a beginner, this is no attempt for any kind of offense or similar.
User avatar
By alonewolfx2
#6604
sancho wrote:Sorry for my ignorance.
I do not get it.
If there is a native C library for ESP, how can it be utilized within Lua/NodeMCU?
Thanks for clarification. Please, note, that I am just a beginner, this is no attempt for any kind of offense or similar.

Library isn't working with 0.9.5b1 SDK. I am trying to solve
User avatar
By pppp33
#6612 I am aware of "standalone" mqtt project and happy about it....
...But, my idea was: mqtt IN Lua.
Now, my question is: can TuanPM's Mqtt be used in LUA/NodeMCU ?
Thanks....
User avatar
By alonewolfx2
#6619
pppp33 wrote:I am aware of "standalone" mqtt project and happy about it....
...But, my idea was: mqtt IN Lua.
Now, my question is: can TuanPM's Mqtt be used in LUA/NodeMCU ?
Thanks....

i tried merge that library into the nodemcu. it seems successful connected and subscribed but message not recieved.

Code: Select all->wifi.sta.mqtt()
<-MQTT_InitConnection
<-MQTT_InitClient
<-TCP: Connect to ip  192.168.2.69:1883
<-MQTT: subscribe, topic"/test/" at broker 192.168.2.69:1883