Is there any app to upgrade the code by using OTA?
Is there any app to upgrade the code by using OTA?
Dear anyone:
I have a project which must upgrad through OTA, so Is there any app or demo to upgrade the code by using OTA?For example, nrf Toolbox is very useful app to upgrade code for NRF51822. And what I need app is like the nrf Toolbox.Thank you.
Best wishes!
Daniel.
I have a project which must upgrad through OTA, so Is there any app or demo to upgrade the code by using OTA?For example, nrf Toolbox is very useful app to upgrade code for NRF51822. And what I need app is like the nrf Toolbox.Thank you.
Best wishes!
Daniel.
Last edited by Daniel on Wed Mar 21, 2018 1:05 am, edited 1 time in total.
Re: Is there any app to upgrade the code by using OTA?
Hi Daniel,
do you mean just a demo or a app running on smartphone?
If you means just a OTA demo:
is a demo update esp32 from a simple http webserver.
cheers
gfast2
do you mean just a demo or a app running on smartphone?
If you means just a OTA demo:
Code: Select all
~/esp/esp-idf/examples/system/ota
cheers
gfast2
Re: Is there any app to upgrade the code by using OTA?
Dear gfast2Gfast2 wrote:Hi Daniel,
do you mean just a demo or a app running on smartphone?
If you means just a OTA demo:is a demo update esp32 from a simple http webserver.Code: Select all
~/esp/esp-idf/examples/system/ota
cheers
gfast2
Thank you very much for your reply.The demo does not seem to be so easy to upgrade code as I image.If the customers want to upgrade the program, it's not so convenient.So,Is there a more convenient app running on smartphone ?Thanks.
Re: Is there any app to upgrade the code by using OTA?
You can modify demo code a bit and write some client app on android or iPhone that can let user to provide server address and port, path and file name that will be used to OTA update.
This is my OTA example which is based on OTA demo:
https://github.com/chegewara/esp32-ota-with-ble-setup
and this is simple demo app on android that works with esp32 code:
https://play.google.com/store/apps/deta ... 2_ota_demo
(sometimes can be issue to update from this app because all bin images are hosted on my home server)
This is my OTA example which is based on OTA demo:
https://github.com/chegewara/esp32-ota-with-ble-setup
and this is simple demo app on android that works with esp32 code:
https://play.google.com/store/apps/deta ... 2_ota_demo
(sometimes can be issue to update from this app because all bin images are hosted on my home server)
- Vader_Mester
- Posts: 300
- Joined: Tue Dec 05, 2017 8:28 pm
- Location: Hungary
- Contact:
Re: Is there any app to upgrade the code by using OTA?
Maaaaaaaaan this is something I was looking for, for a long time!chegewara wrote:You can modify demo code a bit and write some client app on android or iPhone that can let user to provide server address and port, path and file name that will be used to OTA update.
This is my OTA example which is based on OTA demo:
https://github.com/chegewara/esp32-ota-with-ble-setup
and this is simple demo app on android that works with esp32 code:
https://play.google.com/store/apps/deta ... 2_ota_demo
(sometimes can be issue to update from this app because all bin images are hosted on my home server)
Code: Select all
task_t coffeeTask()
{
while(atWork){
if(!xStreamBufferIsEmpty(mug)){
coffeeDrink(mug);
} else {
xTaskCreate(sBrew, "brew", 9000, &mug, 1, NULL);
xSemaphoreTake(sCoffeeRdy, portMAX_DELAY);
}
}
vTaskDelete(NULL);
}
Re: Is there any app to upgrade the code by using OTA?
Feel free to reuse it, modify or do whatever you want.Vader_Mester wrote: Maaaaaaaaan this is something I was looking for, for a long time!
Re: Is there any app to upgrade the code by using OTA?
Thank you very much.That's what I want .You do better than the official.But I can't successfully compile the source code. ,It looks like the file CPPNVS.h is missing .chegewara wrote:You can modify demo code a bit and write some client app on android or iPhone that can let user to provide server address and port, path and file name that will be used to OTA update.
This is my OTA example which is based on OTA demo:
https://github.com/chegewara/esp32-ota-with-ble-setup
and this is simple demo app on android that works with esp32 code:
https://play.google.com/store/apps/deta ... 2_ota_demo
(sometimes can be issue to update from this app because all bin images are hosted on my home server)
Re: Is there any app to upgrade the code by using OTA?
Hi,
you need to use this library in place components/cpp_utils
https://github.com/nkolban/esp32-snippe ... /cpp_utils
you need to use this library in place components/cpp_utils
https://github.com/nkolban/esp32-snippe ... /cpp_utils
Re: Is there any app to upgrade the code by using OTA?
chegewara wrote:Hi,
you need to use this library in place components/cpp_utils
https://github.com/nkolban/esp32-snippe ... /cpp_utils
Thank you very much, although I didn't make it like you said. That is your code not mine.
Re: Is there any app to upgrade the code by using OTA?
It does not matter how you do it, the only matter is if it works for you.
Who is online
Users browsing this forum: Bing [Bot] and 67 guests