Skip to content

ESP Specific APIs - Missing API's #1358

Closed
@timpur

Description

@timpur

There are some APIs from ESP8266 lib ESP missing like:

ESP.getSketchSize()
ESP.getFreeSketchSpace()
ESP.getSketchMD5()

Most interested in getSketchMD5. Working to implement these, but new to esp32 and need to understand the IDF more, so if anyone has hints, these are appreciate. Trying to understand how partitions work, since i think ill have to hash the current working partition, similar to how the esp8266 does it.

Activity

lbernstone

lbernstone commented on Apr 26, 2018

@lbernstone
Contributor

If you are up to the C coding, the relevant headers are esp_image_format.h and esp_ota_ops.h. I took a quick look, and didn't see an easy way to stream the data through md5builder, but those headers are the place to start. Look through the Update library as well.

timpur

timpur commented on Apr 26, 2018

@timpur
ContributorAuthor

Thank you :)

timpur

timpur commented on Apr 29, 2018

@timpur
ContributorAuthor

@lbernstone, question , why does Update not use the Over The Air Updates (OTA) APIs from the ESP IDF ?

http://esp-idf.readthedocs.io/en/latest/api-reference/system/ota.html

lbernstone

lbernstone commented on Apr 30, 2018

@lbernstone
Contributor

Not a question for me. I just loiter here. You'll need to have @me-no-dev answer that. He probably wanted more control than just handing off the read and write to the C code.

timpur

timpur commented on Apr 30, 2018

@timpur
ContributorAuthor

Okay thanks :)

stale

stale commented on Aug 1, 2019

@stale

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

stale

stale commented on Aug 15, 2019

@stale

This stale issue has been automatically closed. Thank you for your contributions.

sillyfrog

sillyfrog commented on Sep 27, 2019

@sillyfrog

Fixed in #2176

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: StaleIssue is stale stage (outdated/stuck)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      ESP Specific APIs - Missing API's · Issue #1358 · espressif/arduino-esp32