This PR adds a mechanism to avoid calling open() or close() on pipes which are already opened or closed respectively. This optimization can help simplify backends implementing the modem_pipe API by avoiding duplicated boilerplate code. The TTY backend test suite has been updated to match the new behavior. Signed-off-by: Bjarki Arge Andreasen <bjarkix123@gmail.com> |
||
|---|---|---|
| .. | ||
| backends | ||
| CMakeLists.txt | ||
| Kconfig | ||
| modem_chat.c | ||
| modem_cmux.c | ||
| modem_pipe.c | ||
| modem_ppp.c | ||