Skip to content

ESPProvision/Add dynamic properties field to ORConfigChannelProtocol#28

Merged
dominiquekleeven merged 5 commits into
mainfrom
enhancement/properties-field-orconfigchannelprotocol
May 27, 2026
Merged

ESPProvision/Add dynamic properties field to ORConfigChannelProtocol#28
dominiquekleeven merged 5 commits into
mainfrom
enhancement/properties-field-orconfigchannelprotocol

Conversation

@dominiquekleeven
Copy link
Copy Markdown
Contributor

@dominiquekleeven dominiquekleeven commented May 20, 2026

Closes #29

Adds a properties map to the OpenRemoteConfig proto message and wires it through from the /rest/device REST response.

This lets us forward additional config values (e.g. OTA URL/token) to the device during BLE provisioning when the backend supplies them.

The field is fully optional end-to-end. If the REST response omits properties, nothing is added on the wire.

Testing

  • Existing tests pass.
  • Provision a device against a backend that returns properties, confirm device receives the map.
  • Provision against a backend that omits properties, confirm no regression.

@dominiquekleeven dominiquekleeven changed the title ESPProvision/Add dynamoc properties field to ORConfigChannelProtocol ESPProvision/Add dynamic properties field to ORConfigChannelProtocol May 20, 2026
Comment thread ORLib/ConsoleProviders/ESPProvision/DeviceProvision.swift Fixed
@dominiquekleeven dominiquekleeven marked this pull request as ready for review May 25, 2026 10:58
@dominiquekleeven dominiquekleeven requested a review from ebariaux May 25, 2026 10:58
@dominiquekleeven
Copy link
Copy Markdown
Contributor Author

@ebariaux Requested review from you for this, fairly simple changes, tests pass.

Codex+Claude assisted, since I am not that familiar with Swift/iOS.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 27, 2026

Copy link
Copy Markdown
Contributor

@ebariaux ebariaux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just made a couple of minor improvements, ok to merge

@dominiquekleeven dominiquekleeven merged commit 7fa06c0 into main May 27, 2026
4 checks passed
@dominiquekleeven dominiquekleeven deleted the enhancement/properties-field-orconfigchannelprotocol branch May 27, 2026 10:42
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.

Support additional properties for device provisioning over BLE (ESPProvision provider)

3 participants