a1anwang

Results 4 comments of a1anwang

扫描回调 public void onBLEDeviceScan(BLEScanResult device, int rssi) rssi即表示信号值,一般为 负数。数值越大表示信号越强,可以自己在list里面排序。 BLEScanResult里面也有rssi对应的属性

> 怎么获取蓝牙Notify推送过来的数据 使用addNotifyOrIndicateOperation打开通知,数据会在onReceivedValue里接收

@maxiaodegithub 好的收到。明天我看一下

这样添加依赖,我把它加入到了jitpack.io: project: allprojects { repositories { maven { url 'https://jitpack.io' } } } app: implementation 'com.github.crazycodeboy:TakePhoto:v4.1.0'