locationManager:didEnterRegion not called when a beacon is detected

Check if your methods are implemented in the following way. In viewDidLoad, start moniotoring at the end self.beaconRegion.notifyOnEntry=YES; self.beaconRegion.notifyOnExit=YES; self.beaconRegion.notifyEntryStateOnDisplay=YES; [self.locationManager startMonitoringForRegion:self.beaconRegion]; after monitoring start, request state for your defined region – (void) locationManager:(CLLocationManager *)manager didStartMonitoringForRegion:(CLRegion *)region { [self.locationManager requestStateForRegion:self.beaconRegion]; } after state is determined, start ranging beacons -(void)locationManager:(CLLocationManager *)manager didDetermineState:(CLRegionState)state forRegion:(CLRegion *)region { if … Read more

Communicating between iOS and Android with Bluetooth LE

I’ve already gone through this for at least one week having this same issue. I’ve already asked a question here and I’ve already answered on my own. The main problem is an Android BUG issue. It’s sending a non permitted command on a fixed L2CAP channnel. But when Android is communicating with normal peripheral BLE … Read more

how to find Bluetooth audio devices in iOS

First you will need to configure your applications audio session to allow bluetooth connections that support audio. You can do this in, for example, your application delegates – (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions method. Make sure you link the AVFoundation Framework and import in headers that will use it. #import <AVFoundation/AVFoundation.h>// place in .h [self prepareAudioSession];// … Read more

What exactly can CoreBluetooth applications do whilst in the background?

Nobody seemed to know, so I bought an iOS developer account and ran some experiments. Here’s what I found: When running in the foreground, you can start a scan using CBCentralManager::scanForPeripheralsWithServices. Your scan can be restricted to devices advertising a particular service, or unrestricted (pass nil for that call’s parameter). It can also allow or … Read more