Skip to content

docs(contract): sync open items and behavior with the shipped firmware - #48

Open
TalkingJupiter wants to merge 1 commit into
mainfrom
docs-contract-open-items
Open

docs(contract): sync open items and behavior with the shipped firmware#48
TalkingJupiter wants to merge 1 commit into
mainfrom
docs-contract-open-items

Conversation

@TalkingJupiter

Copy link
Copy Markdown
Owner

The contract had drifted from the shipped firmware in five places.

Closed issues still listed as open

#18 (config mac self-check) and #19 (accept enabled: false) are both implemented and closed, but §10 still had them unchecked and §4 still carried the warning that "current firmware still rejects enabled: false and must be changed to match".

Hello message was wrong

§5 omitted firmware_version, which the payload has carried since the OTA work and which provisioning reads on every hello, and gave the cadence as 60 s where HELLO_INTERVAL_MS is 10 s.

Unknown-device behavior changed

§7 said provisioning answers an unknown device with configured:false. It now records the MAC in unknown_devices and sends no reply, so the device stays unconfigured and keeps helloing. That silence is intentional, so the doc should say so.

Docs only, no code changes.

#18 (config mac self-check) and #19 (accept enabled:false) are both
implemented and closed, but §10 still listed them as open and §4 still
warned that the firmware rejects enabled:false.
Three other places had drifted from the code:
- §5 omitted firmware_version, which the hello payload has carried since
the OTA work, and gave the cadence as 60 s where HELLO_INTERVAL_MS is
10 s.
- §7 said provisioning answers an unknown device with configured:false.
It now records the mac in unknown_devices and sends no reply, so the
device stays unconfigured and keeps helloing.
Sign up for freeto 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

@TalkingJupiter