I would to like to develop a messaging app that uses Bluetooth.
Are there any easy frameworks for using Bluetooth in Swift?
This app needs to be able to message other iOS devices.
I've searched but couldn't find any real help for this problem.
You can use Apple's framework "MultipeerConnectivity". Not only you can send text messages but you can send any image/video/files in form of binary data using this framework. Again not only bluetooth but you can also use wifi for the purpose.
See details:
https://developer.apple.com/documentation/multipeerconnectivity
Yes, indeed!
You can use Core Bluetooth to chat to both ios and android devices from ios.
Here is a brilliant example: Who's there application
Related
I'm trying to make a bluetooth communication on xamarin for ios. I already tried core bluetooth and monkey robotics bluetooth but neither of them worked. I looked somethings up on google and found out that it's not possible to communicate with a BLE 2.0. Even the ipad I'm testing doesn't recognise the device I'm trying to connect.
Thank you
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
Is there any documentation for AirDrop? I want to make an app that can be installed on multiple devices, and to be able to detect other devices that are running that app, I was thinking about AirDrop to do this part of detection. I would not want to use other solutions like bonjour.
Thank you!
I recommend the Multipeer Connectivity Framework Reference
This framework allows peer-to-peer connections (similar to AirDrop) between an app installed on multiple devices and for data to be exchanged between them over the connection.
You can find examples on how to use the AirDrop API by searching for 'airdrop' in iOS Developer Library. Here is a link https://developer.apple.com/library/ios/samplecode/sc2273/Introduction/Intro.html
I am working on building or using an existing bluetooth HID device (something like this http://www.icontrolpad.com) and to get my iOS device to read the data coming from it. So i have some questions regarding this:-
Is it possible at all to do this, considering that the Bluetooth stack is not available on non jail broken devices.
Do i need to register with apples Mfi program? If i don't need to, what are the alternatives?
If i do register with Apple's Mfi program will i get access frameworks that will allow me to read data off the Bluetooth stack.
Considering that there will be a custom application sitting on the iOS device that needs to communicate with the HW im building, what are the implications w.r.t the approval of the app from Apple's side?
Thanks in advance, any help is greatly appreciated!
Core Bluetooth framework is available for Bluetooth Low Energy devices on iOS 5, no MFi membership is required.
With Made for iPhone, you basically get a serial pipe to your device using the ExternalAccesory Framework (in fact, it IS using the serial port profile plus some authentication). So you while you cannot use an actual HID device, you could send your data over.
The new iPhone 4S has support for Bluetooth 4.0 Low Energy devices. Is there an API for communicating with these devices in iOS?
It is part of the iOS 5.0 SDK. You can download the SDK and check it out.
As someone has mentioned, the APIs are available in the iOS 5.0 SDK. However, bear in mind that those APIs only provide support for ATT client, if you want to add services and act as a server you're out of luck for now. I truly hope Apple will add server support at some point, since some profiles (Alert Notification or Proximity) would benefit enormously: being able to be notified when you receive a new SMS/email or being able to "ping" your phone to find it would be great.
TI has a nice development package that includes a BLE peripheral, programmer, sample code, and sample iOS App. This is a great place to start and shows off most aspects of the Core Bluetooth API in iOS
http://processors.wiki.ti.com/index.php/Category:BluetoothLE