Skip to content

Semantic versioning, certificates and authorization #88

@kiliw

Description

@kiliw

I- Arduino board: ESP32 WROOM 32

  • Arduino IDE version (found in Arduino -> About Arduino menu): 1.8.6

  • List the steps to reproduce the problem below (if possible attach a sketch or
    copy the sketch code in too):

Thanks for the great repo and examples. I used your https without root cert as a base to start working on. I now have a couple of questions, though.
Performing updates from version 1 > 2 and further worked fine. Since semantic versioning is supported I thought I might switch to "0.0.1" > "0.0.2" which also worked, but now from "0.0.2" > "0.0.3" it says no update available. I double-checked that I had a new bin file and also updated the json file
Would it do an update if the json states a new version but the bin is still the old?

version 0.0.2

esp32FOTA esp32FOTA("esp32-fota-http", "0.0.2", false, true);
{
  "type": "esp32-fota-http",
  "version": "0.0.2",
  "url": "https://raw.githubusercontent.com/user/repo/main/firmware.bin"
}

version 0.0.3

esp32FOTA esp32FOTA("esp32-fota-http", "0.0.3", false, true);
{
  "type": "esp32-fota-http",
  "version": "0.0.3",
  "url": "https://raw.githubusercontent.com/user/repo/main/firmware.bin"
}

Is there any more information about the versioning? Any limits? And would it be possible to start back at version "0.0.1" after some upgrades for testing?

  1. Question
    Is there a way to download the firmware from a private repo on GitHub or, in general, any server where you have to perform some authorization?

  2. Question
    Do you maybe have some instructions on getting those certificate files and how you include them in your examples?

Thanks a lot and also again for the lib. If I now get it to work every time, I'm completely happy. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions