From 7e0da80982dbf1e4601cc096a2a0257c68c6c688 Mon Sep 17 00:00:00 2001
From: "DESKTOP-B25GA9E\\W35" <1733709035@qq.com>
Date: Thu, 2 Mar 2023 17:18:31 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=93=9D=E7=89=99=E7=BD=91?=
=?UTF-8?q?=E5=85=B3=E6=95=B0=E6=8D=AE=E7=AD=9B=E9=80=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../DataClass/BluetoothGateway.cs | 43 +++++++++++++++++--
.../HttpServer/HttpServerModel.cs | 4 +-
.../HttpServer/HttpServerView.cs | 27 ++++++++++--
3 files changed, 64 insertions(+), 10 deletions(-)
diff --git a/Assets/MsgTransmitTools/DataClass/BluetoothGateway.cs b/Assets/MsgTransmitTools/DataClass/BluetoothGateway.cs
index 7b2866f..6590d4a 100644
--- a/Assets/MsgTransmitTools/DataClass/BluetoothGateway.cs
+++ b/Assets/MsgTransmitTools/DataClass/BluetoothGateway.cs
@@ -2,6 +2,7 @@
using System.Collections.Generic;
using UnityEngine;
using LitJson;
+using System;
namespace JXSoft {
public class BluetoothGateway:IResponse
@@ -29,21 +30,55 @@ namespace JXSoft {
///
/// 设备信息
///
- public List> devices { get; set; }
+ public List> devices { get; set; }
+
+ private string exceptionMsg;
+
+ public BluetoothGateway() {
+
+ }
+
+
+ public string findDataByMac(string mac) {
+ foreach (List