Skip to content

Add callback for packet send function to dump the output packets.#765

Open
dmitry1945 wants to merge 1 commit into
espressif:masterfrom
dmitry1945:feature/sysview_send_cb
Open

Add callback for packet send function to dump the output packets.#765
dmitry1945 wants to merge 1 commit into
espressif:masterfrom
dmitry1945:feature/sysview_send_cb

Conversation

@dmitry1945

@dmitry1945 dmitry1945 commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Checklist

  • Component contains License
  • Component contains README.md
  • Component contains idf_component.yml file with url field defined
  • Component was added to upload job
  • Component was added to build job
  • Optional: Component contains unit tests
  • CI passing

Change description

Please describe your change here

SystemView currently sends trace data only via RTT. This callback allows firmware to intercept raw packets—for example, to dump them to an alternate channel, integrate with QEMU, or debug without changing the main RTT output path.

Curretn PR adds an optional callback to intercept outgoing SEGGER SystemView packets before they are written to the RTT buffer. New API SEGGER_SYSVIEW_SetSendPacketCallback() lets you subscribe to packet transmission.
The callback is invoked while the packet is being formed, with access to the packet start/end, event ID, and timestamp.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Dmitry Yakovlev seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

2 participants