Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add version API #248

Closed
ChrisDick opened this issue Jun 24, 2024 · 0 comments · Fixed by #258
Closed

Add version API #248

ChrisDick opened this issue Jun 24, 2024 · 0 comments · Fixed by #258
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ChrisDick
Copy link
Contributor

ChrisDick commented Jun 24, 2024

Is your feature request related to a problem? Please describe.
emfcamp/badge-2024-software#106

Describe the solution you'd like
Add the API for version

Describe alternatives you've considered
Undocumented feature.

Additional context
There's the ota API that exposes the version from esp_ota_get_running_partition() as a string, but isn't documented. The update function doesn't need to be added as it's an internal API.
import ota
ota.get_version()
'v1.8.0'

@ChrisDick ChrisDick added enhancement New feature or request good first issue Good for newcomers labels Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant