My application uses Google Cloud Platform IoT along with the ESP-IDF HTTPS OTA library. The OTA process works fine, however I am unable to send or receive MQTT during the HTTPS download. MQTT transactions continue as soon as the OTA session closes.
Am I hitting a limit to the number of simultaneous connections allowed? Is there a way around this? I would like to be able to send status information during the OTA upgrade.
Thanks,
Mike
MQTT during HTTPS OTA download
Re: MQTT during HTTPS OTA download
Never mind. Problem was due to the fact that I was initiating the OTA process inside the MQTT subscription callback, and was therefore blocking MQTT processing. Moved it to its own task and problem solved.
Who is online
Users browsing this forum: No registered users and 111 guests