commit | 92c44c572e407d7cf0f572a2b46fee49da7a0c98 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@osmocom.org> | Wed Nov 16 10:48:54 2022 +0100 |
committer | laforge <laforge@osmocom.org> | Sat Nov 19 09:02:23 2022 +0000 |
tree | f0679f042c6c236469e8950d895752100115f5c9 | |
parent | 4237c99fa230886fd109940b62eb208c4be02ccf [diff] |
firmware/sniffer: Add + use 16bit ringbuffer So far, we use a uint8_t ring buffer as "FIFO" between USART Rx interrupt and main context. That's fine for expressing the bytes we receive. However, if we also want to report USART errors synchronously in that stream, we actually need more bits to express those. Reporting USART errors via the ring buffer is the only way how the sniffer code can know in which TPDU the error occurred. Reporting them any other way (global variable, ...) would loose the timing relationship where in the received stream the error occurred. This change just changes the ringbuffer from 1024-entry 8bit to 512-entry 16bit and doesn't add any error reporting. Change-Id: Ifde054fbfe7f753b61e7d3409c56eca6e0faeb4b
This is the repository for the next-generation SIMtrace devices, providing abilities to trace the communication between (U)SIM card and phone, remote (U)SIM card forward, (U)SIM man-in-the-middle, and more.
NOTE: Nothing in this repository applies to the SIMtrace v1.x hardware or its associated firmware. SIMtrace v1.x is based on a different CPU / microcontroller architecture and uses a completely different software stack and host software.
This repository contains several directory
The host software includes