Kconfig.projbuild 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. menu "Example Configuration"
  2. choice EXAMPLE_MODEM_DEVICE
  3. prompt "Choose supported modem device (DCE)"
  4. default EXAMPLE_MODEM_DEVICE_BG96
  5. help
  6. Select modem device connected to the ESP DTE.
  7. config EXAMPLE_MODEM_DEVICE_SIM800
  8. bool "SIM800"
  9. help
  10. SIMCom SIM800L is a GSM/GPRS module.
  11. It supports Quad-band 850/900/1800/1900MHz.
  12. config EXAMPLE_MODEM_DEVICE_BG96
  13. bool "BG96"
  14. help
  15. Quectel BG96 is a series of LTE Cat M1/Cat NB1/EGPRS module.
  16. endchoice
  17. config EXAMPLE_MODEM_PPP_AUTH_USERNAME
  18. string "Set username for authentication"
  19. default "espressif"
  20. depends on !EXAMPLE_MODEM_PPP_AUTH_NONE
  21. help
  22. Set username for PPP Authentication.
  23. config EXAMPLE_MODEM_PPP_AUTH_PASSWORD
  24. string "Set password for authentication"
  25. default "esp32"
  26. depends on !EXAMPLE_MODEM_PPP_AUTH_NONE
  27. help
  28. Set password for PPP Authentication.
  29. config EXAMPLE_MODEM_PPP_AUTH_NONE
  30. bool "Skip PPP authentication"
  31. default n
  32. help
  33. Set to true for the PPP client to skip authentication
  34. config EXAMPLE_SEND_MSG
  35. bool "Short message (SMS)"
  36. default n
  37. help
  38. Select this, the modem will send a short message before power off.
  39. if EXAMPLE_SEND_MSG
  40. config EXAMPLE_SEND_MSG_PEER_PHONE_NUMBER
  41. string "Peer Phone Number (with area code)"
  42. default "+8610086"
  43. help
  44. Enter the peer phone number that you want to send message to.
  45. endif
  46. menu "UART Configuration"
  47. config EXAMPLE_MODEM_UART_TX_PIN
  48. int "TXD Pin Number"
  49. default 25
  50. range 0 31
  51. help
  52. Pin number of UART TX.
  53. config EXAMPLE_MODEM_UART_RX_PIN
  54. int "RXD Pin Number"
  55. default 26
  56. range 0 31
  57. help
  58. Pin number of UART RX.
  59. config EXAMPLE_MODEM_UART_RTS_PIN
  60. int "RTS Pin Number"
  61. default 27
  62. range 0 31
  63. help
  64. Pin number of UART RTS.
  65. config EXAMPLE_MODEM_UART_CTS_PIN
  66. int "CTS Pin Number"
  67. default 23
  68. range 0 31
  69. help
  70. Pin number of UART CTS.
  71. config EXAMPLE_MODEM_UART_EVENT_TASK_STACK_SIZE
  72. int "UART Event Task Stack Size"
  73. range 2000 6000
  74. default 2048
  75. help
  76. Stack size of UART event task.
  77. config EXAMPLE_MODEM_UART_EVENT_TASK_PRIORITY
  78. int "UART Event Task Priority"
  79. range 3 22
  80. default 5
  81. help
  82. Priority of UART event task.
  83. config EXAMPLE_MODEM_UART_EVENT_QUEUE_SIZE
  84. int "UART Event Queue Size"
  85. range 10 40
  86. default 30
  87. help
  88. Length of UART event queue.
  89. config EXAMPLE_MODEM_UART_PATTERN_QUEUE_SIZE
  90. int "UART Pattern Queue Size"
  91. range 10 40
  92. default 20
  93. help
  94. Length of UART pattern queue.
  95. config EXAMPLE_MODEM_UART_TX_BUFFER_SIZE
  96. int "UART TX Buffer Size"
  97. range 256 2048
  98. default 512
  99. help
  100. Buffer size of UART TX buffer.
  101. config EXAMPLE_MODEM_UART_RX_BUFFER_SIZE
  102. int "UART RX Buffer Size"
  103. range 256 2048
  104. default 1024
  105. help
  106. Buffer size of UART RX buffer.
  107. endmenu
  108. endmenu