-
-
Notifications
You must be signed in to change notification settings - Fork 74
Does Trice support receiving trace data from an MCU over UDP or TCP? #528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Answering myself: UDP receiver wasn’t implemented — started working on it. Getting some packets from MCU, but clearly incomplete:
|
A pull request has been opened to implement this feature #529. It adds IPv4 UDP support to enable receiving trace data from an MCU. |
Trice in the current version should be able to receive over TCP: https://github.com/rokath/trice/blob/master/docs/TriceUserManual.md#1327-tcp-input Thanks a lot for the pull request. I am able to have a closer look only in June. |
@rokath Thank you for the fantastic tool—really appreciate your work! June is fine (I'm using a self-built version for now). I saw the example, but it looked like it was capturing from a COM port and forwarding to TCP. In my case, I'm just using a UDP receiver with no wired connection. Since UDP doesn't require a persistent connection, it's a good fit for telemetry or debug in the field. For reference, here's the example I saw: trice l -p COM3 -tcp 127.0.0.1:23 Oh, I see niw, another example: trice l -p TCP4 -args "192.168.2.3:45678" Thank you, that makes sense now. |
Yes, you are right. Trice can transmit over TCP and also receive over TCP. But UDP is a good enrichment and I am looking forward to integrate your work. |
I'm implementing Trice on an ESP32-S3 board and would like to send traces wirelessly over WiFi to a PC using either UDP or TCP.
In the documentation, I see support for various output methods like UART and RTT, but I couldn't find clear information about network protocols. I've set up Trice on my ESP32-S3 and have implemented a WiFi connection, but I'm not sure about the best way to send the trace data over the network.
I've successfully implemented Trice on my ESP32-S3 board with UDP transmission for the trace data. The ESP32-S3 is properly connected to WiFi and is sending Trice packets via UDP to my PC's IP address and port.
However, I can't figure out how to receive and decode these traces on the PC side.
The text was updated successfully, but these errors were encountered: