Luat_2G_RDA_8955
Luat_2G_RDA_8955 copied to clipboard
Luat 2G开源项目,适用于Air202、Air800、Air201等,已经停止维护
更新V0038版内核后串口1输出不正常,从示波器上看,数据输出过程中会被打断,一包10字节的数据输出会被拆成3~4段,造成输出数据错误
解析长短信失败
测试接收含3个以上包组成的长短信时,发现`sms.lua`中`longsmsmergecnf`方法里的`common.ucs2beToGb2312`似乎无响应。也就是下面的`beforemsg`日志能打印,但`aftermsg`未打印。 ``` local function longsmsmergecnf(res,num,data,datetime) --log.info("longsmsmergecnf",num,data,datetime) if data then --短信内容转换为GB2312字符串格式 log.info("beforemsg:",data) data = common.ucs2beToGb2312(data:fromHex()) log.info("aftermsg:",data) --用户应用程序处理短信 if newsmscb then newsmscb(num,data,datetime) end end end ``` 两个包长短信似乎有的可以有的也会失败。 我的LOD版本是`Luat_V0035_8955_SSL`。用LuaTools 1.6.4写入lua脚本。 下面是部分日志: ``` [2020-02-21...
版本号:Luat_V0035_8955_XXX.lod 发布时间:2019/07/24 14:15 修改记录: (1)修正“aes和des加密时,不填充方式加密错误”的问题 (2)修正“aes和des加密时内存泄漏”的问题 (3)新增pio.pin.setbounce接口,可设置中断防抖时间;在设置中断前调用有效,例如pio.pin.setbounce(10),表示中断防抖时间为10ms pio.pin.setbounce 函数名称写错了,setdebounce
``` [2019-03-01 11:21:31.029]: [platform_rtos_start_timer]: create timer failed. [2019-03-01 11:21:31.031]: [D]-[rtos.timer_start error] ``` 板子运行一段时间后一直重复出现上面的日志,然后sys.waitUntil(msg, ms)函数开始一直调用异常,请问有什么调试手段?
使用assert可以捕获到loadstring的详细报错信息,并通过回调打印出来。 注意,loadstring()加载类似【a=10】这种单条赋值语句时候,需要在后面追加空格字符,以避免报错“malformed number...”。
https://github.com/openLuat/Luat_2G_RDA_8955/blob/bc9ffd5edf95a628e7ab9cf99bc33f3af7cce0e1/script_LuaTask/lib/gpsv2.lua#L205C7-L205C7 It seems that the file can be downloaded for a long time, but the file information remains the same. Is the file generator server not working properly?
你好 “gps goke”芯片的AGPS服务器已经宕机几天了。 谁能提供创建 GPD 文件的解决方案?