加速雷鸟联网速度
authorhcj <1224667075@qq.com>
Wed, 26 Nov 2025 08:18:08 +0000 (16:18 +0800)
committerhcj <1224667075@qq.com>
Wed, 26 Nov 2025 08:18:08 +0000 (16:18 +0800)
cat1modem/src/LeiNiao/cat1Service.py
code/sdk/drivers/boards/brandy_evb/board_config/board_leiniao.h

index 81c5a36..a8f5cd4 100644 (file)
@@ -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()
index 19c74ce..a8174d4 100644 (file)
@@ -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] = {