1 回答
- 最新
- 投票最多
- 评论最多
0
【以下的回答经过翻译处理】 嗨,汉斯。OTA库有几个依赖项需要满足才能移植它:https://freertos.org/Documentation/api-ref/ota-for-aws-iot-embedded-sdk/docs/doxygen/output/html/index.html#ota_dependencies
因此,您可以开发自己的MQTT实现,并在Quectel周围提供匹配的接口,而不是使用 coreMQTT。
您可以在此处找到OTA演示:https://github.com/aws/aws-iot-device-sdk-embedded-C/tree/main/demos/ota/ota_demo_core_mqtt。这里是接口设置的示例:
- https://github.com/aws/aws-iot-device-sdk-embedded-C/blob/main/demos/ota/ota_demo_core_mqtt/ota_demo_core_mqtt.c#L1507-L1521
- https://github.com/aws/aws-iot-device-sdk-embedded-C/blob/main/demos/ota/ota_demo_core_mqtt/ota_demo_core_mqtt.c#L1435-L1462
话虽如此,如果不知道您使用的是哪个Quectel调制解调器的详细信息,我在想这是否是前进的最佳方式?已经做了很多使用Quectel BG96在TCP级别而不是MQTT抽象化的工作:
相关内容
- AWS 官方已更新 3 年前