|
| 1 | +# Kconfig - u-blox SARA R4 driver options |
| 2 | + |
| 3 | +# |
| 4 | +# Copyright (c) 2019 Foundries.io |
| 5 | +# |
| 6 | +# SPDX-License-Identifier: Apache-2.0 |
| 7 | +# |
| 8 | + |
| 9 | +config MODEM_UBLOX_SARA_R4 |
| 10 | + bool "Enable u-blox SARA-R4 LTE-CatM1/NB-IoT modem driver" |
| 11 | + select MODEM_RECEIVER |
| 12 | + select NET_OFFLOAD |
| 13 | + imply GPIO |
| 14 | + help |
| 15 | + Choose this setting to enable u-blox SARA-R4 LTE-CatM1/NB-IoT modem |
| 16 | + driver. |
| 17 | + |
| 18 | +if MODEM_UBLOX_SARA_R4 |
| 19 | + |
| 20 | +config MODEM_UBLOX_SARA_R4_RX_STACK_SIZE |
| 21 | + int "Stack size for the u-blox SARA-R4 modem driver RX thread" |
| 22 | + default 1028 |
| 23 | + help |
| 24 | + This stack is used by the u-blox SARA-R4 RX thread. |
| 25 | + |
| 26 | +config MODEM_UBLOX_SARA_R4_RX_WORKQ_STACK_SIZE |
| 27 | + int "Stack size for the u-blox SARA-R4 modem driver work queue" |
| 28 | + default 2048 |
| 29 | + help |
| 30 | + This stack is used by the work queue to pass off net_pkt data |
| 31 | + to the rest of the network stack, letting the rx thread continue |
| 32 | + processing data. |
| 33 | + |
| 34 | +config MODEM_UBLOX_SARA_R4_APN |
| 35 | + string "APN for establishing network connection" |
| 36 | + default "hologram" |
| 37 | + help |
| 38 | + This setting is used in the AT+CGDCONT command to set the APN name |
| 39 | + for the network connection context. This value is specific to |
| 40 | + the network provider and may need to be changed. |
| 41 | + |
| 42 | +config MODEM_UBLOX_SARA_R4_MANUAL_MCCMNO |
| 43 | + string "MCC/MNOfor establishing network connection" |
| 44 | + help |
| 45 | + This setting is used in the AT+COPS command to set the MCC/MNO |
| 46 | + for the network connection context. This value is specific to |
| 47 | + the network provider and may need to be changed if auto is not |
| 48 | + selected. |
| 49 | + |
| 50 | +config MODEM_UBLOX_SARA_R4_INIT_PRIORITY |
| 51 | + int "u-blox SARA-R4 driver init priority" |
| 52 | + default 80 |
| 53 | + help |
| 54 | + u-blox SARA-R4 device driver initialization priority. |
| 55 | + Do not mess with it unless you know what you are doing. |
| 56 | + Note that the priority needs to be lower than the net stack |
| 57 | + so that it can start before the networking sub-system. |
| 58 | + |
| 59 | +endif # MODEM_UBLOX_SARA_R4 |
0 commit comments