1menuconfig RT_USING_AT
2    bool "Enable AT commands"
3    default n
4
5if RT_USING_AT
6
7    config AT_DEBUG
8        bool "Enable debug log output"
9        default n
10
11    config AT_USING_SERVER
12        bool "Enable AT commands server"
13        default n
14
15    if AT_USING_SERVER
16
17        config AT_SERVER_DEVICE
18            string "Server device name"
19            default "uart3"
20
21        config AT_SERVER_RECV_BUFF_LEN
22            int "The maximum length of server data accepted"
23            default 256
24
25        config AT_SERVER_SEND_BUFF_LEN
26            int "The maximum length of server commands buffer"
27            default 256
28
29    endif
30
31    config AT_USING_CLIENT
32        bool "Enable AT commands client"
33        default n
34
35    if AT_USING_CLIENT
36
37        config AT_CLIENT_NUM_MAX
38            int "The maximum number of supported clients"
39            default 1
40            range 1 65535
41
42        config AT_USING_SOCKET
43            bool "Enable BSD Socket API support by AT commnads"
44            select RT_USING_SAL
45            select SAL_USING_AT
46            default n
47
48        if AT_USING_SOCKET
49
50            config AT_USING_SOCKET_SERVER
51                bool "Enable BSD Socket API support about AT server"
52                default n
53
54        endif
55
56    endif
57
58    if AT_USING_SERVER || AT_USING_CLIENT
59
60        config AT_USING_CLI
61            bool "Enable CLI(Command-Line Interface) for AT commands"
62            default y
63            depends on RT_USING_FINSH
64
65       config AT_PRINT_RAW_CMD
66            bool "Enable print RAW format AT command communication data"
67            default n
68
69    endif
70
71    config AT_SW_VERSION_NUM
72        hex
73        default 0x10301
74        help
75            software module version number
76
77endif
78