fix: add TDM and edge intelligence flags to provision.py#131
Merged
Conversation
The user guide and release notes document TDM and edge intelligence provisioning flags but provision.py only accepted --ssid, --password, --target-ip, --target-port, and --node-id. Add all NVS keys the firmware actually reads: - --tdm-slot / --tdm-total: TDM mesh slot assignment - --edge-tier: edge processing tier (0=off, 1=stats, 2=vitals) - --pres-thresh, --fall-thresh: detection thresholds - --vital-win, --vital-int: vitals timing parameters - --subk-count: top-K subcarrier selection Also validates that --tdm-slot and --tdm-total are specified together and that slot < total. Closes #130 Co-Authored-By: claude-flow <ruv@ruv.net>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--tdm-slotand--tdm-totalflags for TDM mesh slot assignment--edge-tierflag (0=off, 1=stats, 2=vitals) for ADR-039 edge intelligence--pres-thresh,--fall-thresh,--vital-win,--vital-int,--subk-countfor edge tuning--tdm-slotand--tdm-totalare specified together and slot < totaltdm_slot,tdm_nodes,edge_tier, etc.)Closes #130
Test plan
provision.py --helpshows all new flags--tdm-slot 0 --tdm-total 3generates correct NVS CSV withtdm_slot=0, tdm_nodes=3--edge-tier 2generates NVS CSV withedge_tier=2--tdm-slot 0without--tdm-totalerrors with clear message--tdm-slot 3 --tdm-total 3errors (slot must be < total)🤖 Generated with claude-flow