Mac OS X bluetooth programming sample?
Asked Answered
C

1

11

I am trying to develop an application using bluetooth in my Mac mini. However, after searching all over net, all that I could find was the "Bluetooth Device Access Guide" from Apple, and not a single sample program!

Can anyone suggest of any sample code for this available ?

what I am trying to do in my program:

I want to pair my iPhone with my Mac programmatically over the PAN profile, and then send data (streams) both ways. I paired them manually, and I was successfully able to transfer data. I just want to do that programmatically!

Cranach answered 13/4, 2010 at 10:37 Comment(2)
look at this code =) frederikseiffert.de/blueutilColossian
Try thisIneffectual
D
0

[In 2016] I suspect you want CoreBluetooth

The Core Bluetooth framework provides the classes needed for your iOS and Mac apps to communicate with devices that are equipped with Bluetooth low energy wireless technology

You can do things like discover paired devices around you, read and write, and it documents best practices!

Delanos answered 21/4, 2017 at 0:3 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.