Comments (2)
HI, Shikimaru.
The simple answer to the question is to change at least one of your identifiers on one of your iBeacons -- iBeacons are designed so the three part identifier must be unique. The library is doing what it is supposed to do by treating these as a single iBeacon. However, I am guessing that there is some reason you can't do this for your use case, otherwise you would have done it already.
If you really must have the library report these as two different iBeacons, then you might fork the code and modify it to use the bluetooth Mac address instead of the UUID/major/minor combo to determine a unique iBeacon. To do this, you would have to modify the class below to (a) track the mac address, and (b) re-implement the equals method of this class to consider two iBeacons as the same only if they have the same mac address.
I am reluctant to make this change to the main library because other use cases may reasonably expect that only a single iBeacon UUID/major/minor combo could be detected at the same time, and I would not want to break existing code that expects this.
Thanks,
David
from android-ibeacon-service.
Closing this issue. Please reopen if you need a better solution than proposed. Thanks, David
from android-ibeacon-service.
Related Issues (20)
- Is this library compatible with Google Glass XE16.x? HOT 6
- RSSI is negative with USB Radius beacon HOT 2
- Bluetooth crash recovery infinite loop on Galaxy S3 HOT 5
- Unable to start service Intent { cmp=myPackageName/com.radiusnetworks.ibeacon.service.IBeaconService } U=0: not found HOT 2
- Android Studio TroubleShooting
- NoclassDefFoundError when implements BootstrapNotifier for the Background mode. HOT 1
- [Feature] Add advertising support HOT 3
- Sequent 'didExitRegion()' and 'didEnterRegion()' event occurrence HOT 10
- Inconsistent monitoring behavior HOT 1
- Not able to integrate the beacon library with existing project HOT 1
- Not able to integrate the beacon library with existing project HOT 2
- Mulitple Beacon monitoring problems HOT 1
- Cordova Plugin tweak HOT 2
- Note From CEO Page is Down HOT 2
- Does Android BLE scanner ask scan response by default?
- is it not possible to bind a service on BeaconManager.bind(myService) ??? HOT 2
- How to calculate distance/accuracy when we need rapid updates from the beacons HOT 1
- how to import the beacon library to cordova?
- Bluetooth share not working
- Provide fields for the store number, store name, zip code and addresses in order data HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-ibeacon-service.