Ble从设备发现服务

时间:2015-05-06 16:07:01

标签: java android bluetooth bluetooth-lowenergy

一个简单的问题。是否可以在不连接到此设备的情况下从BLE中的设备发现服务(mConnectedGatt = device.connectGatt(this, false, mGattCallback);)?

1 个答案:

答案 0 :(得分:0)

找到它,startLeScan可以将UUID []作为第一个参数: let tArr = NSMutableArray() tArr.add(UITouch()) let touch = NSSet() touch.adding(tArr) touchesBegan(touch as! Set<UITouch>, with: nil)

相关问题