mBluetoothGatt.getService(uuid) returns null

前端 未结 3 1250
误落风尘
误落风尘 2021-01-18 08:34

In my app , i am passng the UUID number of the hearing aid service as in the BLE sample from google i.e. 0000a00-0000-1000-8000-00805f9b34fb

But the getservice retur

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-18 09:12

    Your UUID is also wrong. It should be 0000a00X-0000-1000-8000-00805f9b34fb, not 0000a00-0000-1000-8000-00805f9b34fb

提交回复
热议问题