From 6e9b09db2332d43b90d46ec917f422b947d1a31c Mon Sep 17 00:00:00 2001 From: alienwalker Date: Tue, 19 Mar 2024 08:47:08 +0800 Subject: [PATCH] =?utf8?q?add:mobile=E9=87=8D=E7=BD=AE=E5=8D=8F=E8=AE=AE?= =?utf8?q?=E6=A0=88=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- components/mobile/luat_lib_mobile.c | 4 ++++ components/mobile/luat_mobile.h | 1 + 2 files changed, 5 insertions(+) diff --git a/components/mobile/luat_lib_mobile.c b/components/mobile/luat_lib_mobile.c index 6dae19bb..6831b85e 100644 --- a/components/mobile/luat_lib_mobile.c +++ b/components/mobile/luat_lib_mobile.c @@ -987,6 +987,10 @@ static const rotable_Reg_t reg_mobile[] = { {"CONF_CE_MODE", ROREG_INT(MOBILE_CONF_CE_MODE)}, //@const CONF_SIM_WC_MODE number SIM写入次数的配置和读取 {"CONF_SIM_WC_MODE", ROREG_INT(MOBILE_CONF_SIM_WC_MODE)}, + //@const CONF_FAKE_CELL_BARTIME number 伪基站禁止接入的时间,取值为0时取消,0xffff永久 + {"CONF_FAKE_CELL_BARTIME", ROREG_INT(MOBILE_CONF_FAKE_CELL_BARTIME)}, + //@const CONF_RESET_TO_FACTORY number 删除已保存的协议栈参数,重启后会使用默认配置 + {"CONF_RESET_TO_FACTORY", ROREG_INT(MOBILE_CONF_RESET_TO_FACTORY)}, //@const PIN_VERIFY number 验证PIN码操作 {"PIN_VERIFY", ROREG_INT(LUAT_SIM_PIN_VERIFY)}, //@const PIN_CHANGE number 更换PIN码操作 diff --git a/components/mobile/luat_mobile.h b/components/mobile/luat_mobile.h index 2908ea7e..097b3f6e 100644 --- a/components/mobile/luat_mobile.h +++ b/components/mobile/luat_mobile.h @@ -827,6 +827,7 @@ enum MOBILE_CONF_CE_MODE, MOBILE_CONF_SIM_WC_MODE, MOBILE_CONF_FAKE_CELL_BARTIME, + MOBILE_CONF_RESET_TO_FACTORY, }; uint32_t luat_mobile_sim_write_counter(void); -- 2.11.4.GIT