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
11struct modem_pipe;
12
13void slm_cmux_init(void);
14
15/* CMUX channels that are used by other modules. */
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
24};
25struct modem_pipe *slm_cmux_reserve(enum cmux_channel);
26void slm_cmux_release(enum cmux_channel, bool fallback);
27
28#endif
void slm_cmux_release(enum cmux_channel, bool fallback)
struct modem_pipe * slm_cmux_reserve(enum cmux_channel)
cmux_channel
Definition slm_cmux.h:16
@ CMUX_EXT_CHANNEL_COUNT
Definition slm_cmux.h:23
void slm_cmux_init(void)