Steps:
- Use estimate app to set max range to ~3.5m/12ft. Verify setting in cloud.
- Set tag with the following code:
-(void) saveSetupStateToCloud:(NSArray *)tags withCompletionBlock:(void(^)(NSError *error))completionBlock{
self.tagsToSetInCloud = tags;
self.completionBlock = completionBlock;
ESTBeaconConnection *beaconConnection = [ESTBeaconConnection connectionWithProximityUUID:self.uuid major:self.major.unsignedShortValue minor:self.minor.unsignedShortValue delegate:self];
[beaconConnection startConnection];
}
- (void)beaconConnection:(nonnull ESTBeaconConnection *)connection didVerifyWithData:(ESTBeaconVO *_Nullable)data error:(NSError *_Nullable)error{
[connection writeTags:self.tagsToSetInCloud completion:^(NSError *error){
NSLog(@"EST writeTags complete with error=%@", error);
if (self.completionBlock != nil) {
self.completionBlock(error);
}
}];
}
- Max range is back to default value when viewed through app and cloud