Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

排序问题 #3

Open
jsjtzq opened this issue Apr 22, 2019 · 3 comments
Open

排序问题 #3

jsjtzq opened this issue Apr 22, 2019 · 3 comments

Comments

@jsjtzq
Copy link

jsjtzq commented Apr 22, 2019

如何实现按照信号强度排序?

@a1anwang
Copy link
Owner

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

@fix2006
Copy link

fix2006 commented Jul 3, 2019

怎么获取蓝牙Notify推送过来的数据

@a1anwang
Copy link
Owner

a1anwang commented Aug 7, 2019

怎么获取蓝牙Notify推送过来的数据

使用addNotifyOrIndicateOperation打开通知,数据会在onReceivedValue里接收

@shinobu59 shinobu59 mentioned this issue Aug 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants