Skip to content

feat(go): use Go-specific config endpoint - #58

Merged
samuelbles07 merged 2 commits into
developmentfrom
go/feat/change-go-config-endpoint
Aug 7, 2026
Merged

feat(go): use Go-specific config endpoint#58
samuelbles07 merged 2 commits into
developmentfrom
go/feat/change-go-config-endpoint

Conversation

@samuelbles07

@samuelbles07 samuelbles07 commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

Route AirGradient Go configuration fetches through the Go-specific endpoint and centralize device-model selection so Client and OTA use one build-time identity.

Changes

  • Add a shared One/Open Air, Max, and Go Kconfig model choice
  • Route Go config fetches to /go/config; One/Open Air and Max retain /one/config
  • Make OTA consume the shared model and remove the runtime model from OtaRequest
  • Update Go, reference, tests, and component documentation

Validation

  • pre-commit hooks passed for affected files
  • idf.py -C products/go build passed
  • Confirmed built Client and OTA libraries contain the Go endpoint paths

Move model identity to a shared Kconfig choice so Client and OTA cannot drift between device models.

BREAKING CHANGE: OtaRequest no longer accepts a runtime device model.
@samuelbles07
samuelbles07 merged commit c8708a3 into development Aug 7, 2026
8 checks passed
@samuelbles07
samuelbles07 deleted the go/feat/change-go-config-endpoint branch August 7, 2026 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant