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
gefragt vor 2 Jahren304 Aufrufe
1 Antwort
1
Akzeptierte Antwort

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
EXPERTE
Greg_B
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen