I found the post on how to range all of the beacons and locate the closest one. I got that working nicely. But now I want to do the same for a group of multiple beacons. I am assuming that regions are the best way to do this with the AltBeacon library. I have no concerns for Apple/iBeacon compatibility.
I'm looking at building a simple home scaled zoning system, where there is a group of beacons for each room.
I'm working from the Reference app. I'm not a real dev, so my efforts are strongly based on examples. I have no clue about java structures. Figuring out where to place some code examples has been challenging for me.
As of now, I put some code into the didRangeBeaconsInRegion section, but it triggers for all of the regions I created (1 per room). I have no idea how to track state across multiple runs of that code section?
My guess is that if regions can't be used for this, then some type of location array along with a status "array" to track the state of every beacon and judge the location based on the top entries is the next best option?
TIA!