1# Quectel BG9x driver options 2 3# Copyright (c) 2020 Analog Life LLC 4# SPDX-License-Identifier: Apache-2.0 5 6config MODEM_QUECTEL_BG9X 7 bool "Quectel modem driver" 8 select MODEM_CONTEXT 9 select MODEM_CMD_HANDLER 10 select MODEM_IFACE_UART 11 select MODEM_SOCKET 12 select NET_SOCKETS_OFFLOAD 13 help 14 Choose this setting to enable quectel BG9x LTE-CatM1/NB-IoT modem 15 driver. 16 17if MODEM_QUECTEL_BG9X 18 19config MODEM_QUECTEL_BG9X_RX_STACK_SIZE 20 int "Stack size for the quectel BG9X modem driver RX thread" 21 default 1028 22 help 23 This stack is used by the quectel BG9X RX thread. 24 25config MODEM_QUECTEL_BG9X_RX_WORKQ_STACK_SIZE 26 int "Stack size for the quectel BG9X modem driver work queue" 27 default 2048 28 help 29 This stack is used by the work queue to pass off net_pkt data 30 to the rest of the network stack, letting the rx thread continue 31 processing data. 32 33config MODEM_QUECTEL_BG9X_APN 34 string "APN for establishing network connection" 35 default "internet" 36 help 37 This setting is used to set the APN name for the network connection 38 context. This value is specific to the network provider and may 39 need to be changed. 40 41config MODEM_QUECTEL_BG9X_USERNAME 42 string "Username for establishing network connection" 43 default "" 44 help 45 This setting is used to set the User name for the network connection 46 context. This value is specific to the network provider and may 47 need to be changed. 48 49config MODEM_QUECTEL_BG9X_PASSWORD 50 string "Password for establishing network connection" 51 default "" 52 help 53 This setting is used to set the Password for the network connection 54 context. This value is specific to the network provider and may 55 need to be changed. 56 57config MODEM_QUECTEL_BG9X_UNSOL_RDY 58 string "Unsolicited response string expected from the modem" 59 default "RDY" 60 help 61 This string is used to determine when modem powered and ready 62 to accept AT commands. If this value is not matching the modem 63 response, the init will fail with timeout. 64 65config MODEM_QUECTEL_BG9X_INIT_PRIORITY 66 int "quectel BG9X driver init priority" 67 default 80 68 help 69 quectel BG9X device driver initialization priority. 70 Do not mess with it unless you know what you are doing. 71 Note that the priority needs to be lower than the net stack 72 so that it can start before the networking sub-system. 73 74endif 75