Comments (11)
an area of interest, for example, a garden.
from android-fleet-management-sdk.
It represents region defined by one or more beacons.
You can monitor more than one beacon at a time. For example you can monitor:
- uuid set (XXXX-...-XXXX), major set (like 1234), minor set to null which means any minor number
- note that you can invoke BeaconManager#startMonitoring(Region) couple of times for different regions
from android-fleet-management-sdk.
thanks wiktor.
- uuid set (XXXX-...-XXXX), major set (like 1234), minor set to null which means any minor number
basically the major, minor and UUID are filters that filters the beacons detected, therefore to define a generic region I need to
Region ALL_ESTIMOTE_BEACONS_REGION = new Region("rid", null, null, null);
and then bind it to the beaconManager by using startMonitoring method.
Then I can get MonitoringListener will be invoked multiple times as a beacon enter or leave the region.
does that make sense to you?
from android-fleet-management-sdk.
Correct. Yes, think of them as filters.
Note that generic region like new Region("rid", null, null, null);
will not trigger onExitedRegion for first beacon (that is not visible) when other beacon is visible. This is happening since you are still in the defined region.
from android-fleet-management-sdk.
thanks again wiktor. one more question is:
when there's a beacon comes into region, the monitoringListener callback is invoked with a region parameter which is the generic one I defined.
the UUID/major/minor is null.
actually, what I want to know here is the beacon's characteristic information.
How can I achieve that?
from android-fleet-management-sdk.
I want to know this too.
I have a database with beacons ID and notification messages for each beacon. Once I enter on a region, I want to know the beacon ID to relate to it's notification message. Also, I can't use ranging method, once this task is running on background.
from android-fleet-management-sdk.
You would need to start ranging if you would want to know beacon's characteristics.
Although from feedback I can see that you would like to know in monitoringListener that you entered region and to know which beacons seen had invoked this actions.
Something like: onEnteredRegion(Region region, List foundBeacons) where foundBeacons could be not complete list of beacons that could be visible by ranging since you this event needs to be triggered as early as possible.
from android-fleet-management-sdk.
Wiktor, thank you for the reply.
Yes, I was thinking about something like the function you stated.
Also, by enabling the debugger of the beacon api I noticed that the monitoringlistener have access to an address (I think is MAC adress, since it logs like XX:XX:XX:XX). So, if its not possible to send the beacon list in the onEnteredRegion method, would it be possible to pass this MAC addresses of the beacons connected?
from android-fleet-management-sdk.
In the beacon list it would be Beacon object so MAC, UUID, major, minor
would be available.
On Wed, Jan 29, 2014 at 3:18 PM, raarlac [email protected] wrote:
Wiktor, thank you for the reply.
Yes, I was thinking about something like the function you stated.
Also, by enabling the debugger of the beacon api I noticed that the
monitoringlistener have access to an address (I think is MAC adress, since
it logs like XX:XX:XX:XX). So, if its not possible to send the beacon list
in the onEnteredRegion method, would it be possible to pass this MAC
addresses of the beacons connected?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/10#issuecomment-33587758
.
from android-fleet-management-sdk.
That would be awesome. I'm looking forward to it.
from android-fleet-management-sdk.
Tracking issue is here: #18
from android-fleet-management-sdk.
Related Issues (20)
- IllegalStateException: Not allowed to start service in background HOT 5
- Scanning for configurable devices takes a lot of time HOT 3
- BulkUpdater: Timeout while connecting to beacon HOT 2
- Unable to attach Nearables in IndoorLocationView HOT 1
- Is Android-SDK supported for Amazon Fire OS? HOT 2
- Getting ANR Issue HOT 1
- Ranging monitoring not working on Android 7.0 HOT 2
- Ranging not working in android Nougat HOT 5
- beacons detection is not working properly, sometimes they get detected but most of the time they are not HOT 3
- Doesn't find Beacons unless Estimote App is open HOT 2
- com.estimote.coresdk.common.exception.EstimoteCloudException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x63cc14b0: Failure in SSL library, usually a protocol error HOT 1
- Connection Time Out HOT 1
- Xamarin Estimote SDK -0.11.0 for Android version -7 is not scanning beacons (in Visual Studio -2017) HOT 2
- Can't Update when there are too many beacons( More than 100) HOT 1
- is not Update SDK Version from old SDK Version
- SDK and Estimote official app do not detect on Android 9.0 preview HOT 1
- NFC detection fails sometimes HOT 1
- Low network EstimoteSDK: DeviceCloudSyncEngine$2.onFailure:122 HOT 1
- Xamarin Android - Estimote Beacons SDK initialisation fails and throws exception
- TOO_LOW_AUTH_LEVEL error
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-fleet-management-sdk.