1# Copyright (c) 2023 Bjarki Arge Andreasen
2# SPDX-License-Identifier: Apache-2.0
3
4config MODEM_CELLULAR
5	bool "Generic cellular modem support"
6	select MODEM_MODULES
7	select MODEM_PPP
8	select MODEM_CMUX
9	select MODEM_CHAT
10	select MODEM_PIPE
11	select MODEM_BACKEND_UART
12	select RING_BUFFER
13	select NET_L2_PPP_OPTION_MRU
14	select NET_L2_PPP_PAP
15	depends on (DT_HAS_QUECTEL_BG95_ENABLED || DT_HAS_ZEPHYR_GSM_PPP_ENABLED || \
16		    DT_HAS_SIMCOM_SIM7080_ENABLED || DT_HAS_U_BLOX_SARA_R4_ENABLED || \
17		    DT_HAS_U_BLOX_SARA_R5_ENABLED || DT_HAS_SWIR_HL7800_ENABLED || \
18		    DT_HAS_TELIT_ME910G1_ENABLED || DT_HAS_QUECTEL_EG25_G_ENABLED)
19	help
20	  This driver uses the generic 3gpp AT commands, along
21	  with the standard protocols CMUX and PPP, to configure
22	  cellular modems to establish a point-to-point
23	  network connection. It is a plug-in replacement for the
24	  existing GSM_PPP driver, and a template for tailored
25	  drivers for the ublox, quectel and other modems, which
26	  include power management and more complex device specific
27	  features.
28
29if MODEM_CELLULAR
30
31config MODEM_CELLULAR_APN
32	string "APN"
33	default "internet"
34
35config MODEM_CELLULAR_PERIODIC_SCRIPT_MS
36	int "Periodic script interval in milliseconds"
37	default 2000
38
39endif
40