forked from nrfconnect/sdk-nrf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathKconfig
More file actions
82 lines (66 loc) · 1.87 KB
/
Kconfig
File metadata and controls
82 lines (66 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#
# Copyright (c) 2018 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
menuconfig AT_HOST_LIBRARY
bool "AT Host Library for nrf91"
depends on NRF_MODEM_LIB
depends on SERIAL_SUPPORT_INTERRUPT
select UART_INTERRUPT_DRIVEN
select AT_MONITOR
if AT_HOST_LIBRARY
config AT_HOST_UART_INIT_TIMEOUT
int "Timeout waiting for a valid UART line on init (ms)"
default 500
help
If the selected UART has error conditions during init caused by
e. g. a floating RX line during boot, at_host will clear the
errors and retry for this amount of time.
choice
prompt "Termination Mode"
default CR_TERMINATION
depends on AT_HOST_LIBRARY
help
Sets the termination ending from the serial terminal
Levels are:
- NULL Termination
- CR Termination
- LF Termination
- CR+LF Termination
WARNING! Some AT commands (like AT+CMGS) use CR internally.
Selecting CR Termination will render those commands unavailable.
config NULL_TERMINATION
bool "NULL Termination"
config CR_TERMINATION
bool "CR Termination"
config LF_TERMINATION
bool "LF Termination"
config CR_LF_TERMINATION
bool "CR+LF Termination"
endchoice
config AT_HOST_TERMINATION
int
default 0 if NULL_TERMINATION
default 1 if CR_TERMINATION
default 2 if LF_TERMINATION
default 3 if CR_LF_TERMINATION
config AT_HOST_CMD_MAX_LEN
int "Maximum AT command length"
range 0 4096
default 4096
help
The maximum allowed length of an AT command passed through the
AT host. The space is allocated statically.
config AT_HOST_THREAD_PRIO
int "AT host workqueue thread priority level"
range 0 NUM_PREEMPT_PRIORITIES
default 0 if !MULTITHREADING
default 10
config AT_HOST_STACK_SIZE
int "AT host workqueue thread stack size (in bytes)"
default 1024
module = AT_HOST
module-str = AT host
source "$(ZEPHYR_BASE)/subsys/logging/Kconfig.template.log_config"
endif # AT_HOST_LIBRARY