ReactiveBeacons
ReactiveBeacons copied to clipboard
Android library scanning BLE beacons nearby with RxJava
`java.lang.IllegalStateException: BT Adapter is not turned ON at android.bluetooth.le.BluetoothLeUtils.checkAdapterStateOn(BluetoothLeUtils.java:136) at android.bluetooth.le.BluetoothLeScanner.stopScan(BluetoothLeScanner.java:206) at com.github.pwittchen.reactivebeacons.library.scan.strategy.lollipop.LollipopScanStrategy$1.call(LollipopScanStrategy.java:43) at rx.subscriptions.BooleanSubscription.unsubscribe(BooleanSubscription.java:71) at rx.internal.util.SubscriptionList.unsubscribeFromAll(SubscriptionList.java:136) at rx.internal.util.SubscriptionList.unsubscribe(SubscriptionList.java:125) at rx.Subscriber.unsubscribe(Subscriber.java:98) at rx.internal.util.SubscriptionList.unsubscribeFromAll(SubscriptionList.java:136) at rx.internal.util.SubscriptionList.unsubscribe(SubscriptionList.java:125) at rx.Subscriber.unsubscribe(Subscriber.java:98) at com.sminq.user.services.BleBeaconService.onDestroy(BleBeaconService.java:219) at...
I am using Kontakt beacons for testing and have changed the txPower to -69 as that is the default values for Kontakt. But for beacons that are placed at 5m...
where can i get: - iBeacon UUID - Eddystone UID It would be very helpful.
Why there is no support for Eddystone-URL beacons. Can you make support for this type of beacons also Thanks. @BugsBunnyBR @pwittchen @benburkhart1
I tried both (Pre Lollipop and Lollipop) strategy and I found that the Pre Lollipop version receives much faster updates from the same device. Is there any reason for that?
Hi, I was looking at the source of the library and found out that [getAdapter](https://developer.android.com/reference/android/bluetooth/BluetoothManager.html#getAdapter()) API level is 18. It looks like it can be replaced with [getDefaultAdapter](https://developer.android.com/reference/android/bluetooth/BluetoothAdapter.html#getDefaultAdapter()).
Wouldn't it be better just to use MacAddress for equals and hashcode? So you could compare them while observe and just list the current values of a specifiy beacon. ```java...
No access to ScanSettings to allow any control over the scan rate and power usage, so unfortunately your library isn't useful to apps that require a level of control.