summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte2010-03-27 05:22:21 +0100
committerHarald Welte2010-03-27 05:24:29 +0100
commitc9c4c4b819ccd85b343a1c9bdc1ef8085f801345 (patch)
tree6317c2c33a608335027870c4519cd246e52f26ce /include
parentsercomm: Fix ESCAPE'd character at end of buffer (diff)
downloadosmocom-c9c4c4b819ccd85b343a1c9bdc1ef8085f801345.tar.gz
osmocom-c9c4c4b819ccd85b343a1c9bdc1ef8085f801345.tar.xz
osmocom-c9c4c4b819ccd85b343a1c9bdc1ef8085f801345.zip
sercomm: ESCAPE every NUL (0x00) byte in the data stream
For some reason, at least on the C123, a sequence of multiple NUL bytes seems to get corrupted somewhere in the Rx side on the phone itself (the NUL plus the following character get dropped). We now simply work around this issue by having our sercomm/HDLC layer escape all NUL octets in the stream.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions