Skip to content

Commit 1b76834

Browse files
committed
modem: cmux: Define encoding and decoding functions for commands
Instead of relying non-standard compiler behavior, define encode and decode functions for all CMUX command structures. Final command is encoded into a shared buffer, because it is always copied directly to TX ringbuffer. Added also functions to validate commands. Signed-off-by: Seppo Takalo <[email protected]>
1 parent 8aba2e3 commit 1b76834

File tree

2 files changed

+250
-83
lines changed

2 files changed

+250
-83
lines changed

0 commit comments

Comments
 (0)