Vadim Yanitskiy
af18b58e1f
Implement the concept of the frame dispatcher and handlers
2022-06-26 00:27:56 +07:00
Vadim Yanitskiy
05c71259f6
DbgMuxPeer: spawn two threads for handling Rx/Tx messages
2022-06-24 20:02:07 +07:00
Vadim Yanitskiy
2990cc14b8
SEDbgMuxApp: use non-zero default serial port read timeout
...
This is required for a follow-up change moving DebugMux I/O handling
into separate threads. We need to be able to stop a thread, which
is executing blocking self.io.read() call.
2022-06-20 22:36:17 +07:00
Vadim Yanitskiy
138af0da7a
DbgMuxPeer: calculate and check the FCS of Rx frames
2022-03-29 00:24:17 +03:00
Vadim Yanitskiy
e71875aa12
DbgMuxPeer: get away from using construct's parse_stream()
2022-03-29 00:24:02 +03:00
Vadim Yanitskiy
9034073630
SEDbgMuxApp: separate modem transport into its own module
2022-03-28 01:19:58 +03:00
Vadim Yanitskiy
7c2094dc44
DbgMuxPeer: use %03u for logging Rx/Tx counter values
...
This makes the header length consistent in logging messages.
2022-03-27 22:51:52 +03:00
Vadim Yanitskiy
45788b2783
cosmetic: switch to consistent four-spaces indent (using autopep8)
2022-03-27 22:50:30 +03:00
Vadim Yanitskiy
712c2b79e5
DbgMuxPeer: encode/decode inner messages in send()/recv()
2022-01-18 16:22:54 +06:00
Vadim Yanitskiy
4d19f594c3
Initial DebugMux client application
2022-01-18 16:22:54 +06:00