Connect iOS device to Bluetooth device with SPP - ios

I'm working on one watch which shows iOS device notification like..
Display Installed app notification
Display Call notification
Display Message notification.. etc
I have read some articles and came to know about GATT and ANCS, and this two itself enough to display iOS device notification on other bluetooth device.
Generic Attribute(GATT) Profile : https://developer.bluetooth.org/TechnologyOverview/Pages/GATT.aspx
Apple Notification Center Service(ANCS):
https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/AppleNotificationCenterServiceSpecification/Introduction/Introduction.html
Is that mean I do not need any iOS application to handle iOS device notification?
Currently my watch is built up with SPP, do I need to make any modification in that?
I also came to know that I have to apply for MFi Program(https://developer.apple.com/programs/mfi/).
is MFi necessary for My watch with the idea I have mentioned above?
Any suggestion will be appreciated.
Thanks in advance

SPP is classic BT whereas ANCS uses BTLE.
ANCS is free to use.
https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/AppleNotificationCenterServiceSpecification/Specification/Specification.html#//apple_ref/doc/uid/TP40013460-CH1-SW18

Related

Connect iOS App to Bluetooth device not BLE

I want to connect bluetooth device to my iOS app. That device perfectly works in android as it first paired via bluetooth (from outside the app) and send/recive command from inside the app. But that device is not getting in my list when I am turning on it in iPhone setting.
After a research I come to know that Corebluetooth can connect only with BLE. Now How many possible way to connect my app with that device. Please help me with this.
Is there any app on App Store from where I can scan that device ? It
wii be also helpful for me.
I also come to know about apple MFI program, but how will work ? Is it
paid ?
Thanks.

How to get notification when user connects to bluetooth device in IOS settings?

sorry for my bad english
I am developing an app on IOS 9.2. One of the app functions is to get information about bluetooth devices.
I have already managed to monitor bluetooth devices nearby using CoreBluetooth framework and connect to one of them. It works in background mode too. The problem is how to get notification when user connects to device from IOS settings?
Thanks for any help

Bluetooth: how to let ios attempt "App Not Installed"

I am doing something by Nordic nrf51822 BLE solution, is there any idea to let ios(iphone/ipad) attempt dedicated app is not installed after ble device pair to the iphone or ipad(like the attachment picture)? I search the internet and many forums, no found similar use case. But in Logitech bluetooth speaker, it has this function, my device is a BLE peripheral device, nordic has apple notification center service(ANCS) sample code, it seems only get the notifications from ios only, does any body know ANCS can do such function or not? And it's much appreciated if you have more information for me. thanks.
App not installed picture
The alert you have shown is triggered when an MFi device is detected for which the app isn't installed. MFi devices have an Apple 'chip' in them that presents an identity that iOS can use to identify the appropriate apps in the App Store.
BLE devices are excluded from the MFi program and so you cannot present this alert when your BLE peripheral is discovered - indeed, without an app to discover the peripheral iOS won't even attempt to connect to the peripheral.

ANCS Notifications in Core Bluetooth Framework

I am working with a BLE device which shows all the notifications received on my iOS device. I have set up all the ANCS part form the BLE Device side and it is working successfully.
I am trying to implement a functionality which will include the use of a switch in the settings screen named as "Allow notifications".
As the name suggest, If switched off then the ANCS notifications should not transfer from my device to the BLE device.
This approach is being taken so as the micro controller has to process a lot less information in case the notifications are off.
Please suggest a way if anything is possible from iOS side as we do not have any control over the ANCS notification in Core Bluetooth framework.
Thanks in advance.
I think the easiest way will be to send a command over BLE from the iOS device to the BLE Device to "STOP" listening for ACNS. You could send a special notification class you use for commands to stop listening. You could then re-enable delivery by sending a "GO" command to the BLE Device.
This way you can turn off and on the ability of the BLE Device to listen or not to the ANCS from iOS.

Bluetooth LE and ANCS in iOS

Can I develop a service on iOS to register with ANCS so that when iPhone gets a notification the service go through my device BT LE protocol to notify the band?
And I read at http://blog.punchthrough.com/post/63658238857/the-apple-notification-center-service-or-wtf-is. I see "ANCS is managed automatically by the iOS device, or “Notification Provider” as its known in ANCS parlance. What this means for you as a developer is that you won’t need to write code to manage ANCS on the iOS side." It means i don't need write code in iOS side that have to implement in my device BT LE ? Thanks for any answer.
Correct. As the link mentions, you use "service solicitation" to get the iOS device's attention while it is passively scanning.
You don't need to have an app running on the iOS device, you don't need to submit anything to the App Store--you don't even need to pay to become a developer.
Also, I should mention, your hardware design does not need to be submitted to the Apple MFi program.

Resources