1 Star 0 Fork 0

hunt/cellular_device

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Kconfig 5.92 KB
一键复制 编辑 原始数据 按行查看 历史
chuckie 提交于 2021-08-28 21:49 +08:00 . 1. 优化完善休眠框架
menuconfig RT_USING_CELLULAR_DEVICE
bool "Enable cellular device driver"
select RT_USING_AT_CLIENT
select RT_USING_LWIP
select RT_USING_LWIP212
select RT_LWIP_PPP
select RT_LWIP_PPPOS
depends on SYSTEM_USING_SYSWATCHER
default n
config CELLULAR_UART_DEVICE_NAME
string "Set the name of the serial device used to communicate with the cellular"
depends on RT_USING_CELLULAR_DEVICE
default ""
menuconfig CELLULAR_USING_DUAL_SIM
bool "Enable double sim support"
depends on RT_USING_CELLULAR_DEVICE
default n
config CELLULAR_SIM_SWITCH_PIN_NAME
string "Set the name of the pin used to switch the SIM card"
depends on CELLULAR_USING_DUAL_SIM
default ""
config CELLULAR_SIM_SWITCH_SIM2_PIN_LEVEL
int "Set the level of the pin that controls the switch to SIM2"
depends on CELLULAR_USING_DUAL_SIM
range 0 1
default 0
menuconfig CELLULAR_USING_MODULE_POWER_DRIVER
bool "Enable power control driver"
depends on RT_USING_CELLULAR_DEVICE
default n
help
If this option is not enabled, you need to implement all the interfaces in cellular_hal.c
config MODULE_POWER_CTRL_PIN_NAME
string "Set the name of the pin of the module power control"
depends on CELLULAR_USING_MODULE_POWER_DRIVER
default ""
config MODULE_POWER_ON_PIN_LEVEL
int "Set the level of the pin that controls the module power on"
depends on CELLULAR_USING_MODULE_POWER_DRIVER
range 0 1
default 0
help
Allowed value 0~1.
config MODULE_POWER_KEY_PIN_NAME
string "Set the name of the pin of module power key"
depends on CELLULAR_USING_MODULE_POWER_DRIVER
default ""
config MODULE_POWER_KEY_PIN_HIGH_LEVEL
int "Set the value of power key pin to output high level"
depends on CELLULAR_USING_MODULE_POWER_DRIVER
range 0 1
default 0
help
Allowed value 0~1.
config MODULE_RESET_PIN_NAME
string "Set the name of the pin of module reset"
depends on CELLULAR_USING_MODULE_POWER_DRIVER
default ""
config MODULE_RESET_PIN_HIGH_LEVEL
int "Set the value of reset pin to output high level"
depends on CELLULAR_USING_MODULE_POWER_DRIVER
range 0 1
default 0
help
Allowed value 0~1.
menuconfig CELLULAR_USING_SLEEP_CTRL
bool "Enable cellular sleep control"
depends on RT_USING_CELLULAR_DEVICE
default n
config MODULE_SLEEP_CTRL_IDLE_INTERVAL
int "Set the sleep idle interval, beyond which the sleep module"
range 3 30
depends on CELLULAR_USING_SLEEP_CTRL
default 5
config CELLULAR_USING_MODULE_SLEEP_CTRL_DRIVER
bool "Enable sleep control driver"
depends on CELLULAR_USING_SLEEP_CTRL
default n
config MODULE_SLEEP_STATE_PIN_NAME
string "Set the name of the pin of module sleep status"
depends on CELLULAR_USING_MODULE_SLEEP_CTRL_DRIVER
default ""
config MODULE_SLEEP_CTRL_PIN_NAME
string "Set the name of the pin used to control the sleep of the module"
depends on CELLULAR_USING_MODULE_SLEEP_CTRL_DRIVER
default ""
config MODULE_SLEEP_CTRL_PIN_HIGH_LEVEL
int "Set the value of sleep control pin to output high level"
depends on CELLULAR_USING_MODULE_SLEEP_CTRL_DRIVER
range 0 1
default 0
help
Allowed value 0~1.
config CELLULAR_USING_SMS
bool "Enable sms support"
depends on RT_USING_CELLULAR_DEVICE
default n
config CELLULAR_USING_RING
bool "Enable ring callback support"
depends on RT_USING_CELLULAR_DEVICE
default n
menuconfig CELLULAR_USING_CMUX
bool "Enable CMUX protocol(GSM0707/0710)"
depends on RT_USING_CELLULAR_DEVICE
default n
config CELLULAR_CMUX_CHANNEL_NUM
int "Set max channel number of cmux"
range 1 7
depends on CELLULAR_USING_CMUX
default 2
config CMUX_FRAME_BUFFER_SIZE
int "Set the channel frame size"
range 512 4096
depends on CELLULAR_USING_CMUX
default 128
config CELLULAR_CMUX_PPP_NAME
string "Set the cmu channel name used for PPP"
depends on CELLULAR_USING_CMUX
default "cmux_ppp"
config CELLULAR_CMUX_AT_NAME
string "Set the cmu channel name used for AT"
depends on CELLULAR_USING_CMUX
default "cmux_at"
config CELLULAR_CMUX_USING_DEBUG
bool "Enable debug for cmux"
depends on CELLULAR_USING_CMUX
default n
config CELLULAR_NETIF_HOST_NAME
string "Set cellular netif host name"
depends on RT_USING_CELLULAR_DEVICE
default ""
config CELLULAR_MINI_CSQ_VALUE
int "The minimum CSQ value that can support data dialing"
depends on RT_USING_CELLULAR_DEVICE
range 1 31
default 5
config CELLULAR_USING_CMD
bool "Enable cellular command"
depends on RT_USING_CELLULAR_DEVICE
default n
menuconfig CELLULAR_USING_SAMPLE
bool "Enable dial sample"
depends on RT_USING_CELLULAR_DEVICE
default n
config CELLULAR_SAMPLE_USING_CELLULAR_NAME
string "Set cellular name used by dial sample"
depends on CELLULAR_USING_SAMPLE
default ""
if RT_USING_CELLULAR_DEVICE
menu "Cellular module driver support"
config CELLULAR_USING_SLM750
bool "Enable Meige SLM750 driver"
depends on RT_USING_CELLULAR_DEVICE
default n
menuconfig CELLULAR_USING_QUECTEL_EC20
bool "Enable Quectel EC20 driver"
depends on RT_USING_CELLULAR_DEVICE
default n
config EC20_SLEEP_STATE_PIN_NAME
string "Set the name of the pin of EC20 sleep status"
depends on CELLULAR_USING_MODULE_SLEEP_CTRL_DRIVER
depends on CELLULAR_USING_QUECTEL_EC20
default ""
config EC20_SLEEP_CTRL_PIN_NAME
string "Set the name of the pin used to control the sleep of the EC20"
depends on CELLULAR_USING_MODULE_SLEEP_CTRL_DRIVER
depends on CELLULAR_USING_QUECTEL_EC20
default ""
config EC20_SLEEP_CTRL_PIN_HIGH_LEVEL
int "Set the value of sleep control pin to output high level"
depends on CELLULAR_USING_MODULE_SLEEP_CTRL_DRIVER
depends on CELLULAR_USING_QUECTEL_EC20
range 0 1
default 0
help
Allowed value 0~1.
config CELLULAR_USING_QUECTEL_EC600S
bool "Enable Quectel EC600S driver"
depends on RT_USING_CELLULAR_DEVICE
default n
endmenu
endif
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/code_hunter/cellular_device.git
git@gitee.com:code_hunter/cellular_device.git
code_hunter
cellular_device
cellular_device
master

搜索帮助