Skip to content

OTA update from github url #1021

Closed
Closed
@mmiscool

Description

@mmiscool

Hello,

Git hub seems to do every thing over https and i was hoping to use the ota functionality to download from there. Is there a way to make ota work over https or a methos to get a regular http download from git hub?

        t_httpUpdate_return  ret = ESPhttpUpdate.update("github.com", 80, "/esp8266/Basic/raw/master/Flasher/Build/4M/ESP8266Basic.cpp.bin");

        switch (ret) {
          case HTTP_UPDATE_FAILD:
            Serial.println("HTTP_UPDATE_FAILD");
            break;

          case HTTP_UPDATE_NO_UPDATES:
            Serial.println("HTTP_UPDATE_NO_UPDATES");
            break;

          case HTTP_UPDATE_OK:
            Serial.println("HTTP_UPDATE_OK");
            break;
        }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions