question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exit region event takes a long time to fire when app is in background

See original GitHub issue

I tested the library-reference having modified it only to send notifications on each didEnterRegion and didExitRegion events (for better visualization).

Expected behavior

App is in background. Thanks to the fast BLE background scans (paragraph: background detections between scan cycles) i expect the following:

  1. On entering a region i expect to receive didEnterRegion event in a matter of 10-15 seconds

  2. On exiting a region i expect to receive didExitRegion event in a matter of 10-15 seconds

Actual behavior

On entering a region event was received in under 10 seconds, whereas on exiting it came only after 5 minutes. On tests that i did not record this time could raise up to 8-10 minutes.

Steps to reproduce this behavior

Steps are in a test report form. The device used in this test was Google Pixel 2 (Android 9).

  1. 13:41:20 - app is in background
  2. 13:43:20 - beacon was enabled.
  3. 13:43:25 - got an enter event. App launched itself in a foreground, i almost immediately sent it back to the background. (see Log 1)
  4. 13:48:58 - beacon was disabled.
  5. 13:53:47 - got an exit event. (see Log 2)

Mobile device model and OS version

Tested on Google Pixel 2.0 (android 9) and Xiaomi Redmi 4X (android 7.1.2).

Android Beacon Library version

2.16.1

Conclusion

So, the question - when app is in background is it okay for the didExitRegion event to come only after 5-15 minutes? If so, why?

To better understand the use case - i am tracking the amount of time the user spends in a region. Thus, precision is of importance.

Logs

Log 1

`2019-04-30 13:43:25.846 11508-11508/org.altbeacon.beaconreference D/StartupBroadcastReceiver: onReceive called in startup broadcast receiver 2019-04-30 13:43:25.850 11508-11508/org.altbeacon.beaconreference D/StartupBroadcastReceiver: Passive background scan callback type: 1 2019-04-30 13:43:25.850 11508-11508/org.altbeacon.beaconreference D/StartupBroadcastReceiver: got Android O background scan via intent 2019-04-30 13:43:25.850 11508-11508/org.altbeacon.beaconreference D/ScanJobScheduler: scheduling an immediate scan job because last did 1556610205850seconds ago. 2019-04-30 13:43:25.880 11508-11508/org.altbeacon.beaconreference D/ScanState: Scan state restore regions: monitored=1 ranged=0 2019-04-30 13:43:25.881 11508-11508/org.altbeacon.beaconreference D/BeaconLocalBroadcastProcessor: Register calls: global=7 instance=7 2019-04-30 13:43:25.881 11508-11508/org.altbeacon.beaconreference D/ScanState: ScanState says background mode for ScanJob is true 2019-04-30 13:43:25.881 11508-11508/org.altbeacon.beaconreference D/ScanJobScheduler: We just woke up in the background based on a new scan result. Start scan job immediately. 2019-04-30 13:43:25.881 11508-11508/org.altbeacon.beaconreference D/ScanJobScheduler: Scheduling immediate ScanJob to run in 0 millis 2019-04-30 13:43:25.884 11508-11508/org.altbeacon.beaconreference I/ScanJob: Using immediateScanJobId from manifest: 208352939 2019-04-30 13:43:25.900 11508-11508/org.altbeacon.beaconreference I/ScanJob: Using periodicScanJobId from manifest: 208352940 2019-04-30 13:43:25.900 11508-11508/org.altbeacon.beaconreference W/JobInfo: Requested interval +5m10s0ms for job 208352940 is too small; raising to +15m0s0ms 2019-04-30 13:43:25.900 11508-11508/org.altbeacon.beaconreference W/JobInfo: Requested flex 0 for job 208352940 is too small; raising to +5m0s0ms 2019-04-30 13:43:25.900 11508-11508/org.altbeacon.beaconreference D/ScanJobScheduler: Scheduling ScanJob (job:208352940/org.altbeacon.beaconreference/org.altbeacon.beacon.service.ScanJob) to run every 310000 millis 2019-04-30 13:43:25.928 11508-11508/org.altbeacon.beaconreference D/ScanState: Scan state restore regions: monitored=1 ranged=0 2019-04-30 13:43:25.928 11508-11508/org.altbeacon.beaconreference I/CycledLeScanner: Using Android O scanner 2019-04-30 13:43:25.934 11508-11508/org.altbeacon.beaconreference I/ScanJob: Using immediateScanJobId from manifest: 208352939 2019-04-30 13:43:25.935 11508-11508/org.altbeacon.beaconreference I/ScanJob: Running immediate scan job: instance is org.altbeacon.beacon.service.ScanJob@4768532 2019-04-30 13:43:25.935 11508-11508/org.altbeacon.beaconreference D/ScanJob: Processing 1 queued scan resuilts 2019-04-30 13:43:25.936 11508-11508/org.altbeacon.beaconreference D/ScanJob: Done processing queued scan resuilts 2019-04-30 13:43:25.936 11508-11508/org.altbeacon.beaconreference I/ScanJob: scanJob version 2.16.1 is starting up on the main process 2019-04-30 13:43:25.937 11508-12062/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:43:25.937 11508-12062/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 0201061bff1801beac2f234454cf6d4a0fadf2f4911ba9ffa6007b01c8be6400000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 30 2019-04-30 13:43:25.937 11508-12062/org.altbeacon.beaconreference D/BeaconParser: This is a recognized beacon advertisement – be ac seen 2019-04-30 13:43:25.937 11508-12062/org.altbeacon.beaconreference D/BeaconParser: Bytes are: 0201061bff1801beac2f234454cf6d4a0fadf2f4911ba9ffa6007b01c8be6400000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:43:25.940 11508-11508/org.altbeacon.beaconreference D/ModelSpecificDistanceCalculator: Finding best distance calculator for 9, PQ2A.190305.002, Pixel 2, Google 2019-04-30 13:43:25.940 11508-11508/org.altbeacon.beaconreference D/AndroidModel: Score is 0 for LGE;Nexus 5;LPV79;4.4.2 compared to Google;Pixel 2;PQ2A.190305.002;9 2019-04-30 13:43:25.940 11508-11508/org.altbeacon.beaconreference D/AndroidModel: Score is 0 for LGE;Nexus 4;KOT49H;4.4.2 compared to Google;Pixel 2;PQ2A.190305.002;9 2019-04-30 13:43:25.941 11508-11508/org.altbeacon.beaconreference D/AndroidModel: Score is 0 for XT1115;Moto X Pro;LXG22.67-7.1;5.0.2 compared to Google;Pixel 2;PQ2A.190305.002;9 2019-04-30 13:43:25.941 11508-11508/org.altbeacon.beaconreference W/ModelSpecificDistanceCalculator: Cannot find match for this device. Using default 2019-04-30 13:43:25.941 11508-11508/org.altbeacon.beaconreference D/ModelSpecificDistanceCalculator: Finding best distance calculator for 9, PQ2A.190305.002, Pixel 2, Google 2019-04-30 13:43:25.941 11508-11508/org.altbeacon.beaconreference D/AndroidModel: Score is 0 for LGE;Nexus 5;LPV79;4.4.2 compared to Google;Pixel 2;PQ2A.190305.002;9 2019-04-30 13:43:25.941 11508-11508/org.altbeacon.beaconreference D/AndroidModel: Score is 0 for LGE;Nexus 4;KOT49H;4.4.2 compared to Google;Pixel 2;PQ2A.190305.002;9 2019-04-30 13:43:25.941 11508-11508/org.altbeacon.beaconreference D/AndroidModel: Score is 0 for XT1115;Moto X Pro;LXG22.67-7.1;5.0.2 compared to Google;Pixel 2;PQ2A.190305.002;9 2019-04-30 13:43:25.941 11508-11508/org.altbeacon.beaconreference W/ModelSpecificDistanceCalculator: Cannot find match for this device. Using default 2019-04-30 13:43:25.941 11508-12062/org.altbeacon.beaconreference D/ScanHelper: Beacon packet detected for: id1: 2f234454-cf6d-4a0f-adf2-f4911ba9ffa6 id2: 123 id3: 456 type altbeacon with rssi -77 2019-04-30 13:43:25.945 11508-11508/org.altbeacon.beaconreference D/BluetoothAdapter: isLeEnabled(): ON 2019-04-30 13:43:25.946 11508-12062/org.altbeacon.beaconreference D/ScanHelper: beacon detected : id1: 2f234454-cf6d-4a0f-adf2-f4911ba9ffa6 id2: 123 id3: 456 type altbeacon 2019-04-30 13:43:25.947 11508-12062/org.altbeacon.beaconreference D/Callback: attempting callback via local broadcast intent: org.altbeacon.beacon.monitor_notification 2019-04-30 13:43:25.948 11508-12062/org.altbeacon.beaconreference D/MonitoringStatus: saveMonitoringStatusIfOn() 2019-04-30 13:43:25.948 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: Set scan periods called with 10000, 300000 Background mode must have changed. 2019-04-30 13:43:25.948 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: We are in the background. Setting wakeup alarm 2019-04-30 13:43:25.952 11508-12062/org.altbeacon.beaconreference D/ScanHelper: looking for ranging region matches for this beacon 2019-04-30 13:43:25.952 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: Set a wakeup alarm to go off in 300000 ms: PendingIntent{da2a82c: android.os.BinderProxy@7374cfe} 2019-04-30 13:43:25.952 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: start called 2019-04-30 13:43:25.952 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: starting a new scan cycle 2019-04-30 13:43:25.953 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: starting a new bluetooth le scan 2019-04-30 13:43:25.954 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: starting a scan in SCAN_MODE_LOW_LATENCY 2019-04-30 13:43:25.954 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: Using an empty scan filter since this is 8.1+ on Non-Samsung 2019-04-30 13:43:25.954 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: Making new Android L scanner 2019-04-30 13:43:25.955 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: Waiting to stop scan cycle for another 10000 milliseconds 2019-04-30 13:43:25.956 11508-12061/org.altbeacon.beaconreference D/BluetoothAdapter: isLeEnabled(): ON 2019-04-30 13:43:25.957 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: Set a wakeup alarm to go off in 300000 ms: PendingIntent{da2a82c: android.os.BinderProxy@7374cfe} 2019-04-30 13:43:25.957 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: Scan started 2019-04-30 13:43:25.957 11508-11508/org.altbeacon.beaconreference D/ScanState: ScanState says background mode for ScanJob is true 2019-04-30 13:43:25.957 11508-11508/org.altbeacon.beaconreference I/ScanJob: Scan job running for 10000 millis 2019-04-30 13:43:25.957 11508-11508/org.altbeacon.beaconreference D/ScanState: ScanState says background mode for ScanJob is true 2019-04-30 13:43:25.958 11508-11508/org.altbeacon.beaconreference D/StartupBroadcastReceiver: onReceive called in startup broadcast receiver 2019-04-30 13:43:25.958 11508-11508/org.altbeacon.beaconreference D/StartupBroadcastReceiver: Passive background scan callback type: 1 2019-04-30 13:43:25.958 11508-11508/org.altbeacon.beaconreference D/StartupBroadcastReceiver: got Android O background scan via intent 2019-04-30 13:43:25.958 11508-11508/org.altbeacon.beaconreference D/ScanJobScheduler: Not scheduling an immediate scan job because we just did recently. 2019-04-30 13:43:25.959 11508-11702/org.altbeacon.beaconreference D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=10 mScannerId=0 2019-04-30 13:43:25.960 11508-11508/org.altbeacon.beaconreference D/IntentHandler: got monitoring data 2019-04-30 13:43:25.960 11508-11508/org.altbeacon.beaconreference D/IntentHandler: Calling monitoring notifier: org.altbeacon.beaconreference.BeaconReferenceApplication@895888a 2019-04-30 13:43:25.960 11508-11508/org.altbeacon.beaconreference D/BeaconReferenceApp: did enter region. 2019-04-30 13:43:25.960 11508-11508/org.altbeacon.beaconreference D/BeaconReferenceApp: auto launching MainActivity 2019-04-30 13:43:25.990 11508-11508/org.altbeacon.beaconreference W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@c015efb 2019-04-30 13:43:25.994 11508-11508/org.altbeacon.beaconreference D/MonitoringActivity: onCreate 2019-04-30 13:43:26.055 11508-11508/org.altbeacon.beaconreference D/BeaconManager: updating background flag to false 2019-04-30 13:43:26.055 11508-11508/org.altbeacon.beaconreference D/BeaconManager: updating scan period to 1100, 0 2019-04-30 13:43:26.055 11508-11508/org.altbeacon.beaconreference D/ScanJobScheduler: Applying settings to ScanJob 2019-04-30 13:43:26.061 11508-11508/org.altbeacon.beaconreference D/ScanState: Scan state restore regions: monitored=1 ranged=0 2019-04-30 13:43:26.061 11508-11508/org.altbeacon.beaconreference D/ScanState: ranged regions: old=0 new=0 2019-04-30 13:43:26.061 11508-11508/org.altbeacon.beaconreference D/ScanState: monitored regions: old=1 new=1 2019-04-30 13:43:26.061 11508-11508/org.altbeacon.beaconreference D/ScanState: Updated state with 0 ranging regions and 1 monitoring regions. 2019-04-30 13:43:26.065 11508-11508/org.altbeacon.beaconreference D/ScanState: Temp file is /data/user/0/org.altbeacon.beaconreference/files/android-beacon-library-scan-state-temp 2019-04-30 13:43:26.065 11508-11508/org.altbeacon.beaconreference D/ScanState: Perm file is /data/user/0/org.altbeacon.beaconreference/files/android-beacon-library-scan-state 2019-04-30 13:43:26.066 11508-11508/org.altbeacon.beaconreference D/MonitoringStatus: saveMonitoringStatusIfOn() 2019-04-30 13:43:26.067 11508-11508/org.altbeacon.beaconreference D/ScanJobScheduler: Applying scan job settings with background mode false 2019-04-30 13:43:26.067 11508-11508/org.altbeacon.beaconreference D/BeaconLocalBroadcastProcessor: Register calls: global=8 instance=8 2019-04-30 13:43:26.067 11508-11508/org.altbeacon.beaconreference D/ScanState: ScanState says background mode for ScanJob is false 2019-04-30 13:43:26.067 11508-11508/org.altbeacon.beaconreference D/ScanJobScheduler: Scheduling immediate ScanJob to run in 50 millis 2019-04-30 13:43:26.068 11508-11508/org.altbeacon.beaconreference I/ScanJob: Using immediateScanJobId from manifest: 208352939 2019-04-30 13:43:26.071 11508-11508/org.altbeacon.beaconreference I/ScanJob: Using periodicScanJobId from manifest: 208352940 2019-04-30 13:43:26.071 11508-11508/org.altbeacon.beaconreference W/JobInfo: Requested interval +5m0s0ms for job 208352940 is too small; raising to +15m0s0ms 2019-04-30 13:43:26.071 11508-11508/org.altbeacon.beaconreference W/JobInfo: Requested flex 0 for job 208352940 is too small; raising to +5m0s0ms 2019-04-30 13:43:26.071 11508-11508/org.altbeacon.beaconreference D/ScanJobScheduler: Scheduling ScanJob (job:208352940/org.altbeacon.beaconreference/org.altbeacon.beacon.service.ScanJob) to run every 300000 millis 2019-04-30 13:43:26.073 11508-11508/org.altbeacon.beaconreference D/BackgroundPowerSaver: activity resumed: org.altbeacon.beaconreference.MonitoringActivity@65714af active activities: 1 2019-04-30 13:43:26.080 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: got record 2019-04-30 13:43:26.081 11508-11508/org.altbeacon.beaconreference I/chatty: uid=10501(org.altbeacon.beaconreference) identical 3 lines 2019-04-30 13:43:26.082 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: got record 2019-04-30 13:43:26.082 11508-12065/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:43:26.082 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: got record 2019-04-30 13:43:26.082 11508-12065/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 02011b0bff4c0009060308c0a8013f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 14 2019-04-30 13:43:26.082 11508-12064/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:43:26.082 11508-12064/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 0201060aff4c0010050b18715df5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 13 2019-04-30 13:43:26.082 11508-12064/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 0201060aff4c0010050b18715df5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:43:26.082 11508-12065/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 02011b0bff4c0009060308c0a8013f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:43:26.083 11508-12066/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:43:26.083 11508-12067/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:43:26.083 11508-12068/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 1bff7500420401806084c0ef5d045c86c0ef5d045b0100000000000000000000000000000000000000000000000000000000000000000000000000000000 with startIndex: 2, endIndex: 27 2019-04-30 13:43:26.083 11508-12066/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 0201060aff4c0010050b186da746000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 13 2019-04-30 13:43:26.083 11508-12067/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 02011a1aff4c000c0e00d4fb11d14e02285dc2b433b3a010050b18e29f3a0000000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 29 2019-04-30 13:43:26.083 11508-12068/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 1bff7500420401806084c0ef5d045c86c0ef5d045b0100000000000000000000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:43:26.083 11508-12066/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 0201060aff4c0010050b186da746000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:43:26.083 11508-12067/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 02011a1aff4c000c0e00d4fb11d14e02285dc2b433b3a010050b18e29f3a0000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:43:26.083 11508-11508/org.altbeacon.beaconreference I/ScanJob: Using periodicScanJobId from manifest: 208352940 2019-04-30 13:43:26.083 11508-11508/org.altbeacon.beaconreference I/ScanJob: onStopJob called for immediate scan org.altbeacon.beacon.service.ScanJob@4768532 2019-04-30 13:43:26.084 11508-12069/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:43:26.084 11508-12069/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 0201061aff4c0002152f234454cf6d4a0fadf2f4911ba9ffa6007b01c8be0000000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 29 2019-04-30 13:43:26.084 11508-12069/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 0201061aff4c0002152f234454cf6d4a0fadf2f4911ba9ffa6007b01c8be0000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:43:26.085 11508-11508/org.altbeacon.beaconreference D/BluetoothAdapter: isLeEnabled(): ON 2019-04-30 13:43:26.085 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: stop called 2019-04-30 13:43:26.085 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: disabling scan 2019-04-30 13:43:26.086 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: Done with scan cycle 2019-04-30 13:43:26.086 11508-11508/org.altbeacon.beaconreference D/ScanHelper: Beacon simulator not enabled 2019-04-30 13:43:26.086 11508-12061/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: Stopping LE scan on scan handler 2019-04-30 13:43:26.086 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: Scanning disabled. 2019-04-30 13:43:26.086 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: cancel wakeup alarm: PendingIntent{da2a82c: android.os.BinderProxy@7374cfe} 2019-04-30 13:43:26.087 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: Set a wakeup alarm to go off in 9223372036384025269 ms: PendingIntent{da2a82c: android.os.BinderProxy@7374cfe} 2019-04-30 13:43:26.087 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: Destroying 2019-04-30 13:43:26.087 11508-11508/org.altbeacon.beaconreference D/ScanJob: Scanning stopped 2019-04-30 13:43:26.087 11508-11508/org.altbeacon.beaconreference D/ScanJob: Checking to see if we need to start a passive scan 2019-04-30 13:43:26.087 11508-11508/org.altbeacon.beaconreference I/ScanJob: We are inside a beacon region. We will not scan between cycles. 2019-04-30 13:43:26.087 11508-12061/org.altbeacon.beaconreference D/BluetoothAdapter: isLeEnabled(): ON 2019-04-30 13:43:26.091 11508-12061/org.altbeacon.beaconreference D/CycledLeScanner: Quitting scan thread 2019-04-30 13:43:26.133 11508-11508/org.altbeacon.beaconreference I/AssistStructure: Flattened final assist data: 2628 bytes, containing 1 windows, 7 views 2019-04-30 13:43:26.155 11508-11508/org.altbeacon.beaconreference D/ScanState: Scan state restore regions: monitored=1 ranged=0 2019-04-30 13:43:26.155 11508-11508/org.altbeacon.beaconreference I/CycledLeScanner: Using Android O scanner 2019-04-30 13:43:26.157 11508-11508/org.altbeacon.beaconreference I/ScanJob: Using immediateScanJobId from manifest: 208352939 2019-04-30 13:43:26.157 11508-11508/org.altbeacon.beaconreference I/ScanJob: Running immediate scan job: instance is org.altbeacon.beacon.service.ScanJob@3a5dd1c 2019-04-30 13:43:26.158 11508-11508/org.altbeacon.beaconreference D/ScanJob: Processing 1 queued scan resuilts 2019-04-30 13:43:26.158 11508-11508/org.altbeacon.beaconreference D/ScanJob: Done processing queued scan resuilts 2019-04-30 13:43:26.158 11508-11508/org.altbeacon.beaconreference I/ScanJob: scanJob version 2.16.1 is starting up on the main process 2019-04-30 13:43:26.158 11508-12085/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:43:26.159 11508-12085/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 0201061bff1801beac2f234454cf6d4a0fadf2f4911ba9ffa6007b01c8be6400000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 30 2019-04-30 13:43:26.159 11508-12085/org.altbeacon.beaconreference D/BeaconParser: This is a recognized beacon advertisement – be ac seen 2019-04-30 13:43:26.159 11508-12085/org.altbeacon.beaconreference D/BeaconParser: Bytes are: 0201061bff1801beac2f234454cf6d4a0fadf2f4911ba9ffa6007b01c8be6400000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:43:26.160 11508-11508/org.altbeacon.beaconreference D/ModelSpecificDistanceCalculator: Finding best distance calculator for 9, PQ2A.190305.002, Pixel 2, Google 2019-04-30 13:43:26.160 11508-11508/org.altbeacon.beaconreference D/AndroidModel: Score is 0 for LGE;Nexus 4;KOT49H;4.4.2 compared to Google;Pixel 2;PQ2A.190305.002;9 2019-04-30 13:43:26.160 11508-11508/org.altbeacon.beaconreference D/AndroidModel: Score is 0 for XT1115;Moto X Pro;LXG22.67-7.1;5.0.2 compared to Google;Pixel 2;PQ2A.190305.002;9 2019-04-30 13:43:26.160 11508-11508/org.altbeacon.beaconreference D/AndroidModel: Score is 0 for LGE;Nexus 5;LPV79;4.4.2 compared to Google;Pixel 2;PQ2A.190305.002;9 2019-04-30 13:43:26.160 11508-11508/org.altbeacon.beaconreference W/ModelSpecificDistanceCalculator: Cannot find match for this device. Using default 2019-04-30 13:43:26.160 11508-11508/org.altbeacon.beaconreference D/ModelSpecificDistanceCalculator: Finding best distance calculator for 9, PQ2A.190305.002, Pixel 2, Google 2019-04-30 13:43:26.160 11508-11508/org.altbeacon.beaconreference D/AndroidModel: Score is 0 for LGE;Nexus 4;KOT49H;4.4.2 compared to Google;Pixel 2;PQ2A.190305.002;9 2019-04-30 13:43:26.161 11508-11508/org.altbeacon.beaconreference D/AndroidModel: Score is 0 for XT1115;Moto X Pro;LXG22.67-7.1;5.0.2 compared to Google;Pixel 2;PQ2A.190305.002;9 2019-04-30 13:43:26.161 11508-11508/org.altbeacon.beaconreference D/AndroidModel: Score is 0 for LGE;Nexus 5;LPV79;4.4.2 compared to Google;Pixel 2;PQ2A.190305.002;9 2019-04-30 13:43:26.161 11508-11508/org.altbeacon.beaconreference W/ModelSpecificDistanceCalculator: Cannot find match for this device. Using default 2019-04-30 13:43:26.161 11508-12085/org.altbeacon.beaconreference D/ScanHelper: Beacon packet detected for: id1: 2f234454-cf6d-4a0f-adf2-f4911ba9ffa6 id2: 123 id3: 456 type altbeacon with rssi -76 2019-04-30 13:43:26.162 11508-12085/org.altbeacon.beaconreference D/ScanHelper: beacon detected : id1: 2f234454-cf6d-4a0f-adf2-f4911ba9ffa6 id2: 123 id3: 456 type altbeacon 2019-04-30 13:43:26.162 11508-12085/org.altbeacon.beaconreference D/ScanHelper: looking for ranging region matches for this beacon 2019-04-30 13:43:26.165 11508-11508/org.altbeacon.beaconreference D/BluetoothAdapter: isLeEnabled(): ON 2019-04-30 13:43:26.166 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: Set scan periods called with 1100, 0 Background mode must have changed. 2019-04-30 13:43:26.166 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: We are not in the background. Cancelling wakeup alarm 2019-04-30 13:43:26.166 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: cancel wakeup alarm: null 2019-04-30 13:43:26.168 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: Set a wakeup alarm to go off in 9223372036384025188 ms: PendingIntent{4fc26a1: android.os.BinderProxy@7374cfe} 2019-04-30 13:43:26.168 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: start called 2019-04-30 13:43:26.168 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: starting a new scan cycle 2019-04-30 13:43:26.168 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: starting a new bluetooth le scan 2019-04-30 13:43:26.169 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: starting a scan in SCAN_MODE_LOW_LATENCY 2019-04-30 13:43:26.169 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: Using an empty scan filter since this is 8.1+ on Non-Samsung 2019-04-30 13:43:26.169 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: Making new Android L scanner 2019-04-30 13:43:26.170 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: Waiting to stop scan cycle for another 1100 milliseconds 2019-04-30 13:43:26.170 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: Scan started 2019-04-30 13:43:26.170 11508-11508/org.altbeacon.beaconreference D/ScanState: ScanState says background mode for ScanJob is false 2019-04-30 13:43:26.170 11508-12084/org.altbeacon.beaconreference D/BluetoothAdapter: isLeEnabled(): ON 2019-04-30 13:43:26.170 11508-11508/org.altbeacon.beaconreference I/ScanJob: Scan job running for 300000 millis 2019-04-30 13:43:26.170 11508-11508/org.altbeacon.beaconreference D/ScanState: ScanState says background mode for ScanJob is false 2019-04-30 13:43:26.172 11508-11538/org.altbeacon.beaconreference D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=10 mScannerId=0 2019-04-30 13:43:26.189 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: got record 2019-04-30 13:43:26.190 11508-12086/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:43:26.190 11508-12086/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 02010613ff4c000c0e00006b725f04135c5602c7228c23000000000000000000000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 22 2019-04-30 13:43:26.191 11508-12086/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 02010613ff4c000c0e00006b725f04135c5602c7228c23000000000000000000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:43:26.200 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: got record 2019-04-30 13:43:26.201 11508-12087/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:43:26.201 11508-12087/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 02011a1aff4c000c0e00d4fb11d14e02285dc2b433b3a010050b18e29f3a0000000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 29 2019-04-30 13:43:26.202 11508-12087/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 02011a1aff4c000c0e00d4fb11d14e02285dc2b433b3a010050b18e29f3a0000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:43:26.207 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: got record 2019-04-30 13:43:26.208 11508-12088/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 1bff7500420401806084c0ef5d045c86c0ef5d045b0100000000000000000000000000000000000000000000000000000000000000000000000000000000 with startIndex: 2, endIndex: 27 2019-04-30 13:43:26.208 11508-12088/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 1bff7500420401806084c0ef5d045c86c0ef5d045b0100000000000000000000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:43:26.209 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: got record 2019-04-30 13:43:26.209 11508-12089/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 1eff060001092002290689ca36acb684b218b651069a1b7700f93d254a426300000000000000000000000000000000000000000000000000000000000000 with startIndex: 2, endIndex: 30 2019-04-30 13:43:26.210 11508-12089/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 1eff060001092002290689ca36acb684b218b651069a1b7700f93d254a426300000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:43:26.214 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: got record 2019-04-30 13:43:26.214 11508-12090/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:43:26.214 11508-12090/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 02010613ff4c000c0e08f61312ccd4ebcdc295a97eb7c8000000000000000000000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 22 2019-04-30 13:43:26.214 11508-12090/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 02010613ff4c000c0e08f61312ccd4ebcdc295a97eb7c8000000000000000000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:43:26.222 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: got record 2019-04-30 13:43:26.223 11508-12091/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:43:26.223 11508-12091/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 0201060aff4c0010050b18715df5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 13 2019-04-30 13:43:26.223 11508-12091/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 0201060aff4c0010050b18715df5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:43:26.233 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: got record 2019-04-30 13:43:26.233 11508-12092/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:43:26.233 11508-12092/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 02011a1aff4c000c0e00d4fb11d14e02285dc2b433b3a010050b18e29f3a0000000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 29 2019-04-30 13:43:26.234 11508-12092/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 02011a1aff4c000c0e00d4fb11d14e02285dc2b433b3a010050b18e29f3a0000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:43:26.237 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: got record 2019-04-30 13:43:26.238 11508-12093/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:43:26.238 11508-12093/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 02011a0bff4c0009060301c0a801380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 14 2019-04-30 13:43:26.238 11508-12093/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 02011a0bff4c0009060301c0a801380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:43:26.244 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: got record 2019-04-30 13:43:26.244 11508-12085/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:43:26.244 11508-12085/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 02010613ff4c000c0e08f61312ccd4ebcdc295a97eb7c8000000000000000000000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 22 2019-04-30 13:43:26.244 11508-12085/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 02010613ff4c000c0e08f61312ccd4ebcdc295a97eb7c8000000000000000000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:43:26.252 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: got record 2019-04-30 13:43:26.253 11508-12086/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:43:26.253 11508-12086/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 0201060aff4c0010050b18715df5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 13 2019-04-30 13:43:26.253 11508-12086/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 0201060aff4c0010050b18715df5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:43:26.259 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: got record 2019-04-30 13:43:26.260 11508-12087/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:43:26.260 11508-12087/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 0201061aff4c0002152f234454cf6d4a0fadf2f4911ba9ffa6007b01c8be0000000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 29 2019-04-30 13:43:26.260 11508-12087/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 0201061aff4c0002152f234454cf6d4a0fadf2f4911ba9ffa6007b01c8be0000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:43:26.266 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: got record 2019-04-30 13:43:26.266 11508-12088/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:43:26.267 11508-12088/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 02011a1aff4c000c0e00d4fb11d14e02285dc2b433b3a010050b18e29f3a0000000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 29 2019-04-30 13:43:26.267 11508-12088/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 02011a1aff4c000c0e00d4fb11d14e02285dc2b433b3a010050b18e29f3a0000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:43:26.275 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: got record 2019-04-30 13:43:26.275 11508-12089/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:43:26.275 11508-12089/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 02010613ff4c000c0e08f61312ccd4ebcdc295a97eb7c8000000000000000000000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 22 2019-04-30 13:43:26.276 11508-12089/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 02010613ff4c000c0e08f61312ccd4ebcdc295a97eb7c8000000000000000000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:43:26.276 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: got record 2019-04-30 13:43:26.277 11508-12090/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 1eff0600010920027f9ce13cc94955d89b685543ff73e906927be1a8984ae700000000000000000000000000000000000000000000000000000000000000 with startIndex: 2, endIndex: 30 2019-04-30 13:43:26.277 11508-12090/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 1eff0600010920027f9ce13cc94955d89b685543ff73e906927be1a8984ae700000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:43:26.283 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: got record 2019-04-30 13:43:26.284 11508-12091/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:43:26.284 11508-12091/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 0201060aff4c0010050b18715df5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 13 2019-04-30 13:43:26.284 11508-12091/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 0201060aff4c0010050b18715df5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:43:26.290 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: got record 2019-04-30 13:43:26.290 11508-12092/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:43:26.290 11508-12092/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 02011a0aff4c001005031858544d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 13 2019-04-30 13:43:26.291 11508-12092/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 02011a0aff4c001005031858544d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:43:26.297 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: got record 2019-04-30 13:43:26.297 11508-12093/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:43:26.297 11508-12093/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 02011b17ff4c000512000000000000000001ff4b000000000000000000000000000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 26

(and more about accepting and dropping PDUs)`

Log 2

`2019-04-30 13:53:47.887 11508-11508/org.altbeacon.beaconreference D/ScanState: Scan state restore regions: monitored=1 ranged=0 2019-04-30 13:53:47.888 11508-11508/org.altbeacon.beaconreference I/CycledLeScanner: Using Android O scanner 2019-04-30 13:53:47.891 11508-11508/org.altbeacon.beaconreference I/ScanJob: Using immediateScanJobId from manifest: 208352939 2019-04-30 13:53:47.891 11508-11508/org.altbeacon.beaconreference I/ScanJob: Running periodic scan job: instance is org.altbeacon.beacon.service.ScanJob@6a9da49 2019-04-30 13:53:47.891 11508-11508/org.altbeacon.beaconreference D/ScanJob: Processing 0 queued scan resuilts 2019-04-30 13:53:47.891 11508-11508/org.altbeacon.beaconreference D/ScanJob: Done processing queued scan resuilts 2019-04-30 13:53:47.891 11508-11508/org.altbeacon.beaconreference I/ScanJob: scanJob version 2.16.1 is starting up on the main process 2019-04-30 13:53:47.897 11508-11508/org.altbeacon.beaconreference D/ModelSpecificDistanceCalculator: Finding best distance calculator for 9, PQ2A.190305.002, Pixel 2, Google 2019-04-30 13:53:47.897 11508-11508/org.altbeacon.beaconreference D/AndroidModel: Score is 0 for XT1115;Moto X Pro;LXG22.67-7.1;5.0.2 compared to Google;Pixel 2;PQ2A.190305.002;9 2019-04-30 13:53:47.897 11508-11508/org.altbeacon.beaconreference D/AndroidModel: Score is 0 for LGE;Nexus 4;KOT49H;4.4.2 compared to Google;Pixel 2;PQ2A.190305.002;9 2019-04-30 13:53:47.897 11508-11508/org.altbeacon.beaconreference D/AndroidModel: Score is 0 for LGE;Nexus 5;LPV79;4.4.2 compared to Google;Pixel 2;PQ2A.190305.002;9 2019-04-30 13:53:47.897 11508-11508/org.altbeacon.beaconreference W/ModelSpecificDistanceCalculator: Cannot find match for this device. Using default 2019-04-30 13:53:47.898 11508-11508/org.altbeacon.beaconreference D/ModelSpecificDistanceCalculator: Finding best distance calculator for 9, PQ2A.190305.002, Pixel 2, Google 2019-04-30 13:53:47.898 11508-11508/org.altbeacon.beaconreference D/AndroidModel: Score is 0 for XT1115;Moto X Pro;LXG22.67-7.1;5.0.2 compared to Google;Pixel 2;PQ2A.190305.002;9 2019-04-30 13:53:47.898 11508-11508/org.altbeacon.beaconreference D/AndroidModel: Score is 0 for LGE;Nexus 4;KOT49H;4.4.2 compared to Google;Pixel 2;PQ2A.190305.002;9 2019-04-30 13:53:47.898 11508-11508/org.altbeacon.beaconreference D/AndroidModel: Score is 0 for LGE;Nexus 5;LPV79;4.4.2 compared to Google;Pixel 2;PQ2A.190305.002;9 2019-04-30 13:53:47.898 11508-11508/org.altbeacon.beaconreference W/ModelSpecificDistanceCalculator: Cannot find match for this device. Using default 2019-04-30 13:53:47.901 11508-11508/org.altbeacon.beaconreference D/BluetoothAdapter: isLeEnabled(): ON 2019-04-30 13:53:47.910 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: Set scan periods called with 10000, 300000 Background mode must have changed. 2019-04-30 13:53:47.910 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: We are in the background. Setting wakeup alarm 2019-04-30 13:53:47.913 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: Set a wakeup alarm to go off in 300000 ms: PendingIntent{6acd205: android.os.BinderProxy@7374cfe} 2019-04-30 13:53:47.913 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: start called 2019-04-30 13:53:47.913 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: starting a new scan cycle 2019-04-30 13:53:47.913 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: starting a new bluetooth le scan 2019-04-30 13:53:47.914 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: starting a scan in SCAN_MODE_LOW_LATENCY 2019-04-30 13:53:47.914 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: Using an empty scan filter since this is 8.1+ on Non-Samsung 2019-04-30 13:53:47.914 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: Making new Android L scanner 2019-04-30 13:53:47.915 11508-14042/org.altbeacon.beaconreference D/BluetoothAdapter: isLeEnabled(): ON 2019-04-30 13:53:47.916 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: Waiting to stop scan cycle for another 10000 milliseconds 2019-04-30 13:53:47.917 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: Set a wakeup alarm to go off in 300000 ms: PendingIntent{6acd205: android.os.BinderProxy@7374cfe} 2019-04-30 13:53:47.917 11508-11508/org.altbeacon.beaconreference D/CycledLeScanner: Scan started 2019-04-30 13:53:47.917 11508-11508/org.altbeacon.beaconreference D/ScanState: ScanState says background mode for ScanJob is true 2019-04-30 13:53:47.917 11508-11508/org.altbeacon.beaconreference I/ScanJob: Scan job running for 10000 millis 2019-04-30 13:53:47.917 11508-11508/org.altbeacon.beaconreference D/ScanState: ScanState says background mode for ScanJob is true 2019-04-30 13:53:47.939 11508-11536/org.altbeacon.beaconreference D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=10 mScannerId=0 2019-04-30 13:53:47.991 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: got record 2019-04-30 13:53:47.996 11508-11508/org.altbeacon.beaconreference I/chatty: uid=10501(org.altbeacon.beaconreference) identical 4 lines 2019-04-30 13:53:47.997 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: got record 2019-04-30 13:53:47.998 11508-14051/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:53:47.998 11508-14051/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 02011a1aff4c000c0e08cea10ac6dbb4dc05af61752dd910050b1c7769670000000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 29 2019-04-30 13:53:47.999 11508-14058/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:53:47.999 11508-14058/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 02010613ff4c000c0e00482c1b874201637fe7956ff046000000000000000000000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 22 2019-04-30 13:53:47.999 11508-14058/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 02010613ff4c000c0e00482c1b874201637fe7956ff046000000000000000000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:53:48.003 11508-14059/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 1eff0600010920027260f060d7692cc151652f58211534aff6d6cc2521fe7a00000000000000000000000000000000000000000000000000000000000000 with startIndex: 2, endIndex: 30 2019-04-30 13:53:48.003 11508-14059/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 1eff0600010920027260f060d7692cc151652f58211534aff6d6cc2521fe7a00000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:53:48.005 11508-14044/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:53:48.005 11508-14044/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 02011a0bff4c0009060301c0a801380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 14 2019-04-30 13:53:48.006 11508-14060/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 1eff060001092002290689ca36acb684b218b651069a1b7700f93d254a426300000000000000000000000000000000000000000000000000000000000000 with startIndex: 2, endIndex: 30 2019-04-30 13:53:48.007 11508-14061/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:53:48.007 11508-14061/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 0201060aff4c0010050b1c21be67000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 13 2019-04-30 13:53:48.008 11508-14061/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 0201060aff4c0010050b1c21be67000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:53:48.009 11508-14060/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 1eff060001092002290689ca36acb684b218b651069a1b7700f93d254a426300000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:53:48.009 11508-14051/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 02011a1aff4c000c0e08cea10ac6dbb4dc05af61752dd910050b1c7769670000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:53:48.010 11508-14044/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 02011a0bff4c0009060301c0a801380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:53:48.023 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: got record 2019-04-30 13:53:48.025 11508-14064/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:53:48.025 11508-14064/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 02010613ff4c000c0e00482c1b874201637fe7956ff046000000000000000000000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 22 2019-04-30 13:53:48.025 11508-14064/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 02010613ff4c000c0e00482c1b874201637fe7956ff046000000000000000000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:53:48.027 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: got record 2019-04-30 13:53:48.028 11508-14067/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:53:48.029 11508-14067/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 0201060aff4c0010050b1c21be67000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 13 2019-04-30 13:53:48.029 11508-14067/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 0201060aff4c0010050b1c21be67000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:53:48.031 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: got record 2019-04-30 13:53:48.038 11508-14068/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:53:48.038 11508-14068/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 02010613ff4c000c0e082b6b25bb86eb1d6598391146a3000000000000000000000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 22 2019-04-30 13:53:48.039 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: got record 2019-04-30 13:53:48.039 11508-14058/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:53:48.039 11508-14058/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 02011b17ff4c000512000000000000000001ff4b000000000000000000000000000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 26 2019-04-30 13:53:48.039 11508-14058/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 02011b17ff4c000512000000000000000001ff4b000000000000000000000000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:53:48.040 11508-14068/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 02010613ff4c000c0e082b6b25bb86eb1d6598391146a3000000000000000000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:53:48.045 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: got record … 04-30 13:53:58.010 11508-14051/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 02011a0aff4c0010050318b5d918000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 13 2019-04-30 13:53:58.010 11508-11508/org.altbeacon.beaconreference D/CycledLeScannerForLollipop: got record 2019-04-30 13:53:58.010 11508-14051/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 02011a0aff4c0010050318b5d918000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:53:58.010 11508-14051/org.altbeacon.beaconreference D/BeaconParser: Ignoring pdu type 01 2019-04-30 13:53:58.011 11508-11508/org.altbeacon.beaconreference D/IntentHandler: got monitoring data 2019-04-30 13:53:58.011 11508-14051/org.altbeacon.beaconreference D/BeaconParser: Processing pdu type FF: 0201060aff4c0010050b186da746000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 with startIndex: 5, endIndex: 13 2019-04-30 13:53:58.011 11508-11508/org.altbeacon.beaconreference D/IntentHandler: Calling monitoring notifier: org.altbeacon.beaconreference.BeaconReferenceApplication@895888a 2019-04-30 13:53:58.012 11508-14051/org.altbeacon.beaconreference D/BeaconParser: This is not a matching Beacon advertisement. (Was expecting be ac. The bytes I see are: 0201060aff4c0010050b186da746000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 2019-04-30 13:53:58.028 11508-11508/org.altbeacon.beaconreference D/ScanJob: Checking to see if we need to start a passive scan 2019-04-30 13:53:58.029 11508-11508/org.altbeacon.beaconreference D/ScanFilterUtils: Set up a scan filter: BluetoothLeScanFilter [mDeviceName=null, mDeviceAddress=null, mUuid=null, mUuidMask=null, mServiceDataUuid=null, mServiceData=null, mServiceDataMask=null, mManufacturerId=280, mManufacturerData=[-66, -84], mManufacturerDataMask=[-1, -1]] 2019-04-30 13:53:58.038 11508-11508/org.altbeacon.beaconreference D/BluetoothAdapter: isLeEnabled(): ON 2019-04-30 13:53:58.043 11508-11508/org.altbeacon.beaconreference D/ScanHelper: Started passive beacon scan

(and more about accepting/dropping PDUs)`

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
davidgyoungcommented, Apr 30, 2019

@KeyStarr, to make this easier to find, I added the table to a new page linked off of docs here

I also added some notes about testing #869 on that issue. You are welcome to try it, if you are up to compiling the library from source.

0reactions
KeyStarrcommented, Apr 30, 2019

The table is great! But i meant including this info into the Docs section of the https://altbeacon.github.io/ , because otherwise it is not really searchable (or have i missed it there?).

The feature is for the e-commerce app, so it is not too important to disturb user with a permament notification nor to drain too much battery. But thank you for the suggestion!

However, i found your solution in #869 interesting. Could you, please, expand a bit more on why it isn’t reliable? Does it mean that it will improve precision only for some users while not introducing any other issues/crashes?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Frequent random exit/enter region events triggered · Issue #982
Expected behavior Exit region is only triggered when beacon is actually out of range ... other times it can take 20 minutes or...
Read more >
iBeacon enter and exit region constantly every 1 minute
You basically ignore an exit event if an entry event happened for the same region within the previous few seconds.
Read more >
Determine if the App is terminated by the User or by iOS
is called when the user terminates your app from the multitasking UI while your app is in the foreground. You should test this...
Read more >
Intersection Observer API - MDN Web Docs
Implementing intersection detection in the past involved event handlers and loops calling methods like Element.
Read more >
Leave No Trace Seven Principles - National Park Service
Help protect natural areas using the Leave No Trace Seven Principles.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found