Page 1 of 1

OTA using push architecture

Posted: Fri Mar 15, 2019 11:15 pm
by mikemoy
I have been looking for a OTA method for pushing firmware to my devices.
I found this: https://github.com/yanbe/esp-idf-ota-template
I was wondering if anyone has used it, and could offer any help.
The code compiles and runs fine, but my problem in on the PC side. When he says "make ota ESP32_IP=192.168.0.3" is where the problem starts. My device has an IP of 192.168.0.3, but it seems make does not understand the option for "ESP32_IP=192.168.0.3".

Any ideas ?

Re: OTA using push architecture

Posted: Sat Mar 16, 2019 2:00 am
by chegewara
Did you do last step with makefile?
https://github.com/yanbe/esp-idf-ota-te ... /README.md

Re: OTA using push architecture

Posted: Sat Mar 16, 2019 2:05 am
by mikemoy
I did not at the time I posted this. I am in the middle of getting it working. I needed to basically do this in the shell for it to work.
It now works, but I am making sure I have the curl formatted properly.

curl -v 192.168.0.3:8032 --data-binary @- < Release/simple_ota.bin