From: hcj <1224667075@qq.com> Date: Wed, 26 Nov 2025 08:18:08 +0000 (+0800) Subject: 加速雷鸟联网速度 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=e0560f2d0240ef086875c032e83020115117d15d;p=mirrors%2FFD230.git 加速雷鸟联网速度 --- diff --git a/cat1modem/src/LeiNiao/cat1Service.py b/cat1modem/src/LeiNiao/cat1Service.py index 81c5a3678..a8f5cd421 100644 --- a/cat1modem/src/LeiNiao/cat1Service.py +++ b/cat1modem/src/LeiNiao/cat1Service.py @@ -82,7 +82,7 @@ sms.setCallback(msg_cb)#sms注册回调 CAT1_SERVICE_HEAD = 'FE' #固定head PROJECT_NAME = "Cat1SlipUDPService" -PROJECT_VERSION = "PY_SRV_V26" +PROJECT_VERSION = "PY_SRV_V27" CONFIG_JSON="/usr/system_config.json" CURRENT_APP_TYPE="pysrv" @@ -1092,7 +1092,7 @@ def checknet_cb(arg): # _thread.start_new_thread(cat1service.wait_network_ready, ()) timer = osTimer() # checknet_cb(()) -timer.start(30000,1,checknet_cb) +timer.start(10000,1,checknet_cb) def bootupmsg_cb(arg): cat1service.bootup_msg_to_bt() diff --git a/code/sdk/drivers/boards/brandy_evb/board_config/board_leiniao.h b/code/sdk/drivers/boards/brandy_evb/board_config/board_leiniao.h index 19c74ce58..a8174d40c 100644 --- a/code/sdk/drivers/boards/brandy_evb/board_config/board_leiniao.h +++ b/code/sdk/drivers/boards/brandy_evb/board_config/board_leiniao.h @@ -248,7 +248,7 @@ const hal_pio_config_t g_pio_function_config[PIN_MAX_NUMBER] = { //默认开启Cat1 然后再根据配置决定是否关闭. //默认不开启 ppg checkid失败,原因未知,暂时开机开启cat1 -#define DEFAULT_POWERON_CAT1 0 +#define DEFAULT_POWERON_CAT1 1 //需要配置默认输出的,以及需要配置默认输入中断函数的。 const hal_gpio_config_t g_gpio_function_config[PIN_MAX_NUMBER] = {