1# Simcom sim7080 driver options
2
3# Copyright (C) 2021 metraTec GmbH
4# SPDX-License-Identifier: Apache-2.0
5
6config MODEM_SIM7080
7	bool "Sim7080 Driver"
8	select MODEM_CONTEXT
9	select MODEM_CMD_HANDLER
10	select MODEM_IFACE_UART
11	select MODEM_SOCKET
12	select NET_OFFLOAD
13	select NET_SOCKETS_OFFLOAD
14	imply GPIO
15	help
16	  Enables the driver for the Sim7080 modem.
17
18if MODEM_SIM7080
19
20config MODEM_SIMCOM_SIM7080_RX_STACK_SIZE
21	int "Stack size for the simcom sim7080 modem driver rx thread"
22	default 1028
23	help
24	  This stack is used by the simcom SIM7080 RX thread.
25
26config MODEM_SIMCOM_SIM7080_RX_WORKQ_STACK_SIZE
27	int "Stack size for the simcom sim7080 modem driver work queue"
28	default 2048
29	help
30		This stack is used by the work queue.
31
32config MODEM_SIMCOM_SIM7080_INIT_PRIORITY
33	int "simcom sim7080 driver init priority"
34	default 80
35	help
36	  simcom sim7080 driver initialization priority.
37
38config MODEM_SIMCOM_SIM7080_LTE_BANDS
39	string "LTE bands the driver can use"
40	default "8,20,28"
41	help
42		Comma separated list of usable lte bands.
43
44config MODEM_SIMCOM_SIM7080_APN
45	string "APN for establishing a network connection"
46	default "internet"
47	help
48	  This setting is used to set the APN name for the network connection
49	  context. This value is specific to the network provider and may
50	  need to be changed.
51
52choice MODEM_SIMCOM_SIM7080_RAT
53	bool "Radio Access Technology Mode"
54	default MODEM_SIMCOM_SIM7080_RAT_NB1
55
56config MODEM_SIMCOM_SIM7080_RAT_NB1
57	bool "NB-IoT"
58	help
59		Enable LTE NB-IoT mode.
60
61config MODEM_SIMCOM_SIM7080_RAT_M1
62	bool "Cat-M1"
63	help
64		Enable Cat-M1 mode.
65
66config MODEM_SIMCOM_SIM7080_RAT_GSM
67	bool "GSM"
68	help
69	  Enable GSM mode.
70
71endchoice
72
73endif # MODEM_SIM7080
74