Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
|
#include <zephyr/modem/chat.h>
Go to the source code of this file.
Functions | |
void | modem_at_user_pipe_init (struct modem_chat *chat) |
Initialise the AT command user pipe. | |
int | modem_at_user_pipe_claim (void) |
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 | ( | void | ) |
Claim the AT command user pipe to run commands.
0 | On success |
-EPERM | Modem is not ready |
-EBUSY | User pipe already claimed |
void modem_at_user_pipe_init | ( | struct modem_chat * | chat | ) |
Initialise the AT command user pipe.
chat | Chat instance that will be used with the user pipe |
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.