I managed to do ota using wifi but I cant do it using cellular connection. How to start the flow? is there any documents I can refer for the code or AT commands for me to able do OTA for esp32 using quectel bg95?
please somebody help me out
Are you planning to upgrade the mcu?
If yes, BG95 cannot directly support the mcu upgrade, you can use HTTP or TCP and other application protocols to transmit the mcu upgrade package
Yes, I’m planning to do firmware update on esp32 using cellular data through quectel bg95-m3. But i’m not sure how to do it. I see a few option as example ppp or using HTTP(S) application. I tried but it seems I dont know how to linked between these. I managed to read like I (122727) TEST: Wrote 16 bytes: AT+QHTTPREAD=80
I (123737) TEST: Received 42 bytes:
OK
+QHTTPREAD: 0 but I dont know how to proceed
I have sent you the documents
There is no enough space in the BG95M3. So that even we can access the internet in the ESP32 we cannot use the WIFI of the ESP32 to set up the OTA for the BG95M3.
You can only follow the DFOTA guide of the BG95 and use the AT command
AT+QFOTADL=“HTTP_URL” for the upgrade for the BG95.
For detailed steps, it is already described in the guide of the DFOTA. I think it is better to test it on your PC first.
I think you misunderstand. I don’t want to do ota for BG95M3. The OTA is for esp32 but by using cellular data through BG95M3. ESP32 is not capable to have cellular data. That is why i’m thinking to make bg95m3 as a ppp device or maybe some other method to enable esp32 to do ota through cellular data (GSM/NBIOT).
ESP32S3
GitHub - espressif/esp-iot-solution: Espressif IoT Library. IoT Device Drivers, Documentations and Solutions.
examples/usb/host/usb_cdc_4g_module
I am not sure it is what you want.
Thank you soo much for the documents. I will go through all the documents
I will try on this. Thank you
