Questions tagged [iobluetooth]
82 questions
2
votes
1 answer
Why is there a need to use thread in android to receive data from the bluetooth remote device?
I have been doing some research lately over my work project, i am trying to read card swipe data from Bluetooth card reader in my app.
So as to get that data i have to use thread, i know the reason why is there a need to use so as this process does…

Rohan
- 53
- 5
2
votes
1 answer
What is the Difference between Core Bluetooth and IOBluetooth
This question has already been asked on Stack Overflow in 2013, but it is in need of an update. Functionality of Core Bluetooth for macOS was changed to bring it more in line with iOS since macOS 10.13.
The answers in that question…

fdcpp
- 1,677
- 1
- 14
- 25
2
votes
1 answer
How does a Bluetooth Socket connection work on Android?
I am new to bluetooth. I understand on Android I can connect to another bluetooth device as a client through a BluetoothSocket connection. How do I handle data that is received? In what format does data get sent from the server to the client?

Sheehan Alam
- 60,111
- 124
- 355
- 556
2
votes
1 answer
How to turn off bluetooth device and sound device in Cocoa?
I've known that Airport can be turned off by CoreWLAN framework.
So, I think there are probably functions or frameworks related with bluetooth device and sound device.
How can I turn off that devices?

Hwansoo Kim
- 286
- 2
- 11
2
votes
0 answers
IOBluetoothUI issue displaying sheet for entering PIN
I'm attempting to use an instance of IOBluetoothPairingController to modally display a window for selecting a bluetooth device to pair with. Apple states that "this class will display a sheet asking the user for a PIN code" when necessary, but that…

Damiene
- 280
- 3
- 9
2
votes
1 answer
how to add IOBluetooth framework to Xcode
I use Xcode 5.1.1 and tried to add IOBluetooth framework but couldn't find it.
I found the coreBluetooth frame only. How do I find it? is it not supported any more?

user2066392
- 341
- 1
- 2
- 11
2
votes
1 answer
OSX deprecated bluetooth functions
I am following the "Bluetooth Device Access Guide" in the Mac Developer library, regarding how to implement a Mac RFCOMM server. Part way through the guide on how to add a service definition to the SDP database there is a code listing that uses a…

pqvst
- 4,344
- 6
- 33
- 42
2
votes
1 answer
Does blued cache ATT values, and how to clear the cache?
I am trying to find any workarounds for a Bluetooth LE bug on OSX. In particular, I want to know where OSX goes wrong in reading the Bluetooth LE GATT table. Thus, I am viewing the L2CAP packets in PacketLogger from Hardware IO Tools for XCode.
When…

yonran
- 18,156
- 8
- 72
- 97
2
votes
0 answers
Is there an API in IOBluetooth (OSX) to set the host controller address?
I have searched the IOBluetooth API but I couldn't find a way to set the address of the host controller. Is it possible through this API? If not, is there another workaround?

hammady
- 969
- 1
- 13
- 22
2
votes
1 answer
How to build commands for use with writeAsync over RFCOMMChannel?
I have to communicate over bluetooth with a device, the device expects commands to be separated by carriage return + linefeed.
Connection is established using RFCOMMChannel.
Atm it seems that my code is not working since I am expecting a reply from…

Koen Gabriels
- 74
- 9
2
votes
1 answer
LightBlue on OS X 10.8: method signature mismatch
I'm using Nickolay Yegorov's port of LightBlue for OS X 10.8. Immediately upon importing the lightblue module, I get the following error:
Traceback (most recent call last):
File "commander.py", line 3, in
import lightblue
File…

Jon Gauthier
- 25,202
- 6
- 63
- 69
1
vote
2 answers
CoreBluetooth Issue on Mac
I bought my current Macbook Pro new less than 6 months ago, but my instance of CBCentralManager returns CBCentralManagerStateUnsupported for [centralManager state];
My mac uses Bluetooth software version 4.0.3f12 but I can't find anything that says…

dalton_c
- 6,876
- 1
- 33
- 42
1
vote
2 answers
how to send images via bluetooth in iphone programming?
I am some NSStrings, and I am just joining them and making a single NSString, then I am converting that single NSString to NSData and sending via bluetooth to other iphone
but now I have to send image with above data,
how can I achieve such concept…

Chatar Veer Suthar
- 15,541
- 26
- 90
- 154
1
vote
1 answer
IOBluetoothDevice register doesn't work with forConnectNotifications
I have a Bluetooth device already selected and I am trying to register connect and disconnect notifications
func selectDevice() {
var promptRes = Int32?((deviceSelector?.runModal())!)
if promptRes == Int32(kIOBluetoothUISuccess) {
…

Ivan Coronado
- 1,028
- 8
- 15
1
vote
0 answers
IOBluetooth Rename JBL/UE Speaker
I am currently building a massive Bluetooth control framework for Mac OS X in Objective C and I have included a rename method that can send a rename request (change advertised name) to compatible bluetooth devices.
For Example: Rename a JBL Speaker…

MacMan
- 61
- 7