丢弃首次连接APP发送过来的数据转发
This commit is contained in:
@@ -91,6 +91,7 @@ static void ble_server_connect_handler(ble_server_status_t status)
|
||||
if(res == DEVICE_PC_ERROR){
|
||||
}
|
||||
device_wifi_stop();
|
||||
device_inside->ble_one_connect_flag = 1;
|
||||
SYS_LOG_INF("ble Connected");
|
||||
} else if(status == BLE_SERVER_STATUS_DISCONNECTED){
|
||||
uint8_t res = pc_device_choice_inside(NULL, DATA_PORT_TYPE_BLE_VAL, DISCONNECT);
|
||||
|
||||
Reference in New Issue
Block a user