ESP-MQTT usage for OTA updates
Posted: Wed Dec 13, 2023 8:27 pm
Hello,
I am trying to determine if the esp-mqtt library is suitable to use for OTA updates via MQTT. The question arose as a result of viewing this other forum post:
viewtopic.php?f=2&p=122070.
It seems that I should generally avoid using the esp-aws-iot library, though AWS has specific documentation pertaining to OTA when using coreMQTT. I cannot find any documentation related to esp-mqtt and OTA specifically though.
Does anybody have any insight into this? Might it be easier to just use esp-aws-iot in this instance? Would using both esp-aws-iot, specifically for OTA, and esp-mqtt, for other MQTT messages, within the same project be an acceptable and easier approach?
Thanks,
Brandon
I am trying to determine if the esp-mqtt library is suitable to use for OTA updates via MQTT. The question arose as a result of viewing this other forum post:
viewtopic.php?f=2&p=122070.
It seems that I should generally avoid using the esp-aws-iot library, though AWS has specific documentation pertaining to OTA when using coreMQTT. I cannot find any documentation related to esp-mqtt and OTA specifically though.
Does anybody have any insight into this? Might it be easier to just use esp-aws-iot in this instance? Would using both esp-aws-iot, specifically for OTA, and esp-mqtt, for other MQTT messages, within the same project be an acceptable and easier approach?
Thanks,
Brandon