Skip to content

Add firmware log event support and update trace payloads#24

Open
usrflo wants to merge 5 commits into
Brent-A:mainfrom
usrflo:main
Open

Add firmware log event support and update trace payloads#24
usrflo wants to merge 5 commits into
Brent-A:mainfrom
usrflo:main

Conversation

@usrflo
Copy link
Copy Markdown
Contributor

@usrflo usrflo commented Feb 7, 2026

AI added a firmware log event so DEBUG output is merged into the JSON log output.
This way I can see output like the following that I didn't expect or wasn't aware of so far.
The trace output would have revealed this as well but filtering the JSON output can be done better.

1 line needs to be patched in Meshcore.h, see the modification in the patch file.
I worked on Linux but should be re-checked on Windows IMHO.

{
  "type": "LOG",
  "timestamp": "2025-01-01T00:02:02.000Z",
  "origin": "Repeater2",
  "line": "DEBUG: 00:00:00 - 1/1/2024 U Dispatcher::loop(): ERROR: send start failed!"
}
{
  "type": "PACKET",
  "timestamp": "2025-01-01T00:02:02.000Z",
  "origin": "Repeater3",
  "direction": "TX",
  "payload_hash": "841DBF8FD9CC7CEF",
  "packet_start_time_s": 122.0001,
  "packet_end_time_s": 122.399972
}

usrflo and others added 4 commits April 30, 2026 07:51
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