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:
erik committed 2026-05-27 00:36:06 +02:00
1 parent d646243a9c
commit 091067593b
12 files changed
+2007 -3

No files matched your search

Executable
BIN
View File
Binary file not shown.