Skip to content

Commit e419cb2

Browse files
committed
update scanner
1 parent 1fe450f commit e419cb2

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

0 Bytes
Binary file not shown.

app/src/main/java/com/alfaloop/android/alfabeacon/fragment/ConnectedFragment.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,6 @@ private void morphingBeaconButtonClicked( ) {
485485
morphToCompleted(iBeaconMorphingButton);
486486
}
487487
}, this::onConnectionFailure);
488-
489488
}
490489

491490
private void morphingRadioButtonClicked() {

app/src/main/java/com/alfaloop/android/alfabeacon/fragment/ScannerFragment.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ private void scanResultParser(ScanResult result) {
240240
if (record == null)
241241
return;
242242

243-
// if(result.getRssi() < -58) {
243+
// if(result.getRssi() < -60) {
244244
// return;
245245
// }
246246

@@ -256,6 +256,7 @@ private void scanResultParser(ScanResult result) {
256256
byte[] sdata = record.getServiceData(u);
257257
type = (int)sdata[0];
258258
battery = (int)sdata[1];
259+
259260
// Log.i(TAG, ParserUtils.bytesToHex(sdata));
260261
break;
261262
}

0 commit comments

Comments
 (0)