refactor: remove init() and package-level rootCmd, add error logging

- Move flag registration from init() to main()
- Make rootCmd a local variable in main() instead of a package variable
- Log errors from hciconfig down/up reset commands
- Log errors from BLE power characteristic writes
This commit is contained in:
2026-05-27 00:36:06 +02:00
parent d646243a9c
commit 091067593b
12 changed files with 2007 additions and 3 deletions
Executable
BIN
View File
Binary file not shown.