Zephyr API 3.6.99
|
#include <zephyr/kernel.h>
#include <zephyr/types.h>
#include <zephyr/sys/ring_buffer.h>
#include <zephyr/sys/atomic.h>
#include <zephyr/modem/pipe.h>
#include <zephyr/modem/stats.h>
Go to the source code of this file.
Data Structures | |
struct | modem_cmux_config |
Contains CMUX instance configuration data. More... | |
struct | modem_cmux_dlci_config |
CMUX DLCI configuration. More... | |
Typedefs | |
typedef void(* | modem_cmux_callback) (struct modem_cmux *cmux, enum modem_cmux_event event, void *user_data) |
Enumerations | |
enum | modem_cmux_event { MODEM_CMUX_EVENT_CONNECTED = 0 , MODEM_CMUX_EVENT_DISCONNECTED } |
Functions | |
void | modem_cmux_init (struct modem_cmux *cmux, const struct modem_cmux_config *config) |
Initialize CMUX instance. | |
struct modem_pipe * | modem_cmux_dlci_init (struct modem_cmux *cmux, struct modem_cmux_dlci *dlci, const struct modem_cmux_dlci_config *config) |
Initialize DLCI instance and register it with CMUX instance. | |
int | modem_cmux_attach (struct modem_cmux *cmux, struct modem_pipe *pipe) |
Attach CMUX instance to pipe. | |
int | modem_cmux_connect (struct modem_cmux *cmux) |
Connect CMUX instance. | |
int | modem_cmux_connect_async (struct modem_cmux *cmux) |
Connect CMUX instance asynchronously. | |
int | modem_cmux_disconnect (struct modem_cmux *cmux) |
Close down and disconnect CMUX instance. | |
int | modem_cmux_disconnect_async (struct modem_cmux *cmux) |
Close down and disconnect CMUX instance asynchronously. | |
void | modem_cmux_release (struct modem_cmux *cmux) |
Release CMUX instance from pipe. | |