socket,这个是trc文件,串口发的数据没法发到服务器上

[2018-09-15 11:10:27.446]: (0x00000057)模块软件开机中。。。
[2018-09-15 11:10:29.705]: CDFU_LoadSection: %d-%d

[2018-09-15 11:10:29.711]: CDFU_LoadSection: %d-%d

[2018-09-15 11:10:29.713]: ====================================
[2018-09-15 11:10:29.715]: INTR VER :Luat_V0027_8955_SSL_TTS
[2018-09-15 11:10:29.733]: BASE VER :B5431
[2018-09-15 11:10:29.735]: SCRIPT ADDR :0x00350000
[2018-09-15 11:10:29.737]: SCRIPT SIZE :0x00041000
[2018-09-15 11:10:29.739]: BASE   ADDR :0x00300000
[2018-09-15 11:10:29.742]: BASE   SIZE :0x00050000
[2018-09-15 11:10:29.744]: ====================================
[2018-09-15 11:10:29.747]: [cust_task_main]: Enter message loop
[2018-09-15 11:10:29.749]: lualibc_fopen /integrity.bin rb 0 1 2
[2018-09-15 11:10:29.751]: lualibc_fopen /integrity.bin rb 0 1 2
[2018-09-15 11:10:29.757]: INTEGRITY file correct!
[2018-09-15 11:10:29.760]: FH:file=/lua/wdt.lua,len=589,offset=51412
[2018-09-15 11:10:29.764]: FH:file=/lua/utils.lua,len=2526,offset=48861
[2018-09-15 11:10:29.769]: FH:file=/lua/sys.lua,len=5472,offset=43362
[2018-09-15 11:10:29.780]: FH:file=/lua/socketTask.lua,len=961,offset=42376
[2018-09-15 11:10:29.785]: FH:file=/lua/socketOutMsg.lua,len=742,offset=41602
[2018-09-15 11:10:29.788]: FH:file=/lua/socketInMsg.lua,len=335,offset=41233
[2018-09-15 11:10:29.789]: FH:file=/lua/socket.lua,len=9801,offset=31399
[2018-09-15 11:10:29.791]: FH:file=/lua/sim.lua,len=1110,offset=30261
[2018-09-15 11:10:29.793]: FH:file=/lua/ril.lua,len=7797,offset=22439
[2018-09-15 11:10:29.794]: FH:file=/lua/pm.lua,len=474,offset=21940
[2018-09-15 11:10:29.796]: FH:file=/lua/pins.lua,len=1132,offset=20784
[2018-09-15 11:10:29.798]: FH:file=/lua/patch.lua,len=1186,offset=19572
[2018-09-15 11:10:29.801]: FH:file=/lua/netLed.lua,len=2601,offset=16944
[2018-09-15 11:10:29.802]: FH:file=/lua/net.lua,len=5141,offset=11775
[2018-09-15 11:10:29.803]: FH:file=/lua/misc.lua,len=3393,offset=8357
[2018-09-15 11:10:29.805]: FH:file=/lua/mcuUart.lua,len=808,offset=7523
[2018-09-15 11:10:29.806]: FH:file=/lua/main.lua,len=481,offset=7013
[2018-09-15 11:10:29.807]: FH:file=/lua/log.lua,len=1174,offset=5813
[2018-09-15 11:10:29.809]: FH:file=/lua/link.lua,len=2720,offset=3068
[2018-09-15 11:10:29.810]: FH:file=/lua/errDump.lua,len=2491,offset=551
[2018-09-15 11:10:29.812]: FH:file=/lua/clib.lua,len=472,offset=50
[2018-09-15 11:10:29.813]: parse_luadb_data:delupdpack=0,err=0,section=1,wrFile=0
[2018-09-15 11:10:29.814]: [fopen_ext]: /lua/main.lua 2!
[2018-09-15 11:10:29.815]: RUN main.lua
[2018-09-15 11:10:29.819]: [fopen_ext]: /lua/main.lua 2!
[2018-09-15 11:10:29.821]: [fopen_ext]: /lua/log.lua 2!
[2018-09-15 11:10:29.824]: [fopen_ext]: /lua/log.lua 2!
[2018-09-15 11:10:29.826]: [fopen_ext]: /lua/sys.lua 2!
[2018-09-15 11:10:29.827]: [fopen_ext]: /lua/sys.lua 2!
[2018-09-15 11:10:29.829]: [fopen_ext]: /lua/utils.lua 2!
[2018-09-15 11:10:29.830]: [fopen_ext]: /lua/utils.lua 2!
[2018-09-15 11:10:29.832]: [fopen_ext]: /lua/patch.lua 2!
[2018-09-15 11:10:29.834]: [fopen_ext]: /lua/patch.lua 2!
[2018-09-15 11:10:29.835]: [fopen_ext]: /lua/clib.lua 2!
[2018-09-15 11:10:29.836]: [fopen_ext]: /lua/clib.lua 2!
[2018-09-15 11:10:29.837]: [fopen_ext]: /lua/net.lua 2!
[2018-09-15 11:10:29.839]: [fopen_ext]: /lua/net.lua 2!
[2018-09-15 11:10:29.840]: [fopen_ext]: /lua/ril.lua 2!
[2018-09-15 11:10:29.841]: [fopen_ext]: /lua/ril.lua 2!
[2018-09-15 11:10:29.842]: [fopen_ext]: /lua/sim.lua 2!
[2018-09-15 11:10:29.843]: [fopen_ext]: /lua/sim.lua 2!
[2018-09-15 11:10:29.845]: [fopen_ext]: /lua/wdt.lua 2!
[2018-09-15 11:10:29.846]: [fopen_ext]: /lua/wdt.lua 2!
[2018-09-15 11:10:29.847]: [fopen_ext]: /lua/pins.lua 2!
[2018-09-15 11:10:29.850]: [fopen_ext]: /lua/pins.lua 2!
[2018-09-15 11:10:29.851]: [I]-[wdt.taskWdt]AirM2M --> WATCHDOG : OK
[2018-09-15 11:10:29.854]: [fopen_ext]: /lua/netLed.lua 2!
[2018-09-15 11:10:29.856]: [fopen_ext]: /lua/netLed.lua 2!
[2018-09-15 11:10:29.857]: [fopen_ext]: /lua/errDump.lua 2!
[2018-09-15 11:10:29.858]: [fopen_ext]: /lua/errDump.lua 2!
[2018-09-15 11:10:29.859]: [fopen_ext]: /lua/socket.lua 2!
[2018-09-15 11:10:29.861]: [fopen_ext]: /lua/socket.lua 2!
[2018-09-15 11:10:29.863]: [fopen_ext]: /lua/link.lua 2!
[2018-09-15 11:10:29.864]: [fopen_ext]: /lua/link.lua 2!
[2018-09-15 11:10:29.867]: [fopen_ext]: /lua/misc.lua 2!
[2018-09-15 11:10:29.869]: [fopen_ext]: /lua/misc.lua 2!
[2018-09-15 11:10:29.870]: [fopen_ext]: /lua/socketTask.lua 2!
[2018-09-15 11:10:29.871]: [fopen_ext]: /lua/socketTask.lua 2!
[2018-09-15 11:10:29.873]: [fopen_ext]: /lua/socketOutMsg.lua 2!
[2018-09-15 11:10:29.874]: [fopen_ext]: /lua/socketOutMsg.lua 2!
[2018-09-15 11:10:29.876]: [fopen_ext]: /lua/socketInMsg.lua 2!
[2018-09-15 11:10:29.877]: [fopen_ext]: /lua/socketInMsg.lua 2!
[2018-09-15 11:10:29.879]: [fopen_ext]: /lua/mcuUart.lua 2!
[2018-09-15 11:10:29.880]: [fopen_ext]: /lua/mcuUart.lua 2!
[2018-09-15 11:10:29.881]: [fopen_ext]: /lua/pm.lua 2!
[2018-09-15 11:10:29.882]: [fopen_ext]: /lua/pm.lua 2!
[2018-09-15 11:10:29.885]: [E]-[errDump.appendErr]/lua/mcuUart.lua:22: invalid format

