mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-04-07 11:08:36 +00:00
add new debug option to show received byte stream.
This commit is contained in:
parent
109fe77df9
commit
56460c29c3
3
slip.c
3
slip.c
@ -200,6 +200,9 @@ int upper7_decode(struct slip_decode_state *state,unsigned char byte)
|
||||
snprintf(crash_handler_clue,1024,
|
||||
"upper7_decode() call #%d: state=%d, byte=0x%02x, rssi_len=%d, dst_offset=%d",
|
||||
u7d_calls,state->state,byte,state->rssi_len,state->dst_offset);
|
||||
if (config.debug.slipbytestream)
|
||||
WHTF("call #%d: state=%d, byte=0x%02x, rssi_len=%d, dst_offset=%d",
|
||||
u7d_calls,state->state,byte,state->rssi_len,state->dst_offset);
|
||||
|
||||
// Parse out inline RSSI reports
|
||||
if (byte=='{') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user