v1.9.9 - Configuration & Command Standardization (2025-12-04)¶
What Changed?¶
This release focuses on code quality improvements and command standardization. The main changes are: removing redundant functions to reduce Flash footprint, synchronizing hardware state in configuration reset, expanding poll count limits for flexible detection modes, and improving WiFi command naming consistency.
What's New¶
WiFi Command Renamed for Consistency¶
What it does: The WiFi connection command has been renamed from WIFI_ENABLE to SET_WIFI_SSID to match the naming pattern of other configuration commands like SET_POLL_COUNT and SET_THRESHOLD.
How to use it:
# Old (v1.9.8):
WIFI_ENABLE <ssid> <password>
# New (v1.9.9):
SET_WIFI_SSID <ssid> <password>
Poll Count Limit Expanded¶
What it does: The maximum value for SET_POLL_COUNT has been increased from 1000 to 65535, allowing for fine-grained detection sensitivity tuning on longer timescales.
Use case: Testing with different detection poll counts for extended periods.
# Now supports values up to 65535
SET_POLL_COUNT 65535
Installation¶
Quick Start¶
# Get the release
git checkout v1.9.9
# Build
task build
# Upload
task upload
# Check it works
task monitor
What's Different from the Last Version?¶
✅ Added¶
- Expanded
SET_POLL_COUNTlimit: 1000 → 65535 - Hardware state synchronization in
config_init()(DAC channels reset to threshold 0) - MkDocs configuration improvements: GitLab integration, Mermaid/code annotation support
- Jupyter notebook helper:
query()function for simplified device communication
🔧 Changed¶
- BREAKING:
WIFI_ENABLEcommand renamed toSET_WIFI_SSIDfor API consistency - Removed redundant
config_reset()wrapper function (calledconfig_init()directly) - Task automation improvements: interactive file copy, git status display
🐛 Fixed¶
- Config synchronization: RESET command now properly syncs DAC hardware state
- Build flag consistency in internal roadmap documentation
Is It Safe to Upgrade?¶
Backward Compatible: No (WiFi command renamed)
- If you're using the
WIFI_ENABLEcommand, update toSET_WIFI_SSID - All other features remain unchanged and compatible
- Recommend updating any custom scripts that call
WIFI_ENABLE
Tests Passed¶
- ✅ Builds without errors (Flash 22.8%, RAM 6.9%)
- ✅ Configuration reset properly syncs hardware state
- ✅ SET_POLL_COUNT validates range 1-65535
- ✅ WiFi command renamed successfully in all handlers
- ✅ MkDocs builds with new configuration
- ✅ Serial communication stable
Release Details¶
- Date: 2025-12-04
- Version: v1.9.9
- Files Changed: 12
- Commits:
- b2c38c0 refactor(config): remove redundant config_reset function
- df234b2 fix(config): sync DAC with default thresholds in config_init
- d392526 feat(poll-count): increase SET_POLL_COUNT limit to 65535
- b60d99b refactor(text-commands): rename WIFI_ENABLE to SET_WIFI_SSID
- 7e885ed docs(notebooks): add query function for simplified device communication
- d1df4b4 docs(mkdocs): reorganize configuration and add missing extensions
- Plus documentation and build system improvements
Next Steps¶
- v1.9.10+: Complete RESTful-style text command refactoring (GET_STATUS, TEST_LED, SET_RTC_TIME, etc.)
- v2.0.0: Dual-core task separation for improved detection timing and reduced blocking operations
- See
REFACTORING_ROADMAP.mdfor detailed roadmap