问题标题 : aptu V2.0.0在移远OTA平台升级不成功
工单编号 : O13812986357000 工单类型 : 入门 提交时间 : 2022-08-25 14:27:24 工单状态 : 完成
联系方式 : 邮件 联系信息 : allen.chen@thinckin.com
问题描绘
问题描述: 使用APTU V2.0.0的python脚本,在移远平台升级,qpycom打印了 example.exec('usr/aptu.py') *_NAME: APTU *_VERSION: V2.0.0 UART init done ======= =========================================== *_NAME : APTU *_VERSION : V2.0.0 FIRMWARE_VERSION : EC600NCNLAR01A09M08_OCPU_QPY POWERON_REASON : 1 SIM_CARD_STATUS : 1 ================================================== datacall done [init start] QuecThing Work State: 0, quecIot.getConnmode(): None [init start] PK: p11nRJ, PS: OS94bWtVWVpwK2JZ, DK: 865061059113676, DS: , SERVER: iot-south.quectel.com:1883 [*nt-ErrCode-Msg][2][10200][Access is successful.] *ntData[b''] [*nt-ErrCode-Msg][3][10200][Subscription succeeded.] *ntData[b''] [init over] QuecThing Work State: 8, quecIot.getConnmode(): 1 >>> down transaction thread working ... up transaction thread working ... 移远平台上显示设备在线了,但没有显示升级成功,升级成功0,未升级2
沟通记录
客服 - chic.ye : 已收到您的工单,我们将会尽快安排人手进行处理。 2022-08-25 16:20:10
客服 - chic.ye :

内部确认一下

2022-08-25 16:20:20
客服 - chic.ye :

aptu_220826.zip

参考这份代码

2022-08-26 14:00:08
用户 :

运行这个代码之后,一直在运行这几步代码:代码1.jpg

我在代码里加入打印监控信息如下:

(, ):
    .__ota.get_status():
        ()
        .__ota.init()
    .__ota.device_report()
    ()
    .__ota.ota_request()
    ()

运行APTU.PY的时候,qpycom一直在打印如下信息,感觉没有触发OTA升级,平台显示设备在线,但未升级,升级成功0:

QCPYCOM打印信息.jpg

2022-08-26 17:19:10