2022-02-20 00:07:45 +08:00
|
|
|
menuconfig RT_USING_AT
|
2018-07-25 17:31:05 +08:00
|
|
|
bool "Enable AT commands"
|
|
|
|
default n
|
|
|
|
|
|
|
|
if RT_USING_AT
|
|
|
|
|
|
|
|
config AT_DEBUG
|
|
|
|
bool "Enable debug log output"
|
|
|
|
default n
|
2019-09-10 14:20:44 +08:00
|
|
|
|
2018-07-25 17:31:05 +08:00
|
|
|
config AT_USING_SERVER
|
|
|
|
bool "Enable AT commands server"
|
|
|
|
default n
|
2019-09-10 14:20:44 +08:00
|
|
|
|
2018-07-25 17:31:05 +08:00
|
|
|
if AT_USING_SERVER
|
|
|
|
|
|
|
|
config AT_SERVER_DEVICE
|
|
|
|
string "Server device name"
|
|
|
|
default "uart3"
|
|
|
|
|
|
|
|
config AT_SERVER_RECV_BUFF_LEN
|
|
|
|
int "The maximum length of server data accepted"
|
|
|
|
default 256
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "The commands new line sign"
|
|
|
|
help
|
|
|
|
This end mark can used for AT server determine the end of commands ,
|
|
|
|
it can choose "\r", "\n" or "\r\n"
|
|
|
|
|
|
|
|
default AT_CMD_END_MARK_CRLF
|
|
|
|
|
|
|
|
config AT_CMD_END_MARK_CRLF
|
|
|
|
bool "\\r\\n"
|
|
|
|
|
|
|
|
config AT_CMD_END_MARK_CR
|
|
|
|
bool "\\r"
|
|
|
|
|
|
|
|
config AT_CMD_END_MARK_LF
|
|
|
|
bool "\\n"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
endif
|
2019-09-10 14:20:44 +08:00
|
|
|
|
2018-07-25 17:31:05 +08:00
|
|
|
config AT_USING_CLIENT
|
|
|
|
bool "Enable AT commands client"
|
|
|
|
default n
|
2019-09-10 14:20:44 +08:00
|
|
|
|
2018-07-25 17:31:05 +08:00
|
|
|
if AT_USING_CLIENT
|
|
|
|
|
2018-08-28 11:59:30 +08:00
|
|
|
config AT_CLIENT_NUM_MAX
|
|
|
|
int "The maximum number of supported clients"
|
|
|
|
default 1
|
|
|
|
range 1 65535
|
2019-09-10 14:20:44 +08:00
|
|
|
|
2018-07-25 17:31:05 +08:00
|
|
|
config AT_USING_SOCKET
|
2018-08-28 11:59:30 +08:00
|
|
|
bool "Enable BSD Socket API support by AT commnads"
|
2018-08-29 20:40:07 +08:00
|
|
|
select RT_USING_SAL
|
2018-07-25 17:31:05 +08:00
|
|
|
default n
|
2019-09-10 14:20:44 +08:00
|
|
|
|
2018-07-25 17:31:05 +08:00
|
|
|
endif
|
|
|
|
|
2018-08-28 11:59:30 +08:00
|
|
|
if AT_USING_SERVER || AT_USING_CLIENT
|
2019-09-10 14:20:44 +08:00
|
|
|
|
2018-08-28 11:59:30 +08:00
|
|
|
config AT_USING_CLI
|
|
|
|
bool "Enable CLI(Command-Line Interface) for AT commands"
|
|
|
|
default y
|
2021-08-23 17:30:05 +08:00
|
|
|
depends on RT_USING_FINSH
|
2019-09-10 14:20:44 +08:00
|
|
|
|
2018-08-28 11:59:30 +08:00
|
|
|
config AT_PRINT_RAW_CMD
|
|
|
|
bool "Enable print RAW format AT command communication data"
|
|
|
|
default n
|
2019-02-18 14:22:15 +08:00
|
|
|
|
|
|
|
config AT_CMD_MAX_LEN
|
2020-02-19 22:35:43 +08:00
|
|
|
int "The maximum length of AT Commands buffer"
|
2019-02-18 14:22:15 +08:00
|
|
|
default 128
|
2019-09-10 14:20:44 +08:00
|
|
|
|
2018-08-28 11:59:30 +08:00
|
|
|
endif
|
2018-10-12 15:47:20 +08:00
|
|
|
|
|
|
|
config AT_SW_VERSION_NUM
|
2018-11-06 11:41:44 +08:00
|
|
|
hex
|
2020-07-23 01:13:48 +08:00
|
|
|
default 0x10301
|
2018-10-12 15:47:20 +08:00
|
|
|
help
|
2020-02-19 22:35:43 +08:00
|
|
|
software module version number
|
2018-10-12 15:47:20 +08:00
|
|
|
|
2018-07-25 17:31:05 +08:00
|
|
|
endif
|