After successfully detecting iBeacons
from the Esimote SDK, I started working with Eddystone beacons
in the same SDK with help of
<EstimoteSDK/ESTEddystone.h>
I provided namespace id in ESTEddystoneFilterUID
object as below and then started discovering beacons from startEddystoneDiscoveryWithFilter
method.
ESTEddystoneUID *eddystoneUID = [[ESTEddystoneUID alloc] initWithNamespaceID:@"0x2f234454f4911ba9ffa6" instanceID:@"1"];
self.uidFilter = [[ESTEddystoneFilterUID alloc] initWithUID:eddystoneUID];
[self.eddystoneManager startEddystoneDiscoveryWithFilter:self.uidFilter];
Later I came to the delegate eddystoneManager:didDiscoverEddystones:withFilter
, with empty eddystones
array.
Is there any thing missing? Can anyone please help to get UUID/Name space of beacon in range.
You should skip the
0x
part in your Namespace ID, Estimote SDK already expects a hex-encoded string. (i.e., you should use2f234454f4911ba9ffa6
)