Kconfig.projbuild 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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. config EXAMPLE_MODEM_DEVICE_SIM7600
  17. bool "SIM7600"
  18. help
  19. SIM7600 is Multi-Band LTE-TDD/LTE-FDD/HSPA+ and GSM/GPRS/EDGE module
  20. endchoice
  21. config EXAMPLE_MODEM_PPP_AUTH_USERNAME
  22. string "Set username for authentication"
  23. default "espressif"
  24. depends on !EXAMPLE_MODEM_PPP_AUTH_NONE
  25. help
  26. Set username for PPP Authentication.
  27. config EXAMPLE_MODEM_PPP_AUTH_PASSWORD
  28. string "Set password for authentication"
  29. default "esp32"
  30. depends on !EXAMPLE_MODEM_PPP_AUTH_NONE
  31. help
  32. Set password for PPP Authentication.
  33. config EXAMPLE_MODEM_PPP_AUTH_NONE
  34. bool "Skip PPP authentication"
  35. default n
  36. help
  37. Set to true for the PPP client to skip authentication
  38. config EXAMPLE_SEND_MSG
  39. bool "Short message (SMS)"
  40. default n
  41. help
  42. Select this, the modem will send a short message before power off.
  43. if EXAMPLE_SEND_MSG
  44. config EXAMPLE_SEND_MSG_PEER_PHONE_NUMBER
  45. string "Peer Phone Number (with area code)"
  46. default "+8610086"
  47. help
  48. Enter the peer phone number that you want to send message to.
  49. endif
  50. menu "UART Configuration"
  51. config EXAMPLE_MODEM_UART_TX_PIN
  52. int "TXD Pin Number"
  53. default 25
  54. range 0 31
  55. help
  56. Pin number of UART TX.
  57. config EXAMPLE_MODEM_UART_RX_PIN
  58. int "RXD Pin Number"
  59. default 26
  60. range 0 31
  61. help
  62. Pin number of UART RX.
  63. config EXAMPLE_MODEM_UART_RTS_PIN
  64. int "RTS Pin Number"
  65. default 27
  66. range 0 31
  67. help
  68. Pin number of UART RTS.
  69. config EXAMPLE_MODEM_UART_CTS_PIN
  70. int "CTS Pin Number"
  71. default 23
  72. range 0 31
  73. help
  74. Pin number of UART CTS.
  75. config EXAMPLE_MODEM_UART_EVENT_TASK_STACK_SIZE
  76. int "UART Event Task Stack Size"
  77. range 2000 6000
  78. default 3072
  79. help
  80. Stack size of UART event task.
  81. config EXAMPLE_MODEM_UART_EVENT_TASK_PRIORITY
  82. int "UART Event Task Priority"
  83. range 3 22
  84. default 5
  85. help
  86. Priority of UART event task.
  87. config EXAMPLE_MODEM_UART_EVENT_QUEUE_SIZE
  88. int "UART Event Queue Size"
  89. range 10 40
  90. default 30
  91. help
  92. Length of UART event queue.
  93. config EXAMPLE_MODEM_UART_PATTERN_QUEUE_SIZE
  94. int "UART Pattern Queue Size"
  95. range 10 40
  96. default 20
  97. help
  98. Length of UART pattern queue.
  99. config EXAMPLE_MODEM_UART_TX_BUFFER_SIZE
  100. int "UART TX Buffer Size"
  101. range 256 2048
  102. default 512
  103. help
  104. Buffer size of UART TX buffer.
  105. config EXAMPLE_MODEM_UART_RX_BUFFER_SIZE
  106. int "UART RX Buffer Size"
  107. range 256 2048
  108. default 1024
  109. help
  110. Buffer size of UART RX buffer.
  111. endmenu
  112. endmenu