hamnet70/impl/src
Simon Ruderich 5fb5a2908d jsonlogger: increase pipe buffer to reduce likelihood of corrupted messages
Our JSON messages can get rather large which can cause a buffer overrun
when the reading program is not scheduled at the same time. When the
kernel returns EAGAIN we abort writing the current JSON message.
However, the unfinished (and thus invalid) JSON message is still in the
pipe and will be processed by the reading program.

Increase the pipe buffer from the default 65536 to reduce the likelihood
of this happening. It's difficult to completely prevent the issue as we
don't want to slow down the main program due to slow logging.
2024-05-28 08:51:56 +02:00
..
layer1 rx: tag most debug messages with the sample index 2024-05-25 18:24:40 +02:00
layer2 Integrate TUN device interface 2022-02-27 20:21:14 +01:00
sdr sdr: fix loss of samples due to unaligned buffer reads 2024-04-27 20:08:04 +02:00
config.h Enable Hamming 8/4 code for the header 2024-01-05 21:29:41 +01:00
debug_structs.h Dump debug info from the RX via jsonlogger 2024-05-07 21:40:29 +02:00
jsonlogger.c jsonlogger: increase pipe buffer to reduce likelihood of corrupted messages 2024-05-28 08:51:56 +02:00
jsonlogger.h Dump debug info from the RX via jsonlogger 2024-05-07 21:40:29 +02:00
main.c Dump debug info from the RX via jsonlogger 2024-05-07 21:40:29 +02:00
options.c Add options parsing module 2024-03-30 21:51:27 +01:00
options.h Add options parsing module 2024-03-30 21:51:27 +01:00
results.h sdr: fix loss of samples due to unaligned buffer reads 2024-04-27 20:08:04 +02:00
utils.c utils: open output file in binary mode 2023-05-12 13:49:20 +02:00
utils.h Implement time-based carrier sensing 2022-05-07 21:17:53 +02:00
var_array.c Dump debug info from the RX via jsonlogger 2024-05-07 21:40:29 +02:00
var_array.h Dump debug info from the RX via jsonlogger 2024-05-07 21:40:29 +02:00