设备扫描优化&我的收藏返回记忆位置
This commit is contained in:
1 parent
c209811f9f
commit
7f56624ec7
10 files changed
+71
-61
No files matched your search
@@ -238,11 +238,14 @@ public class BluetoothDeviceScript : MonoBehaviour
|
||||
{
|
||||
if (parts.Length >= 2)
|
||||
{
|
||||
if (ConnectedDisconnectPeripheralAction != null)
|
||||
ConnectedDisconnectPeripheralAction(parts[1]);
|
||||
|
||||
if (DisconnectedPeripheralAction != null)
|
||||
DisconnectedPeripheralAction(parts[1]);
|
||||
if (DisconnectedPeripheralAction != null)
|
||||
{
|
||||
DisconnectedPeripheralAction(parts[1]);
|
||||
}
|
||||
else if (ConnectedDisconnectPeripheralAction != null)
|
||||
{
|
||||
ConnectedDisconnectPeripheralAction(parts[1]);
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (message.Length > connectionError.Length && message.Substring(0,connectionError.Length) == connectionError){
|
||||
|
||||
Reference in new issue
Block a user