AWS OTA with Custom Publish and Subscribe

0

I'm trying to implement AWS OTA; however, I am using the Quectel modem's built-in Publish and Subscribe. I have a wrapper around collecting subscription data and publishing. Does anyone have some insight on how to connect a custom pub/sub to the aws ota agent?

hans
질문됨 2년 전304회 조회
1개 답변
1
수락된 답변

Hi hans. The OTA library has several dependencies that need to be satisfied to port it: https://freertos.org/Documentation/api-ref/ota-for-aws-iot-embedded-sdk/docs/doxygen/output/html/index.html#ota_dependencies

This is the MQTT interface: https://freertos.org/Documentation/api-ref/ota-for-aws-iot-embedded-sdk/docs/doxygen/output/html/ota_mqtt_interface.html

So instead of using coreMQTT, you could develop your own MQTT implementation around the Quectel, so long as it offers a matching interface.

You can find an OTA demo here: https://github.com/aws/aws-iot-device-sdk-embedded-C/tree/main/demos/ota/ota_demo_core_mqtt. And an example of the setup of the interface here:

That all said, and without knowing the details of which Quectel modem you're using, I'm wondering if this is the best way forward? A lot of work has already been done with the Quectel BG96 to abstract at the TCP level rather than MQTT:

profile pictureAWS
전문가
Greg_B
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