Kconfig 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. menuconfig RT_USING_AT
  2. bool "Enable AT commands"
  3. default n
  4. if RT_USING_AT
  5. config AT_DEBUG
  6. bool "Enable debug log output"
  7. default n
  8. config AT_USING_SERVER
  9. bool "Enable AT commands server"
  10. default n
  11. if AT_USING_SERVER
  12. config AT_SERVER_DEVICE
  13. string "Server device name"
  14. default "uart3"
  15. config AT_SERVER_RECV_BUFF_LEN
  16. int "The maximum length of server data accepted"
  17. default 256
  18. choice
  19. prompt "The commands new line sign"
  20. help
  21. This end mark can used for AT server determine the end of commands ,
  22. it can choose "\r", "\n" or "\r\n"
  23. default AT_CMD_END_MARK_CRLF
  24. config AT_CMD_END_MARK_CRLF
  25. bool "\\r\\n"
  26. config AT_CMD_END_MARK_CR
  27. bool "\\r"
  28. config AT_CMD_END_MARK_LF
  29. bool "\\n"
  30. endchoice
  31. endif
  32. config AT_USING_CLIENT
  33. bool "Enable AT commands client"
  34. default n
  35. if AT_USING_CLIENT
  36. config AT_CLIENT_NUM_MAX
  37. int "The maximum number of supported clients"
  38. default 1
  39. range 1 65535
  40. config AT_USING_SOCKET
  41. bool "Enable BSD Socket API support by AT commnads"
  42. select RT_USING_SAL
  43. select SAL_USING_AT
  44. default n
  45. endif
  46. if AT_USING_SERVER || AT_USING_CLIENT
  47. config AT_USING_CLI
  48. bool "Enable CLI(Command-Line Interface) for AT commands"
  49. default y
  50. depends on RT_USING_FINSH
  51. config AT_PRINT_RAW_CMD
  52. bool "Enable print RAW format AT command communication data"
  53. default n
  54. config AT_CMD_MAX_LEN
  55. int "The maximum length of AT Commands buffer"
  56. default 128
  57. endif
  58. config AT_SW_VERSION_NUM
  59. hex
  60. default 0x10301
  61. help
  62. software module version number
  63. endif