|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
#include <zephyr/modem/chat.h>Go to the source code of this file.
Functions | |
| int | modem_at_user_pipe_claim (struct modem_chat *chat, k_timeout_t timeout) |
| Claim the AT command user pipe to run commands. | |
| void | modem_at_user_pipe_release (void) |
| Release the AT command user pipe to other users. | |
| int modem_at_user_pipe_claim | ( | struct modem_chat * | chat, |
| k_timeout_t | timeout ) |
Claim the AT command user pipe to run commands.
| chat | Chat instance that will be used with the user pipe |
| timeout | Maximum duration to wait for other users to release the pipe |
| 0 | On success |
| -EPERM | Modem is not ready |
| -EBUSY | User pipe already claimed |
| void modem_at_user_pipe_release | ( | void | ) |
Release the AT command user pipe to other users.
Must be called after modem_at_user_pipe_claim when pipe is no longer in use.