When is
- (void)beaconConnectionDidSucceed:(ESTBeaconConnection *)connection
called and when:
- (void)beaconConnection:(ESTBeaconConnection *)connection didVerifyWithData:(ESTBeaconVO *)data error:(NSError *)error
After I connect to the beacon using:
ESTBeaconConnection* estBeaconConnection = [[ESTBeaconConnection alloc] initWithBeacon:beacon delegate:self startImmediately:YES];
only ‘didVerifyWithData’ is called and never beaconConnectionDidSucceed. Then ‘connection’ is not populated completely (e.g. major=0, minor=0, UUID=nil) while that data is correctly present in the ‘data’ variable.
I can use ‘didVerifyWithData’ and use the major and minor etc. returned in data to register that there was a successful connection, but am just wondering why beaconConnectionDidSucceed is not called (and neither any of the error callbacks). After the connection has established I disconnect straight away.
The purpose of this connection is just to update battery life etc. in the cloud, so as long as that is done I am happy.