Kconfig.projbuild 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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. config EXAMPLE_UART_ISR_IN_RAM
  51. bool "Use UART ISR in RAM"
  52. default n
  53. select UART_ISR_IN_IRAM
  54. help
  55. Enable placing UART ISR to IRAM.
  56. This options is useful if PPPoS client needs to perform
  57. flash operations (e.g. OTA) while keeping the network operational.
  58. config EXAMPLE_LCP_ECHO
  59. bool "Enable LCP ECHO"
  60. default n
  61. select LWIP_ENABLE_LCP_ECHO
  62. help
  63. Enable this option to make use of LCP keepalive using
  64. LCP_ECHO_INTERVAL and LCP_MAXECHOFAILS to default values
  65. menu "UART Configuration"
  66. config EXAMPLE_MODEM_UART_TX_PIN
  67. int "TXD Pin Number"
  68. default 25
  69. range 0 31
  70. help
  71. Pin number of UART TX.
  72. config EXAMPLE_MODEM_UART_RX_PIN
  73. int "RXD Pin Number"
  74. default 26
  75. range 0 31
  76. help
  77. Pin number of UART RX.
  78. config EXAMPLE_MODEM_UART_RTS_PIN
  79. int "RTS Pin Number"
  80. default 27
  81. range 0 31
  82. help
  83. Pin number of UART RTS.
  84. config EXAMPLE_MODEM_UART_CTS_PIN
  85. int "CTS Pin Number"
  86. default 23
  87. range 0 31
  88. help
  89. Pin number of UART CTS.
  90. config EXAMPLE_MODEM_UART_EVENT_TASK_STACK_SIZE
  91. int "UART Event Task Stack Size"
  92. range 2000 6000
  93. default 3072
  94. help
  95. Stack size of UART event task.
  96. config EXAMPLE_MODEM_UART_EVENT_TASK_PRIORITY
  97. int "UART Event Task Priority"
  98. range 3 22
  99. default 5
  100. help
  101. Priority of UART event task.
  102. config EXAMPLE_MODEM_UART_EVENT_QUEUE_SIZE
  103. int "UART Event Queue Size"
  104. range 10 40
  105. default 30
  106. help
  107. Length of UART event queue.
  108. config EXAMPLE_MODEM_UART_TX_BUFFER_SIZE
  109. int "UART TX Buffer Size"
  110. range 256 2048
  111. default 512
  112. help
  113. Buffer size of UART TX buffer.
  114. config EXAMPLE_MODEM_UART_RX_BUFFER_SIZE
  115. int "UART RX Buffer Size"
  116. range 256 2048
  117. default 1024
  118. help
  119. Buffer size of UART RX buffer.
  120. endmenu
  121. endmenu