mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-16 21:28:33 +03:00
firmware/sniffer: Pass PARITY/OVERRUN/FRAMING error via ringbuffer
those kind of errors should be passed to the main loop for further processing, in-order together with the byte stream received from the USART. Change-Id: Iebd9bbc97c2a5a0c402e7a2711520299a1ade568
This commit is contained in:
@@ -313,6 +313,9 @@ struct st_modem_status {
|
||||
#define SNIFF_DATA_FLAG_ERROR_INCOMPLETE (1<<5)
|
||||
#define SNIFF_DATA_FLAG_ERROR_MALFORMED (1<<6)
|
||||
#define SNIFF_DATA_FLAG_ERROR_CHECKSUM (1<<7)
|
||||
#define SNIFF_DATA_FLAG_ERROR_OVERRUN (1<<8)
|
||||
#define SNIFF_DATA_FLAG_ERROR_FRAMING (1<<9)
|
||||
#define SNIFF_DATA_FLAG_ERROR_PARITY (1<<10)
|
||||
|
||||
/* SIMTRACE_MSGT_SNIFF_CHANGE */
|
||||
struct sniff_change {
|
||||
|
||||
Reference in New Issue
Block a user