I am trying to determine if beacon is in motion by looking at motion UUID that as far as I understand should be only transmitted once in motion. In my case, I am getting it all the time with the still UUID.
Steps that I did
Defined still UUID and motionUUID which is derived from stillUID (ESTBeaconManager.motionProximityUUID(…)
Defined two regions for both UUIDs
Started ranging both regions
in func beaconManager(_manager Any…) I am reading proximityUUID property of the region which is supposed to be one or the other. I am getting both.
What could be the issue?
I don’t understand how you can read the proximityUUID property and have 2 values?! Does it result a list with the 2 UUID? Or a random value, one time the stillUUID and another time the motionUUID?
Well,the beaconManager monitors two regions. One region has motionUUID associated with it, the other one a still one.
I am capturing ranged beacons in the delegate locationManager:didRangeBeacons:inRegion
In theory, the motionUUID should not be emitted if beacons are still, so that delegate would capture only still UUID.
In my case, I am getting both ( one after the other) even when beacon is still.
I am using F3,3 version.
I think my problem could be that I am not assigning/detecting motion UUID to a beacon properly.
Any idea how to id it in Swift?
thx