local hart = {
M = "beat",
}
local hartjson=json.encode(hart)
local result = cu:send( hartjson ) estbigiot.lua:66
程序运行错误,请根据上方提示,找到对应lua文件修改程序!
[2020-07-20 15:39:03.449] lua /lua/socket.lua:278: socket:send: coroutine mismatch
[2020-07-20 15:39:03.449] stack traceback:
[2020-07-20 15:39:03.449] [C]: in function 'assert'
[2020-07-20 15:39:03.449] /lua/socket.lua:278: in function 'send'
[2020-07-20 15:39:03.449] /lua/testbigiot.lua:66: in function 'cb'
[2020-07-20 15:39:03.449] /lua/sys.lua:371: in function 'run'
[2020-07-20 15:39:03.449] /lua/main.lua:65: in main chunk
local result = cu:send( hartjson ) estbigiot.lua:66