待解决
已受理
待回复
完成
Question title : aptu V2.0.0在移远OTA平台升级不成功
Work order Number : O13812986357000
Work order type : 入门
Submission time : 2022-08-25 14:27:24
Work order status : 完成
Contact information : Email
Contact information : all******n@thinckin.com

Communication record

  • 问题描述:
    使用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
  • Anonymous users :

    运行这个代码之后,一直在运行这几步代码:代码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

Waiting for your appraise