Hi i just want to clarify few things after i went through all the details by googling whole day.
Firstly i want to know Can we list all the devices*(including Android,blackberry etc)*using bluetooth connectivity in our ios device?
If yes how do we do??Once listing out the device can we able to connect to it*(including Android,blackberry etc)* ?According to my knowledge we cant connect to any other device using bluetooth as apple wont support.But is there any way can we connect it?Just for my knowledge purpose.
Secondly i went through framework called BluetoothManager where i saw a sample code where it displays a list of devices when bluetooth is ON, but i didnt see IOS devices listing when we use Bluetooth Manager.
So can anyone tel me For what exactly Bluetooth manager is used for and can we connect with ios device to any other Devices and tranfer files using this Framework?Is it possible?
I know about Gamkekit Framework where it is used to connect between two or more IOS devices.
But i am eager to know Other than Gamekit there are any other way where we can connect to other devices using bluetooth.
Please anyone would tel me regarding would be very helpfull for me and others as well.Looking forward to for the answers.
There are three frameworks available in iOS using which you can develop the bluetooth applications:
GameKit: This is the publicly available framework . But using this you can only establish and communicate between only two iOS device. So this framework having its own limitations .
BluetoothManager: This is private framework .I used this framework to discover the non iOS devices . I have established the connection also . But cant able to do the data exchange. I think it is still under development. For the reference you can refer this link
CoreBluetooth: This is also the public framework. This can only discover BLE enabled devices . I have successfully used this to transfer the data between the BLE enabled devices.
Related
My app needs to communicate with an android app via classic bluetooth.
We have implemented bluetooth socket in android application. Now i have to connect to the bluetooth service created by this app using uuid.
I have read various post related to this topic, but couldn't find a solution.
Any help will be appreciated.
Q1) Can we connect to iOS app to bluetooth socket created by an android app ?
I have read about Gamekit but it can be used only for communication between two iOS devices only.Correct me if I am wrong.
Q2) Can i use External Accessory framework ?
NOTE:- We are not using BLE in our apps.
I'd like to know if there is a way to send some data from my iphone to my apple tv.I'll explain:I want to make an app for my apple tv and extend this app to my iphone.Using the extension in running on the iphone you should send some data to my app in running on my apple tv.Sending data it should not be through wi-fi but using for example the bluethoot.How should I do to build this comunication?Can you explain to me how to do or link me some resources?Thanks to all!
Ps. sorry for my english!
The MultipeerConnectivity framework should allow you to do this. It's available in the SDK and supported by both tvOS and iOS.
The advantage is that you don't have to chose what type of connection the devices use. It supports both WiFi and BT. But if you don't want to use WiFi because wifi is not available, it can by default create a peer to peer wifi network between devices.
https://developer.apple.com/reference/multipeerconnectivity
And also, here https://www.hackingwithswift.com/example-code/system/how-to-create-a-peer-to-peer-network-using-the-multipeer-connectivity-framework is a good tutorial.
Hi i am developing an app so i have an requirement i.e in my app i want to share the screen via bluetooth to connected devices . i searched a lot but not getting any solution is it possible in iOS? if any one can tell it should appreciate thanks.
You can use MultipeerConnectivityFramework or Core Bluetooth Framework, But keep in mind Apple not allowing to connect devices which are not MFi licensed.
First of all ensure that device is MFi Licensed Accessories.
Please check device is MFi Licensed Accessories or not via using below link
we are about to start developing an app for iOS that reads data sent via Bluetooth from a device. Which framework should we use if the Bluetooth device that sends the data is not BLE 4.0? In addition to this, if it is possible to develop to app by using a different framework, will the same app also be able to connect to BLE 4.0?
Any pointer is highly appreciated.
Thanks in advance for any pointer.
The framework you are looking for is the ExternalAccessory.framework (although there are limitations). You can use it and the Corebluetooth.framework inside the same app, but they will not be related on which devices they can connect to. Corebluetooth is Bluetooth low energy only. Check this answer and the related links for more information on using the ExternalAccessory.framework :
How to use bluetooth classic instead of le
I have created universal device application to transfer any kind of files via bluetooth using GameKit Framework.
My question is how to create on Desktop Application with same process or there any Framework? That can communicate also on the device. Can i have any sample please or tips how to do it.
There is Core Bluetooth that used low energy protocol. But i don't know how?
Anyone please give some idea or anything that i can use it.
Thank you
The Bluetooth functionality of the GameKit framework is iOS-only (see GKSession), so you won’t be able to use that on a Mac.
The CoreBluetooth framework on the other hand is available on both Mac and iOS devices supporting Bluetooth LE, with the one difference that the CBPeripheralManager is not available on Mac, so you can’t advertise a service on Mac. However you can have your iOS device act as a peripheral and connect from the Mac acting as a central. Data transfer should still work both ways.
The BTLE Central Peripheral Transfer sample code should be a good starting point.