Commit Graph

10 Commits

Author SHA1 Message Date
Vadim Yanitskiy ca57d7c6c5 Rework project hierarchy: group core files into a module 2023-01-14 21:58:19 +06:00
Vadim Yanitskiy f9d571ee70 Rename Transport[Modem,IOError] to DbgMuxIO[Modem,Error] 2023-01-14 02:59:17 +06: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