Skip to content

Commit

Permalink
Add Heart Rate service to scan so that Polar devices work again
Browse files Browse the repository at this point in the history
  • Loading branch information
weliem committed Mar 26, 2023
1 parent 08499b7 commit eb3f852
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,14 @@ private void startScan() {
handler.postDelayed(new Runnable() {
@Override
public void run() {
central.scanForPeripheralsWithServices(new UUID[]{BLP_SERVICE_UUID, HTS_SERVICE_UUID, PLX_SERVICE_UUID, WSS_SERVICE_UUID, GLUCOSE_SERVICE_UUID});
central.scanForPeripheralsWithServices(new UUID[]{
HRS_SERVICE_UUID,
BLP_SERVICE_UUID,
HTS_SERVICE_UUID,
PLX_SERVICE_UUID,
WSS_SERVICE_UUID,
GLUCOSE_SERVICE_UUID}
);
}
},1000);
}
Expand Down

0 comments on commit eb3f852

Please sign in to comment.