Kconfig 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. menu "AT commands"
  2. config RT_USING_AT
  3. bool "Enable AT commands"
  4. default n
  5. if RT_USING_AT
  6. config AT_DEBUG
  7. bool "Enable debug log output"
  8. default n
  9. config AT_USING_SERVER
  10. bool "Enable AT commands server"
  11. default n
  12. if AT_USING_SERVER
  13. config AT_SERVER_DEVICE
  14. string "Server device name"
  15. default "uart3"
  16. config AT_SERVER_RECV_BUFF_LEN
  17. int "The maximum length of server data accepted"
  18. default 256
  19. choice
  20. prompt "The commands new line sign"
  21. help
  22. This end mark can used for AT server determine the end of commands ,
  23. it can choose "\r", "\n" or "\r\n"
  24. default AT_CMD_END_MARK_CRLF
  25. config AT_CMD_END_MARK_CRLF
  26. bool "\\r\\n"
  27. config AT_CMD_END_MARK_CR
  28. bool "\\r"
  29. config AT_CMD_END_MARK_LF
  30. bool "\\n"
  31. endchoice
  32. endif
  33. config AT_USING_CLIENT
  34. bool "Enable AT commands client"
  35. default n
  36. if AT_USING_CLIENT
  37. config AT_CLIENT_DEVICE
  38. string "Client device name"
  39. default "uart2"
  40. config AT_CLIENT_RECV_BUFF_LEN
  41. int "The maximum length of client data accepted"
  42. default 512
  43. config AT_USING_SOCKET
  44. bool "Provide similar BSD Socket API by AT"
  45. default n
  46. endif
  47. config AT_USING_CLI
  48. bool "Enable command-line interface for AT commands"
  49. default y
  50. depends on FINSH_USING_MSH
  51. config AT_PRINT_RAW_CMD
  52. bool "Enable print RAW format AT command communication data"
  53. default n
  54. endif
  55. endmenu