xref: /nrf52832-nimble/rt-thread/components/net/at/Kconfig (revision 104654410c56c573564690304ae786df310c91fc)
1menu "AT commands"
2
3config RT_USING_AT
4    bool "Enable AT commands"
5    default n
6
7if RT_USING_AT
8
9    config AT_DEBUG
10        bool "Enable debug log output"
11        default n
12
13    config AT_USING_SERVER
14        bool "Enable AT commands server"
15        default n
16
17    if AT_USING_SERVER
18
19        config AT_SERVER_DEVICE
20            string "Server device name"
21            default "uart3"
22
23        config AT_SERVER_RECV_BUFF_LEN
24            int "The maximum length of server data accepted"
25            default 256
26
27        choice
28            prompt "The commands new line sign"
29            help
30                This end mark can used for AT server determine the end of commands ,
31                it can choose "\r", "\n" or "\r\n"
32
33            default AT_CMD_END_MARK_CRLF
34
35            config AT_CMD_END_MARK_CRLF
36                bool "\\r\\n"
37
38            config AT_CMD_END_MARK_CR
39                bool "\\r"
40
41            config AT_CMD_END_MARK_LF
42                bool "\\n"
43
44        endchoice
45
46    endif
47
48    config AT_USING_CLIENT
49        bool "Enable AT commands client"
50        default n
51
52    if AT_USING_CLIENT
53
54        config AT_CLIENT_NUM_MAX
55            int "The maximum number of supported clients"
56            default 1
57            range 1 65535
58
59        config AT_USING_SOCKET
60            bool "Enable BSD Socket API support by AT commnads"
61            select RT_USING_LIBC
62            select RT_USING_SAL
63            default n
64
65    endif
66
67    if AT_USING_SERVER || AT_USING_CLIENT
68
69        config AT_USING_CLI
70            bool "Enable CLI(Command-Line Interface) for AT commands"
71            default y
72            depends on FINSH_USING_MSH
73
74       config AT_PRINT_RAW_CMD
75            bool "Enable print RAW format AT command communication data"
76            default n
77
78    endif
79
80    config AT_SW_VERSION_NUM
81        hex
82        default 0x10200
83        help
84            sfotware module version number
85
86endif
87
88endmenu
89