Skip to content

feat: add named-flag/power-of-2 bitfield support to --set#943

Merged
ianmcorvidae merged 2 commits into
meshtastic:masterfrom
ianmcorvidae:flag-int-improvements
Jun 26, 2026
Merged

feat: add named-flag/power-of-2 bitfield support to --set#943
ianmcorvidae merged 2 commits into
meshtastic:masterfrom
ianmcorvidae:flag-int-improvements

Conversation

@ianmcorvidae

Copy link
Copy Markdown
Contributor

This enables e.g. --set position.position_flags ALTITUDE,SPEED rather than the dedicated --pos-flags, and similarly for network.enabled_protocols.

Displaying these named values when printing out configurations is not yet implemented.

Partially related to #938

This enables e.g. `--set position.position_flags ALTITUDE,SPEED`
rather than the dedicated `--pos-flags`, and similarly for
`network.enabled_protocols`.

Displaying these named values when printing out configurations
is not yet implemented.
@codecov

codecov Bot commented Jun 26, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 84.61538% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 64.68%. Comparing base (9479fb2) to head (fa01cb7).

Files with missing lines Patch % Lines
meshtastic/__main__.py 80.00% 3 Missing ⚠️
meshtastic/util.py 90.90% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #943      +/-   ##
==========================================
+ Coverage   64.54%   64.68%   +0.13%     
==========================================
  Files          25       25              
  Lines        4598     4619      +21     
==========================================
+ Hits         2968     2988      +20     
- Misses       1630     1631       +1     
Flag Coverage Δ
unittests 64.68% <84.61%> (+0.13%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ianmcorvidae ianmcorvidae merged commit 1309f4f into meshtastic:master Jun 26, 2026
13 checks passed
@ianmcorvidae ianmcorvidae deleted the flag-int-improvements branch June 26, 2026 18:49
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