Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

-1 votes
1 answer
35 views

Music is not being played through BLE connected headphone on iPhone

I have created a demo iOS app to create BLE connection with surrounding headphone. I am able to connect to headphone successfully through my demo iOS app. I can also see in iPhone Bluetooth Setting ...
Ganesh Pawar's user avatar
1 vote
1 answer
68 views

Bluetooth BLE implementation between Swift app and Rasberry Pi Pico W

I have an IOS app using CoreBluetooth to connect to a Rasberry Pi Pico W. I am trying to send data to the board, but the data is not received, despite the connection is established properly. The same ...
E. Tocchi's user avatar
1 vote
0 answers
24 views

Deploying BLE heart rate reader on Xcode using the given SDK

I'm pretty new to swift and Xcode, I'm building an app on it, but I'm having some issues deploying real time heart data, and I can't seem to be able to fix the problem on my own. Thank you in advance, ...
Ken11's user avatar
  • 11
0 votes
0 answers
44 views

How do I capture Bluetooth 5 Extended Advertising messages (Beacon) in real-time on MacOS (Macbook M2)?

I'm trying to capture Bluetooth 5 Extended Advertising messages (Beacon) from a nearby special purpose device, which broadcasts every second. It's a small message, only a primary advertisement packet (...
kratos12's user avatar
0 votes
0 answers
25 views

My bluetooth state preservation works, but given enough hours of the iphone being locked it fails to reconnect

I am re implementing a BLE manager class from a different code base that didn't have state preservation and restore. It works good, but doesn't reconnect after the phone being locked for an uncertain ...
ron's user avatar
  • 11
0 votes
0 answers
42 views

BLE peripheral gets disconnected after extended period of phone being locked

I implemented bluetooth state preservation and restoration on my iOS app, successfully (I think). After a few hours about 5+ of the phone being locked it fails to reconnect to the peripheral, I think ...
ron's user avatar
  • 11
0 votes
0 answers
22 views

Swift BLE list peripherals always showing error

I am writing swift for iOS to list all the available BLE devices but every time I get the following error "[CoreBluetooth] XPC connection invalid" Steps followed: in info.plist added the ...
AjayR's user avatar
  • 4,159
0 votes
0 answers
181 views

swift_isUniquelyReferenced_nonNull_native causes random and systematic crash on iOS 17.x

In my app, a crash occurs only on iOS 17.xx versions when I establish a BLE connection to a peripheral, scan wifi networks and connect to one of them via BLE. private func writeData(writingMode: ...
Iheb Sahloul's user avatar
-2 votes
1 answer
114 views

BLE peripheral gets disconnected from iPhone app after a couple of hours

I currently have an app that connects to a BLE device and is able to exchange packet data, send messages to other nearby BLE devices, notify when connects/disconnects happen. The problem is when the ...
nore982's user avatar
  • 21
4 votes
0 answers
513 views

How can one use the iOS 17 CLMonitor APIs to monitor for an iBeacon?

It seems the new recommended way to work with Beacons in Swift is through a CLMonitor. As much as am I excited to be rid of delegate-style event handling, I can't get a basic example working with the ...
The Final Cut Cat's user avatar
1 vote
0 answers
52 views

How to show my BLE device battery percentage on iPhone battery app?

I am developing an iOS app for non apple wearable device which communicates through BLE technology. I got the battery percentage from the BLE device though some characteristic id, but is there any way ...
Rajesh's user avatar
  • 774
0 votes
0 answers
230 views

Establishing BLE & Persistent Bluetooth Classic Connection for Headphones in iOS App Without Requiring Users to Visit Settings

I've been working on an iOS headphone settings app and I'm running into a bit of a snag. I'm trying to create a BLE connection and a persistent Bluetooth classic connection for the headphones in the ...
DavidWeldon's user avatar
0 votes
1 answer
115 views

How to send BLE commands using CoreBluetooth?

I want to connect to ohaus scale using ohaus bluetooth interface: https://dmx.ohaus.com/WorkArea/showcontent.aspx?id=4294974224 I succeeded to connect and receive the CBCharacteristic with uuid ...
roni syneet's user avatar
1 vote
0 answers
31 views

Managing Duplicate BLE Notifications on iOS App Re-launch

I am developing a Swift application that interfaces with an ESP32 device over BLE, utilizing the Nimble stack for communication. The application subscribes to characteristic notifications from the ...
Vincent's user avatar
  • 11
0 votes
0 answers
91 views

Core Bluetooth read descriptor value longer than MTU

Is there a way to read all data in a descriptor when the value is longer than a single MTU? I have a descriptor where the value is 56 bytes in length. I read the value using CBPeripheral.readValue(for:...
Trent Meyer's user avatar

15 30 50 per page
1
2 3 4 5
39