nRF Connect SDK API
3.1.99
Loading...
Searching...
No Matches
slm_cmux.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2023 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5
*/
6
#ifndef SLM_CMUX_
7
#define SLM_CMUX_
8
9
#include <stdbool.h>
10
11
struct
modem_pipe;
12
13
void
slm_cmux_init
(
void
);
14
15
/* CMUX channels that are used by other modules. */
16
enum
cmux_channel
{
17
#if defined(CONFIG_SLM_PPP)
18
CMUX_PPP_CHANNEL,
19
#endif
20
#if defined(CONFIG_SLM_GNSS_OUTPUT_NMEA_ON_CMUX_CHANNEL)
21
CMUX_GNSS_CHANNEL,
22
#endif
23
CMUX_EXT_CHANNEL_COUNT
24
};
25
struct
modem_pipe *
slm_cmux_reserve
(
enum
cmux_channel
);
26
void
slm_cmux_release
(
enum
cmux_channel
,
bool
fallback);
27
28
#endif
slm_cmux_release
void slm_cmux_release(enum cmux_channel, bool fallback)
slm_cmux_reserve
struct modem_pipe * slm_cmux_reserve(enum cmux_channel)
cmux_channel
cmux_channel
Definition
slm_cmux.h:16
CMUX_EXT_CHANNEL_COUNT
@ CMUX_EXT_CHANNEL_COUNT
Definition
slm_cmux.h:23
slm_cmux_init
void slm_cmux_init(void)
applications
serial_lte_modem
src
slm_cmux.h
Generated on Tue Nov 4 2025 18:00:54 for nRF Connect SDK API by
1.12.0