程序运行错误,请根据上方提示,找到对应lua文件修改程序
[2018-09-15 11:10:29.887]: stack traceback:
[2018-09-15 11:10:29.893]: [C]: in function 'read'
[2018-09-15 11:10:29.894]: /lua/mcuUart.lua:22: in function </lua/mcuUart.lua:19>
[2018-09-15 11:10:29.896]: lualibc_fopen /lib_err.txt w+b 602 1 2
/******************************温馨提示**************************************/
/******************************提示结束**************************************/
[2018-09-15 11:10:29.897]: [I]-[poweron reason:]7SOCKET_LONG_CONNECTION_TRANSPARENT2.0.02.1.1Luat_V0027_8955_SSL_TTS
[2018-09-15 11:10:29.903]: [I]-[ril.proatc]
[2018-09-15 11:10:29.905]: [I]-[ril.proatc]RDY
[2018-09-15 11:10:29.906]: [I]-[ril.proatc]
[2018-09-15 11:10:29.910]: [I]-[ril.proatc]+CFUN: 1
[2018-09-15 11:10:29.911]: [I]-[ril.defurc]+CFUN: 1
[2018-09-15 11:10:29.913]: [I]-[ril.sendat]ATE0
[2018-09-15 11:10:29.914]: [I]-[ril.proatc]ATE0
[2018-09-15 11:10:29.915]: [I]-[ril.defurc]ATE0
[2018-09-15 11:10:29.917]: [I]-[ril.proatc]
[2018-09-15 11:10:29.920]: [I]-[ril.proatc]OK
[2018-09-15 11:10:29.921]: [I]-[ril.defrsp]ATE0trueOKnil
[2018-09-15 11:10:29.922]: [I]-[ril.sendat]AT+CMEE=0
[2018-09-15 11:10:29.923]: [I]-[ril.proatc]
[2018-09-15 11:10:29.924]: [I]-[ril.proatc]OK
[2018-09-15 11:10:29.926]: [I]-[ril.defrsp]AT+CMEE=0trueOKnil
[2018-09-15 11:10:29.927]: [I]-[ril.sendat]AT+STON=0
[2018-09-15 11:10:29.929]: [I]-[ril.proatc]
[2018-09-15 11:10:29.930]: [I]-[ril.proatc]OK
[2018-09-15 11:10:29.931]: [I]-[ril.defrsp]AT+STON=0trueOKnil
[2018-09-15 11:10:29.935]: [I]-[ril.sendat]AT+CREG=2
[2018-09-15 11:10:29.936]: [I]-[ril.proatc]
[2018-09-15 11:10:29.937]: [I]-[ril.proatc]OK
[2018-09-15 11:10:29.938]: [I]-[ril.defrsp]AT+CREG=2trueOKnil
[2018-09-15 11:10:29.940]: [I]-[ril.sendat]AT+CREG?
[2018-09-15 11:10:29.941]: [I]-[ril.proatc]
[2018-09-15 11:10:29.942]: [I]-[ril.proatc]+CREG: 2,0
[2018-09-15 11:10:29.944]: [I]-[ril.proatc]
[2018-09-15 11:10:29.946]: [I]-[ril.proatc]OK
[2018-09-15 11:10:29.947]: [I]-[ril.defrsp]AT+CREG?trueOKnil
[2018-09-15 11:10:29.948]: [I]-[ril.sendat]AT+CENG=1,1
[2018-09-15 11:10:29.950]: [I]-[ril.proatc]
[2018-09-15 11:10:29.953]: [I]-[ril.proatc]OK
[2018-09-15 11:10:29.954]: [I]-[ril.sendat]AT+CSQ
[2018-09-15 11:10:29.955]: [I]-[ril.proatc]
[2018-09-15 11:10:29.956]: [I]-[ril.proatc]+CSQ: 0,0
[2018-09-15 11:10:29.958]: [I]-[ril.proatc]
[2018-09-15 11:10:29.959]: [I]-[ril.proatc]OK
[2018-09-15 11:10:29.961]: [I]-[ril.sendat]AT+CENG?
[2018-09-15 11:10:29.962]: [I]-[ril.proatc]
[2018-09-15 11:10:29.964]: [I]-[ril.proatc]+CENG:1,1
[2018-09-15 11:10:29.965]: [I]-[ril.proatc]+CENG:0,"0000, 0, 0,000,00,00,0000,00,00,0000,00"
[2018-09-15 11:10:29.968]: [I]-[ril.proatc]
[2018-09-15 11:10:29.969]: [I]-[ril.proatc]OK
[2018-09-15 11:10:29.970]: [I]-[ril.sendat]AT+TCPUSERPARAM=6,4,7200,16
[2018-09-15 11:10:29.971]: [I]-[ril.proatc]
[2018-09-15 11:10:29.973]: [I]-[ril.proatc]OK
[2018-09-15 11:10:29.974]: [I]-[ril.defrsp]AT+TCPUSERPARAM=6,4,7200,16trueOKnil
[2018-09-15 11:10:29.975]: [I]-[ril.sendat]AT+VER
[2018-09-15 11:10:29.976]: [I]-[ril.proatc]
[2018-09-15 11:10:29.979]: [I]-[ril.proatc]SW_V5431_Air202_LUA_SSL_TTS
[2018-09-15 11:10:29.980]: [I]-[ril.proatc]
[2018-09-15 11:10:29.982]: [I]-[ril.proatc]OK
[2018-09-15 11:10:29.983]: [I]-[ril.sendat]AT+ATWMFT=99
[2018-09-15 11:10:29.986]: [I]-[ril.proatc]
[2018-09-15 11:10:29.987]: [I]-[ril.proatc]SUCC
[2018-09-15 11:10:29.988]: [I]-[ril.proatc]
[2018-09-15 11:10:29.989]: [I]-[ril.proatc]OK
[2018-09-15 11:10:29.990]: [I]-[misc.ATWMFT]SUCC
[2018-09-15 11:10:29.992]: [I]-[ril.sendat]AT+WISN?
[2018-09-15 11:10:29.993]: [I]-[ril.proatc]
[2018-09-15 11:10:29.995]: [I]-[ril.proatc]B6ktrn6131398871
[2018-09-15 11:10:29.997]: [I]-[ril.proatc]
[2018-09-15 11:10:29.998]: [I]-[ril.proatc]OK
[2018-09-15 11:10:30.000]: [I]-[ril.sendat]AT+CGSN
[2018-09-15 11:10:30.001]: [I]-[ril.proatc]
[2018-09-15 11:10:30.003]: [I]-[ril.proatc]869300036305294
[2018-09-15 11:10:30.005]: [I]-[ril.proatc]
[2018-09-15 11:10:30.006]: [I]-[ril.proatc]OK
[2018-09-15 11:10:30.007]: [I]-[ril.sendat]AT+MUID?
[2018-09-15 11:10:30.008]: [I]-[ril.proatc]
[2018-09-15 11:10:30.010]: [I]-[ril.proatc]+MUID: "20180710080439A028869A3391432615"
[2018-09-15 11:10:30.012]: [I]-[ril.proatc]
[2018-09-15 11:10:30.013]: [I]-[ril.proatc]OK
[2018-09-15 11:10:30.014]: [I]-[ril.sendat]AT+CSQ
[2018-09-15 11:10:30.015]: [I]-[ril.proatc]
[2018-09-15 11:10:30.019]: [I]-[ril.proatc]+CSQ: 0,0
[2018-09-15 11:10:30.020]: [I]-[ril.proatc]
[2018-09-15 11:10:30.021]: [I]-[ril.proatc]OK
[2018-09-15 11:10:30.023]: [I]-[ril.sendat]AT+CENG?
[2018-09-15 11:10:30.025]: [I]-[ril.proatc]
[2018-09-15 11:10:30.027]: [I]-[ril.proatc]+CENG:1,1
[2018-09-15 11:10:30.030]: [I]-[ril.proatc]+CENG:0,"0000,
[2018-09-15 11:10:30.031]: [I]-[ril.proatc]
[2018-09-15 11:10:30.034]: [I]-[ril.proatc]OK
[2018-09-15 11:10:30.757]: [I]-[wdt.taskWdt]AirM2M <-- WatchDog : OK
[2018-09-15 11:10:30.842]: [I]-[ril.proatc]
[2018-09-15 11:10:30.848]: [I]-[ril.proatc]+CSIMTYPE: 1,0
[2018-09-15 11:10:30.854]: [I]-[ril.defurc]+CSIMTYPE: 1,0
[2018-09-15 11:10:33.275]: [I]-[ril.proatc]
[2018-09-15 11:10:33.287]: [I]-[ril.proatc]+CREG: 3
[2018-09-15 11:10:33.292]: [I]-[ril.sendat]AT+CSQ
[2018-09-15 11:10:33.298]: [I]-[ril.proatc]
[2018-09-15 11:10:33.303]: [I]-[ril.proatc]+CSQ: 31,0
[2018-09-15 11:10:33.309]: [I]-[ril.proatc]
[2018-09-15 11:10:33.314]: [I]-[ril.proatc]OK
[2018-09-15 11:10:35.312]: [I]-[ril.proatc]
[2018-09-15 11:10:35.324]: [I]-[ril.proatc]+ENCRET: 0
[2018-09-15 11:10:35.332]: [I]-[ril.defurc]+ENCRET: 0
[2018-09-15 11:10:35.335]: [I]-[ril.proatc]
[2018-09-15 11:10:35.337]: [I]-[ril.proatc]+CPIN: READY
[2018-09-15 11:10:35.343]: [I]-[ril.sendat]AT+CCID
[2018-09-15 11:10:35.346]: [I]-[SIM.subscribe]nilRDY
[2018-09-15 11:10:35.349]: [I]-[ril.proatc]
[2018-09-15 11:10:35.351]: [I]-[ril.proatc]898600e615184a492049
[2018-09-15 11:10:35.356]: [I]-[ril.proatc]
[2018-09-15 11:10:35.359]: [I]-[ril.proatc]OK
[2018-09-15 11:10:35.362]: [I]-[ril.sendat]AT+CIMI
[2018-09-15 11:10:35.363]: [I]-[ril.proatc]
[2018-09-15 11:10:35.364]: [I]-[ril.proatc]460027636693061
[2018-09-15 11:10:35.366]: [I]-[ril.proatc]
[2018-09-15 11:10:35.367]: [I]-[ril.proatc]OK
[2018-09-15 11:10:40.561]: [I]-[ril.proatc]
[2018-09-15 11:10:40.568]: [I]-[ril.proatc]CALL READY
[2018-09-15 11:10:40.573]: [I]-[ril.defurc]CALL READY
[2018-09-15 11:10:40.576]: [I]-[ril.proatc]
[2018-09-15 11:10:40.586]: [I]-[ril.proatc]+CREG: 1,"636D","D099"
[2018-09-15 11:10:40.594]: [I]-[ril.sendat]AT+CSQ
[2018-09-15 11:10:40.600]: [I]-[ril.proatc]
[2018-09-15 11:10:40.620]: [I]-[ril.proatc]+CSQ: 31,0
[2018-09-15 11:10:40.632]: [I]-[ril.proatc]
[2018-09-15 11:10:40.638]: [I]-[ril.proatc]OK
[2018-09-15 11:10:40.643]: [I]-[ril.sendat]AT+CENG?
[2018-09-15 11:10:40.651]: [I]-[ril.proatc]
[2018-09-15 11:10:40.656]: [I]-[ril.proatc]+CENG:1,1
[2018-09-15 11:10:40.661]: [I]-[ril.proatc]+CENG:0,"0033,31,99,460,00,09,53401,14,05,25453,01"
[2018-09-15 11:10:40.668]: [I]-[ril.proatc]+CENG:1,"37,28,460,0,28,0,21347"
[2018-09-15 11:10:40.672]: [I]-[ril.proatc]+CENG:2,"25,19,460,0,56,60851,25453"
[2018-09-15 11:10:40.675]: [I]-[ril.proatc]
[2018-09-15 11:10:40.678]: [I]-[ril.proatc]OK
[2018-09-15 11:10:40.685]: [I]-[ril.sendat]AT+CIICRMODE=2
[2018-09-15 11:10:40.688]: [I]-[ril.proatc]
[2018-09-15 11:10:40.690]: [I]-[ril.proatc]OK
[2018-09-15 11:10:40.692]: [I]-[ril.defrsp]AT+CIICRMODE=2trueOKnil
[2018-09-15 11:10:40.701]: [I]-[ril.sendat]AT+CIPMUX=1
[2018-09-15 11:10:40.703]: [I]-[ril.proatc]
[2018-09-15 11:10:40.705]: [I]-[ril.proatc]OK
[2018-09-15 11:10:40.708]: [I]-[ril.defrsp]AT+CIPMUX=1trueOKnil
[2018-09-15 11:10:40.716]: [I]-[ril.sendat]AT+CIPHEAD=1
[2018-09-15 11:10:40.719]: [I]-[ril.proatc]
[2018-09-15 11:10:40.721]: [I]-[ril.proatc]OK
[2018-09-15 11:10:40.723]: [I]-[ril.defrsp]AT+CIPHEAD=1trueOKnil
[2018-09-15 11:10:40.732]: [I]-[ril.sendat]AT+CIPQSEND=0
[2018-09-15 11:10:40.735]: [I]-[ril.proatc]
[2018-09-15 11:10:40.737]: [I]-[ril.proatc]OK
[2018-09-15 11:10:40.740]: [I]-[ril.defrsp]AT+CIPQSEND=0trueOKnil
[2018-09-15 11:10:40.748]: [I]-[ril.sendat]AT+CGATT?
[2018-09-15 11:10:40.750]: [I]-[ril.proatc]
[2018-09-15 11:10:40.752]: [I]-[ril.proatc]+CGATT: 0
[2018-09-15 11:10:40.755]: [I]-[ril.proatc]
[2018-09-15 11:10:40.758]: [I]-[ril.proatc]OK
[2018-09-15 11:10:42.666]: [I]-[ril.sendat]AT+CGATT?
[2018-09-15 11:10:42.682]: [I]-[ril.proatc]
[2018-09-15 11:10:42.688]: [I]-[ril.proatc]+CGATT: 0
[2018-09-15 11:10:42.700]: [I]-[ril.proatc]
[2018-09-15 11:10:42.705]: [I]-[ril.proatc]OK
[2018-09-15 11:10:44.695]: [I]-[ril.sendat]AT+CGATT?
[2018-09-15 11:10:44.712]: [I]-[ril.proatc]
[2018-09-15 11:10:44.721]: [I]-[ril.proatc]+CGATT: 1
[2018-09-15 11:10:44.728]: [I]-[ril.proatc]
[2018-09-15 11:10:44.734]: [I]-[ril.proatc]OK
[2018-09-15 11:10:44.740]: [I]-[ril.sendat]AT+CIPSTATUS
[2018-09-15 11:10:44.745]: [I]-[ril.proatc]
[2018-09-15 11:10:44.749]: [I]-[ril.proatc]OK
[2018-09-15 11:10:44.752]: [I]-[ril.defrsp]AT+CIPSTATUStrueOKnil
[2018-09-15 11:10:44.755]: [I]-[ril.proatc]
[2018-09-15 11:10:44.757]: [I]-[ril.proatc]STATE: IP INITIAL
[2018-09-15 11:10:44.760]: [I]-[link.STATE]IP STATUSIP INITIAL
[2018-09-15 11:10:44.762]: [I]-[ril.proatc]
[2018-09-15 11:10:44.765]: [I]-[ril.proatc]C: 0,,"","","","INITIAL"
[2018-09-15 11:10:44.767]: [I]-[ril.defurc]C: 0,,"","","","INITIAL"
[2018-09-15 11:10:44.769]: [I]-[ril.proatc]C: 1,,"","","","INITIAL"
[2018-09-15 11:10:44.770]: [I]-[ril.defurc]C: 1,,"","","","INITIAL"
[2018-09-15 11:10:44.774]: [I]-[ril.proatc]C: 2,,"","","","INITIAL"
[2018-09-15 11:10:44.775]: [I]-[ril.defurc]C: 2,,"","","","INITIAL"
[2018-09-15 11:10:44.777]: [I]-[ril.proatc]C: 3,,"","","","INITIAL"
[2018-09-15 11:10:44.779]: [I]-[ril.defurc]C: 3,,"","","","INITIAL"
[2018-09-15 11:10:44.781]: [I]-[ril.proatc]C: 4,,"","","","INITIAL"
[2018-09-15 11:10:44.783]: [I]-[ril.defurc]C: 4,,"","","","INITIAL"
[2018-09-15 11:10:44.785]: [I]-[ril.proatc]C: 5,,"","","","INITIAL"
[2018-09-15 11:10:44.787]: [I]-[ril.defurc]C: 5,,"","","","INITIAL"
[2018-09-15 11:10:44.813]: [I]-[ril.proatc]C: 6,,"","","","INITIAL"
[2018-09-15 11:10:44.815]: [I]-[ril.defurc]C: 6,,"","","","INITIAL"
[2018-09-15 11:10:44.818]: [I]-[ril.proatc]C: 7,,"","","","INITIAL"
[2018-09-15 11:10:44.820]: [I]-[ril.defurc]C: 7,,"","","","INITIAL"
[2018-09-15 11:10:44.823]: [I]-[ril.sendat]AT+CSTT="CMIOT","",""
[2018-09-15 11:10:44.825]: [I]-[ril.proatc]
[2018-09-15 11:10:44.829]: [I]-[ril.proatc]OK
[2018-09-15 11:10:44.831]: [I]-[ril.defrsp]AT+CSTT="CMIOT","",""trueOKnil
[2018-09-15 11:10:44.833]: [I]-[ril.sendat]AT+CIICR
[2018-09-15 11:10:44.835]: [I]-[ril.proatc]
[2018-09-15 11:10:44.839]: [I]-[ril.proatc]OK
[2018-09-15 11:10:44.841]: [I]-[ril.defrsp]AT+CIICRtrueOKnil
[2018-09-15 11:10:45.414]: [I]-[ril.proatc]
[2018-09-15 11:10:45.430]: [I]-[ril.proatc]STATE: IP GPRSACT
[2018-09-15 11:10:45.438]: [I]-[link.STATE]IP STATUSIP GPRSACT
[2018-09-15 11:10:45.445]: [I]-[ril.sendat]AT+CIFSR
[2018-09-15 11:10:45.450]: [I]-[ril.proatc]
[2018-09-15 11:10:45.454]: [I]-[ril.proatc]100.121.243.153
[2018-09-15 11:10:45.458]: [I]-[ril.defrsp]AT+CIFSRtruenil100.121.243.153
[2018-09-15 11:10:45.461]: [I]-[ril.sendat]AT+CIPSTATUS
[2018-09-15 11:10:45.466]: [I]-[ril.proatc]
[2018-09-15 11:10:45.469]: [I]-[ril.proatc]OK
[2018-09-15 11:10:45.473]: [I]-[ril.defrsp]AT+CIPSTATUStrueOKnil
[2018-09-15 11:10:45.475]: [I]-[ril.proatc]
[2018-09-15 11:10:45.479]: [I]-[ril.proatc]STATE: IP STATUS
[2018-09-15 11:10:45.481]: [I]-[link.STATE]IP STATUSIP STATUS
[2018-09-15 11:10:45.483]: [I]-[ril.proatc]
[2018-09-15 11:10:45.485]: [I]-[ril.proatc]C: 0,,"","","","INITIAL"
[2018-09-15 11:10:45.487]: [I]-[ril.defurc]C: 0,,"","","","INITIAL"
[2018-09-15 11:10:45.490]: [I]-[ril.proatc]C: 1,,"","","","INITIAL"
[2018-09-15 11:10:45.492]: [I]-[ril.defurc]C: 1,,"","","","INITIAL"
[2018-09-15 11:10:45.494]: [I]-[ril.proatc]C: 2,,"","","","INITIAL"
[2018-09-15 11:10:45.498]: [I]-[ril.defurc]C: 2,,"","","","INITIAL"
[2018-09-15 11:10:45.500]: [I]-[ril.proatc]C: 3,,"","","","INITIAL"
[2018-09-15 11:10:45.502]: [I]-[ril.defurc]C: 3,,"","","","INITIAL"
[2018-09-15 11:10:45.505]: [I]-[ril.proatc]C: 4,,"","","","INITIAL"
[2018-09-15 11:10:45.507]: [I]-[ril.defurc]C: 4,,"","","","INITIAL"
[2018-09-15 11:10:45.512]: [I]-[ril.proatc]C: 5,,"","","","INITIAL"
[2018-09-15 11:10:45.515]: [I]-[ril.defurc]C: 5,,"","","","INITIAL"
[2018-09-15 11:10:45.517]: [I]-[ril.proatc]C: 6,,"","","","INITIAL"
[2018-09-15 11:10:45.519]: [I]-[ril.defurc]C: 6,,"","","","INITIAL"
[2018-09-15 11:10:45.521]: [I]-[ril.proatc]C: 7,,"","","","INITIAL"
[2018-09-15 11:10:45.523]: [I]-[ril.defurc]C: 7,,"","","","INITIAL"
[2018-09-15 11:10:45.527]: [I]-[ril.sendat]AT+CIPSTART=7,"UDP","ota.airm2m.com",9072
[2018-09-15 11:10:46.438]: [I]-[ril.proatc]
[2018-09-15 11:10:46.453]: [I]-[ril.proatc]OK
[2018-09-15 11:10:46.461]: [I]-[ril.sendat]AT+CIPSTART=6,"TCP","jkang.ren",40046
[2018-09-15 11:10:46.466]: [I]-[ril.proatc]
[2018-09-15 11:10:46.469]: [I]-[ril.proatc]7, CONNECT OK
[2018-09-15 11:10:46.695]: [I]-[ril.proatc]
[2018-09-15 11:10:46.712]: [I]-[ril.proatc]OK
[2018-09-15 11:10:46.722]: [I]-[ril.sendat]AT+CIPSEND=7,234
[2018-09-15 11:10:46.729]: [I]-[ril.proatc]
[2018-09-15 11:10:46.736]: [I]-[ril.proatc]> 
[2018-09-15 11:10:46.738]: [I]-[ril.procatc.send]first 200 bytesSOCKET_LONG_CONNECTION_TRANSPARENT_Luat_V0027_8955_SSL_TTS,2.0.0,869300036305294,B6ktrn6
[2018-09-15 11:10:46.741]: 131398871,/lua/mcuUart.lua:22: invalid format
程序运行错误,请根据上方提示,找到对应lua文件修改程序
[2018-09-15 11:10:46.745]: stack traceback:
[2018-09-15 11:10:46.753]: [C]: in function 'read'
[2018-09-15 11:10:46.757]: /lua/mcuUart.lua:22: i

请先 登录 后评论

1 个回答

技术销售Delectate
擅长:IT

请把您的mcuUart.lua贴出来。

如果是最新版的luatask的mcuUart.lua,22行是如下内容:

            uart.on(uartID,"receive",function() sys.publish("UART_RECEIVE") end)

不会产生这个错误的。

请先 登录 后评论
  • 0 关注
  • 0 收藏,1829 浏览
  • rainmakersk 提出于 2018-09-15 11:12

相似问题