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
posta 2 anni fa304 visualizzazioni
1 Risposta
1
Risposta accettata

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
ESPERTO
Greg_B
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande