Menu
  • HOME
  • TAGS

Bluetooth connections on iOS

android,ios,bluetooth,android-bluetooth,ios-bluetooth

I published a demo app called Beetee which shows how Bluetooth classic is working on iOS and what the global events are. But this private framework is not AppStore complaint!

iOS how to discover bluetooth headset and its events

objective-c,bluetooth,bluetooth-lowenergy,core-bluetooth,ios-bluetooth

like mentioned CoreBluetooth is for LE devices only, so this is what I did to get the events for BluetoothHFP devices: 1. you need to open AVAudioSeesion: link AVFoundation.framework to you project 2. for current available inputs: NSArray *availInputs = [[AVAudioSession sharedInstance] availableInputs]; 3. for notification on route change: a....

How to get the mac address of a beacon in objective-c without knowing its UUID, major and minor values?

ios,objective-c,iphone,ibeacon,ios-bluetooth

Think about it: If you don't know the UUID of the beacon, how would you know it's location? A beacon doesn't know where it is. Someone must have physically put the beacons in their places, must have written down their locations, and must have made that location available to your...

BLE pheripheral not detected when ios app on background

ios,iphone,ios8,ios-bluetooth

Make sure you have enabled the proper background mode in the target capabilities page. Go to the Capabilities tab for your target and switch "Background Modes" to ON, the check "Uses Bluetooth LE accessories".

CBCentralManager not calling didDiscoverPeripheral method when iPhone is locked

ios,iphone,cbcentralmanager,ios-bluetooth,cbperipheralmanager

Save the discovered CBPeripheral instance. var activePeripheral: CBPeripheral! Or adding it into an array. If you are discovering more than one peripherals. var knownPeripherals = [CBPeripheral]() This way you can reconnect to whichever CBPeripheral you need (if it is available, obviously). This delegate method is invoked when a peripheral is...

BLE-Takes too much time while sending data from ios 7.1 to ios 8 - Transfer speed

ios8,bluetooth-lowenergy,core-bluetooth,ios7.1,ios-bluetooth

Try to look at some of the links below. That might help you. Link1 Link2 This is just a reference of links that might help you. Credit goes to them for this answer....

Reconnect to a BLE device after pulling the battery

ios,bluetooth-lowenergy,core-bluetooth,ios-bluetooth

As soon as the peripheral disconnects you can issue another connect - iOS will automatically reconnect to the device once it is visible again and call your didConnectPeripheral: delegate method -(void) centralManager:(CBCentralManager *)central didDisconnectPeripheral:(CBPeripheral *)peripheral error:(NSError *)error { NSLog(@"Disconnected from peripheral"); [central connectPeripheral:peripheral options:nil]; } There is no need to...

iOS: Bluetooth Sharing

ios,ios-bluetooth

Apps that specify one of the two Bluetooth background modes (Central or peripheral) will appear in this list. Details on acting as a Bluetooth Low Energy peripheral or central are contained in the Core Bluetooth Programming Guide Bluetooth Low Energy can be used between any compatible device, including iOS and...

Subscribing to characteristics of peripheral

ios,ios7,monotouch,core-bluetooth,ios-bluetooth

You can try to setNotify the characteristic value by using LightBlue or BLE Diag Tool iOS application.Then you can cross-check wheather it is problem on Peripheral side or on iOS App side?

Roximity iBeacon gives error “ERROR: Failed to begin ranging beacons”

ios,objective-c,ios-bluetooth

I am going to answer my own question, so it seems there is an issue in the device I am using. Earlier I was using iPhone 4 but this is being supported on devices iPhone 4S and above. Also, there was an issue in my Bluetooth antenna where it randomly...