1. 修复本地控制无法修改开关名字的问题
2. 启动后默认启动本地离线控制
This commit is contained in:
@ -30,7 +30,7 @@ extern "C" {
|
||||
|
||||
#define DEVICE_HIVERSION "1.0.0"
|
||||
/* 设备固件版本号 */
|
||||
#define FIRMWARE_VER "1.0.0"
|
||||
#define FIRMWARE_VER "1.0.1"
|
||||
/* 设备硬件版本号 */
|
||||
#define HARDWARE_VER "1.0.0"
|
||||
/* 设备软件版本号 */
|
||||
|
@ -343,10 +343,6 @@ int handle_get_cmd(const char* svc_id, const char* in, unsigned int in_len, char
|
||||
// 支持蓝牙和云端双模式上报
|
||||
int fast_report(const char* svc_id)
|
||||
{
|
||||
// 引入外部的蓝牙控制函数
|
||||
extern bool switch_panel_ble_is_enabled(void);
|
||||
extern int switch_panel_ble_fast_report(const char *svc_id);
|
||||
|
||||
// 检查当前是否处于蓝牙控制模式
|
||||
if (switch_panel_ble_is_enabled()) {
|
||||
// 蓝牙模式下通过蓝牙上报
|
||||
|
Reference in New Issue
Block a user