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"
# _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()
//默认开启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] = {