Questions tagged [ios-bluetooth]

282 questions
346
votes
5 answers

Bluetooth headphone music quality deteriorates when launching iOS simulator

The situation goes a little something like this: I am programming Xcode whilst concurrently listening to music on my Bluetooth headphones... you know to block out the world. Then, I go to launch my app in the iOS simulator and BOOM all of a sudden…
world
  • 3,932
  • 2
  • 10
  • 12
19
votes
3 answers

How get the list of paired bluetooth devices in swift?

I need to get the list of paired bluetooth devices(iOS Devices) as same as the list in 'Bluetooth' section in iOS settings as shown in below picture. Is it possible? Have you seen any apps doing this type of functionality? I have tried the…
10
votes
1 answer

iOS Detect Bluetooth connection/disconnection

Is it possible to be notified when a Bluetooth Device is connected or disconnected from iOS even when my app is in background ? On Android, I use the ACTION_ACL_CONNECTED and ACTION_ACL_DISCONNECTED events. But I cannot find equivalents for iOS. I…
Gp2mv3
  • 1,435
  • 20
  • 33
9
votes
1 answer

iOS Background BLE advertising not detectable by Android

When an iOS BLE peripheral enters the background state, the advertising packets are not emitted in the regular manner and they are placed in a special “overflow” area which is only detectable by another iOS device explicitly looking for this…
8
votes
3 answers

Subscribing for notifications from a CBCharacteristic does not work

First things first: running OSX 10.10.4, iOS 4, Xcode 6.3.2, iPhone 6, Swift Short story: I have a certain Bluetooth LE device here from which I want to receive notifications when values of a Characteristic change, e.g. by user input. Trying to…
7
votes
2 answers

Seeking source of crash on [BluetoothDevice classicDevice] unrecognized selector

I'm seeing a huge increase in crash instances, across a few different crash reports that all end in the same fatal exception: [BluetoothDevice classicDevice]: unrecognized selector sent to instance 0x2805a8ba0 It occurred a few times in iOS 12, but…
prolfe
  • 1,354
  • 12
  • 16
7
votes
1 answer

iOS External Accessory Framework: how to get a protocol string for certain MFI device

I'm writing an iOS application for communicating with mini mPlay Drumi MP18B (a small Bluetooth loudspeaker). As far as I know, showBluetoothAccessoryPickerWithNameFilter displays only devices with protocol strings added to Supported External…
slashdot
  • 630
  • 5
  • 14
7
votes
1 answer

Using Microhip's MLDP data streaming from Android or iOS

Microchip defined a way to stream data over BlueTooth low energy (BLE) and called it MLDP (Microchip Low-energy Data Profile). They built it into their RN4020 chip, and there is even an sample Android app. However, I can't find any specification of…
7
votes
1 answer

Interpretting data from a BLE device without a published GATT profile

As a 3rd party is there a viable way to correctly interpret data from a Bluetooth Low Energy device for which there is not a published GATT profile specification? The BLE device is a body scale that supports weight, BMI, body fat, and hydration…
6
votes
1 answer

WARNING: The advertisement key 'Service Data' is not allowed

I am developing a BLE peripheral app. By requirement, the advertising packet must contain Service Data field. I have done this in Android, the packet should be like this: 0x16 is Service Data field listed here…
Bao HQ
  • 1,145
  • 7
  • 18
6
votes
0 answers

How to enable virtual/soft keyboard while connected to a Bluetooth keyboard/Barcode Scanner for React Native on iOS?

I've been researching for quite a while and none of the solutions seemed viable enough. For example: articles as referred within Force software keyboard on iOS 10 Our bluetooth bar code scanner has a button which brings up/down the soft/virtual…
6
votes
2 answers

Get the list of classic bluetooth connected devices (no BLE) [EAAccessoryManager]

I need to do an app which will be able to tell if I am currently connected to a classic Bluetooth device or not (actually, it will be a Bluetooth car device). My first step is to tell what are the current connected classic Bluetooth devices. I…
augustin
  • 61
  • 1
  • 4
6
votes
1 answer

NSURLSession - iOS kills application in background while communicating with server

I am working on a BLE application that will always run in background. It gets health related data from the BLE peripheral and will upload the data to the server in realtime. I am using NSURLSession along with NSURLSessionUploadTask created using…
kkumpavat
  • 452
  • 2
  • 10
5
votes
2 answers

Bluetooth 5.1 Angle of Arrival backward compatibility

I am currently designing a simple indoor location project to evaluate possibilities of Bluetooth 5.1 standard. The feature I would like to use is AoA (Angle of Arrival) introduced in Bluetooth 5.1. According to the standard, AoA allows to measure…
5
votes
0 answers

iOS CoreBluetooth dispatch queue for app background processing

First of all the question what is the best way of using core bluetooth in the central role to send data to a bluetooth LE devices. The data need to be processed and that takes enough time to cause problems on the UI thread if it runs on it. The user…
1
2 3
18 19