You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Toggle the CAN logger over BLE and report its address #51
#22 starts the SavvyCAN listener whenever [network.can_logger] enabled = true. Make it a runtime toggle instead, controlled by the app over BLE.
Handle SetCanLoggerEnabled in the BLE dispatcher (a SystemCommand: BLE only, dropped from MQTT). Bonded phone and controller-lease rules as for the other system commands.
A runtime "logger enabled" flag in core-interface, off at every boot. While off, the board listener does not accept connections. Turning it on opens the listener; turning it off ends any session (buses released) and closes the listener.
Build config becomes "compiled in", on by default. When the board has no WiFi (LTE doesn't count, for security reasons), skip the logger quietly instead of failing the build. Update config.toml.example and the docs.
Report the logger state in SystemState: enabled, client connected, port, and the IPv4 address. ESP: the WiFi station address from the embassy-net stack (WiFi interface only). PC: the listener binds all interfaces, so report a best-effort address.
Host tests for the flag, the dispatch (including MQTT being refused), disable-ends-session, and the state fields. ESP code can't be built in every environment; say what was and wasn't verified.
Update docs/can.md, docs/ble.md and docs/architecture.md.
Activity