Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I make my Mac as a Bluetooth Peripheral?

I'm working on an idea which requires my Mac to send some data to my iOS device. I know CoreBluetooth framework is not there for Mac OS and only for iOS, so is there any way that I can get my Mac to pose a peripheral ?

I've done some Googling around - haven't got a straight answer :(

like image 479
Mohit Athwani Avatar asked May 10 '13 22:05

Mohit Athwani


1 Answers

The CoreBluetooth.Framework is there for OSX. It's embedded inside of the IOBluetooth.framework. Download the sample mac apps from the Apple Dev Site. The one difference is that the OSX version of the CoreBluetooth.Framework does not contain the CBPeripheralManager class. You should just have your iOS device act as the peripheral and the Mac as the central. The iOS device can act as both at the same time and data can be sent both ways.

like image 134
Tommy Devoy Avatar answered Oct 04 '22 07:10

Tommy Devoy