一代机场,设备离线mqtt数据发送不对
Completed无人机和机场固件版本
在设备离线时,依然发的是设备上线时的数据结构,无法判断设备是否离线,而不是规定的sub_devices:[]
//sub_devices online
{
"tid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"bid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"method": "update_topo",
"timestamp": 1234567890123,
"data": {
"domain": "3",
"type": 119,
"sub_type": 0,
"device_secret": "secret",
"nonce": "nonce",
"thing_version": "1.1.2",
"sub_devices": [
{
"sn": "drone001",
"domain": "0",
"type": 60,
"sub_type": 0,
"index": "A",
"device_secret": "secret",
"nonce": "nonce",
"thing_version": "1.1.2"
}
]
}
-
尊敬的开发者, 您好,感谢您联系DJI 大疆创新。 几秒的误差可以忽略s。不是固件bug,demo是根据设备逻辑开发的,如果觉得消息响应延迟可以自行优化下后端的下线代码,以下是相关文档: 4.1 设备上云(https://sdk-forum.dji.net/hc/zh-cn/articles/22307029557657) 希望我们的解决方案能够帮到您,感谢您的邮件,祝您生活愉快! Best Regards, DJI 大疆创新SDK技术支持
Please sign in to leave a comment.
Comments
4 comments