24 lines
428 B
TOML
24 lines
428 B
TOML
|
# Serial Line Internet Protocol Deframmer
|
||
|
# Ref: https://datatracker.ietf.org/doc/html/rfc1055
|
||
|
|
||
|
[[deframers]]
|
||
|
name = "slip"
|
||
|
|
||
|
[[deframers.operations]]
|
||
|
operation = "StartSeq"
|
||
|
start_seq = [0xC0]
|
||
|
|
||
|
[[deframers.operations]]
|
||
|
operation = "StopSeq"
|
||
|
stop_seq = [0xC0]
|
||
|
|
||
|
[[deframers.operations]]
|
||
|
operation = "Replace"
|
||
|
find = "\\xDB\\xDC"
|
||
|
replace = [0xC0]
|
||
|
|
||
|
[[deframers.operations]]
|
||
|
operation = "Replace"
|
||
|
find = "\\xDB\\xDD"
|
||
|
replace = [0xDB]
|