How can you connect an iPhone to a Mac via Bluetooth? - iphone

Is is possible for an iPhone application I'm writing to connect to a Mac via Bluetooth? We don't have direct access to the Bluetooth API, so how would I go about doing this?

This is not possible at least officially.

Related

Ios connect bluetooth devices

Im using BeeTee library for searing nearby bluetooth devices. It's work fine but i don't understand how to connect devices using BeeTee library.
Anyone help me for this.
BeeTee Library not supported for device connectivity.
Read limitation in
[https://github.com/michaeldorner/BeeTee][1]

Windows Phone programmatically connecting two devices and mirroring the screen

We can connect two or more iOS devices(iPhone and iPad both) programmatically via bluetooth and replicate the app's screen on multiple devices using GameKit in iOS. I searched on net if any API supports this kind of feature in Windows Phone 7/8, but I didnt find any luck. Please tell me if it is possible, if yes which API does that.
You can accomplish such functionality only with Windows Phone 8 API. Take a look on Bluetooth API description here http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj207007(v=vs.105).aspx. StreamSocket can be useful to replicate the app's screen.

Does the iPhone sdk support l2cap bluetooth sockets?

Does the iPhone sdk support l2cap bluetooth sockets? Any additional information about SDK classes, etc would be greatly appreciated.
The latest CoreBluetooth does expose L2Cap through CBL2CAPChannel: https://developer.apple.com/documentation/corebluetooth/cbl2capchannel
It can be opened from a CBPeripheral: https://developer.apple.com/documentation/corebluetooth/cbperipheral/2880151-openl2capchannel
No.
There are no direct support for Bluetooth APIs in the SDk,
REfer the game kit programming APIs for application development with Bluetooth for peer-to-peer gaming
Other than than you will have to join the Made for iPod/iPhone/iPad program to get access and develop bluetooth connected accessories
Bad news from MFI FAQ (2014):
Q: I want to develop an accessory that communicates with an Apple device using only Bluetooth Low Energy. Do I need to join the MFi Program?
A: No. Accessories which connect to an Apple device using only Bluetooth Low Energy/BTLE/Bluetooth 4.0 or standard Bluetooth profiles supported by iOS are not part of the MFi Program.
I'm developing an app to connect with a L2CAP device on Android, now I'm studying porting on IOS but I found this issue.
For enabling a device to talk by Bluetooth, it must integrate the Apple authentication chip into device and must be able to connect with built-in Apple's Bonjour discovery service.
No L2CAP for any device... Sorry!
Website: https://mfi.apple.com
Source: https://mfi.apple.com/MFiWeb/getFAQ.action#4-2

Which Frameworks are used to access Mac or windows PC from iPhone from a different place or remotley

In my project i want to access my Mac remotely through my iPhone. i.e, like we can access other systems by using our system using gotomeeting software like that, in the same way i have to access Mac through iPhone.
To achieve this which frameworks or what approach i have to follow.
You have several choices.
Bonjour will allow you to create a localized peer-to-peer network. You can run the web server off the Mac and PC and let the iPhone get information that way. You can use bluetooth functionality in some cases.
See "Getting Started with Networking and Internet" and the "Network" section of the iPhone Application Programming Guide."

Access iTunes library on Mac from iPhone app

Is there a way I can connect to the iTunes library on Mac from my iPhone app. The functionality which is available in Remote app from apple. I beleive this is something to do with bonjour programming.
Can anyone provide me any head start and point me in the right direction to look for?
Thanks
You can't. iTunes uses a protocol called DAAP. While DAAP itself has been reverse engineered, the current version of iTunes uses an authentication mechanism that is not public and has not been reverse engineered.
What that means is while people can implement unauthenticated servers that iTunes can connect to, no one but Apple can currently implement clients that connect to iTunes itself.
This is a good place to start. He's the guy who wrote the Android remote, after reverse-engineering DACP.
What about installing software like Accesstunes on your computer, then use the IP in your browser !? I used to do it with my Nokia N95-8G..! I will try with the iphone in a bit to see !