FastBle icon indicating copy to clipboard operation
FastBle copied to clipboard

请问我连接成功后,blueToothGatt.getServices()的返回值为什么为空啊

Open lavaguezf opened this issue 9 years ago • 3 comments

qq 20170824190308

lavaguezf avatar Aug 24 '17 11:08 lavaguezf

如果要查询service,建议在 onServicesDiscovered(BluetoothGatt gatt, int status) 回调方法中去做操作,而不是onConnectSuccess(BluetoothGatt gatt, int status).

Jasonchenlijian avatar Aug 24 '17 11:08 Jasonchenlijian

请问你找到这个方法了吗onServicesDiscovered

WangStormstout avatar Aug 25 '17 01:08 WangStormstout

zofp7 vb 40up6zupzk2 d

lavaguezf avatar Aug 25 '17 02:08 lavaguezf