Questions tagged [iobluetooth]
82 questions
5
votes
1 answer
Mac-to-bluetooth device file transfer, simple example?
I've spent two days googling and reading the Bluetooth programming guide while trying to piece together a small Mac app that will retrieve images from a drop folder and send any new files to a predetermined device over Bluetooth. There doesn't seem…

nordhagen
- 799
- 5
- 18
4
votes
1 answer
Cannot create a Bluetooth SPP connection on MacOS Monterey
Since upgrading to macOS Monterey, we have been unable to create a Bluetooth SPP connection to any hardware device.
The SPP service does not appear to be supported. When listing the services for the device, the SPP service is not listed at all, as…

h4bit
- 91
- 7
4
votes
1 answer
How to get device Bluetooth address on OS X?
I've looked over the IOBluetooth framework what feels like a dozen times, but I can't for the life of me find a way to retrieve the Bluetooth device address for the current device. I've written an application that scans for devices in range…

Oscar McDonald
- 55
- 6
4
votes
1 answer
IOBluetooth Synchronous Reads
Right now I'm working on a program using IOBluetooth and I need to have synchronous reads, i.e. I call a method, it writes a given number of bytes to the port, then reads a given number and returns them. I currently have a complex system of…

jstm88
- 3,335
- 4
- 38
- 55
4
votes
1 answer
Can iOS device communicate with BT device?
As long as I know an iOS device can communicate with BT device if BT device is MFI compliant. But some of my friends says apple no-longer support BT devices after the introduction of BLE devices. What my understanding is an iOS device can…

Ab'initio
- 5,368
- 4
- 28
- 40
4
votes
0 answers
How to enable blued Core Bluetooth XPC logging in OSX 10.9.2
Is there any way to re-enable logging of blued Core Bluetooth XPC messages?
In OSX 10.9.1, the system log contains messages that look like the listing below when I am using IOBluetooth to speak to a Bluetooth LE device. However, in OSX 10.9.2…

yonran
- 18,156
- 8
- 72
- 97
4
votes
1 answer
Need information on IOBlueTooth
I need to know few things about IOBlueTooth framework for MAC:
Does this framework support BTLE?
What different does it has from iOS framework CoreBlueTooth?
To support BTLE on MAC OSX, do we need both IOBlueTooth & CoreBlueTooth framworks? Please…

Abhinav
- 37,684
- 43
- 191
- 309
3
votes
0 answers
Open SCO Audio Connection with IOBluetoothAddSCOAudioDevice
I am trying to emulate a HandsFree device from Mac OS X.
I advertise correctly my SDP service as Handsfree
I can pair my Android phone to my computer which is seen as "HandsFree" device
I can send a couple of AT Commands (AT+BRST, CIND, CMER) to…

kiddouk
- 2,487
- 2
- 17
- 19
3
votes
0 answers
IOBluetooth Mouse Battery Level
Is it possible to read battery levels from a Bluetooth mouse (Magic Mouse 2 in this case), using the IOBluetooth framework?
Would this require writing a request as data through a L2CAP or RFCOMM channel?
I got as far as reading the SDP service…

comfortablejohn
- 565
- 5
- 13
3
votes
2 answers
IOBluetooth on iOS / Connecting to a device with its Mac Address?
At work, I was given the mission :) to port an Android Library that connects to a device to do things (I can't say much more because of NDA). The Android code uses getRemoteDevice(macAddress) and createRfcommSocketToServiceRecord to basically skip…

StuFF mc
- 4,137
- 2
- 33
- 32
3
votes
1 answer
Clearing CoreBluetooth GATT cache without removing bond
I have an iOS app acting as peripheral and an OS X app acting as a central, using the CoreBluetooth framework. The OS X app connects to the iOS app and they bond by reading an encrypted characteristic and entering a random code. Everything works…

Joost
- 173
- 3
- 7
3
votes
0 answers
transfer data from device to mac
Good Evening to all,
I am trying to implement bluetooth functionality through which user will be able to send data (data can be image or video) from device to mac or desktop. After googling I found code from…

Sudha Tiwari
- 2,499
- 26
- 50
3
votes
1 answer
Connecting Android device to multiple Bluetooth serial embedded peers
I'm trying to find a solution for this setup:
I have a single Android device, which I would like to connect to multiple serial embedded devices...
And here is the thing, using the "Normal" way to retrieve the Bluetooth socket, doesn't work on all…

TacB0sS
- 10,106
- 12
- 75
- 118
2
votes
3 answers
How to make an async listener do blocking?
I am writing a blackberry app that communicates with a simple Bluetooth peripheral using text based AT commands - similar to a modem... I can only get it working on the blackberry using an event listener. So the communication is now…

Peter Carroll
- 21
- 2
2
votes
2 answers
How to get a more descriptive error in IOBluetooth framework on Mac
I am using the IOBluetooth framework provided by Apple in OS X to communicate with an Arduino robot that i built. I've managed to get it working with only one problem, it only works for about 10 seconds before the RFCOMM channel closes for some…

A Person
- 801
- 1
- 10
- 22