SuperHouse / esp-open-rtos

Open source FreeRTOS-based ESP8266 software framework
BSD 3-Clause "New" or "Revised" License
1.52k stars 491 forks source link

OTA Question #726

Closed kiralikbeyin closed 4 years ago

kiralikbeyin commented 4 years ago

https://github.com/SuperHouse/esp-open-rtos/blob/master/examples/http_client_ota/http_get.c

http_client_ota Example works with local ip address..

I tried to put blink.bin file on a firebase hosting also to a github repo but couldnt update it..

Tried these only local ip worked..

define BINARY_PATH "/blink.bin"

define BINARY_PATH "https://testxxx.firebaseapp.com/blink.bin"

define BINARY_PATH "https://github.com/kiralikbeyin/html/raw/master/blink.bin"

define SHA256_PATH NULL //bypass sha256

define SERVER "192.168.43.107" //local ip works fine

define SERVER "140.82.118.4" //github

define SERVER "testxxx.web.app"

define SERVER "151.101.65.195" //firebase

kiralikbeyin commented 4 years ago

because github, firebase returns 301