Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: iOS6 access to SMS, email, and call notifications using Bluetooth Smart / BLE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iOS6 access to SMS, email, and call notifications using Bluetooth Smart / BLE



Hey again everyone,

Thanks for the feedback on the topic of accessing calls, emails, and texts in Bluetooth applications. That info plus a lot more searching has given me a pretty solid answer. Here’s a compilation of all relevant information I have found so far. The summary is this:

1. Accessing SMS, MMS, and emails through an iOS API directly is impossible, even in iOS6. This would break the “app sandboxing” rule Apple strictly enforces. Private APIs exist, but they’re…well…private.

2. The ONLY exception to the above point is if your device is jailbroken, in which case it’s completely open. This is not a good requirement for a retail accessory though, obviously.

3. iOS6 supports the MAP profile over classical Bluetooth only and NOT Bluetooth Smart / Low Energy. MAP allows access to push notifications in general (incoming calls I’m not sure about).

4. The Bluetooth Smart “Alert Notification Profile” is a perfect fit for BLE-based notification accessories, but using this requires that you have access to the data in the first place, which we do not.

5. MAP by itself works without requiring membership in MFI or any extra hardware, which is good, but it requires classic Bluetooth, which is a battery hog compared to BLE.

So, in short, for a feature-complete alert accessory TODAY (2012-11-19), you have to use Bluetooth classic and MAP. BLE won’t work for everything, though it will work for anything you can get to through a public API. Hopefully iOS will add support soon for permission-based read-only access to call metadata and incoming messages. This is trivial in Android if the user grants permission when installing the app. iOS feels sorely lacking by comparison, especially with the exploding BLE market.

Now for the links, for reference:

Message Access Profile specification from Bluetooth SIG (Bluetooth classic only, no BLE support, also appears only to support SMS, MMS, + email, no calls)
https://www.bluetooth.org/DocMan/handlers/DownloadDoc.ashx?doc_id=215400

Using Message Access Profile in various MAP-enabled cars, including iOS settings necessary
https://discussions.apple.com/thread/4343154?start=0&tstart=0
https://discussions.apple.com/thread/4315172?start=0&tstart=0
http://www.toyotanation.com/forum/310-7th-generation-2012/424034-iphone-4s-ios-6-bluetooth-map-profile.html

Alert Notification Profile info from Bluetooth SIG, perfect profile for this use case (as long as info is available)
http://developer.bluetooth.org/gatt/profiles/Pages/ProfileViewer.aspx?u=org.bluetooth.profile.alert_notification.xml
http://developer.bluetooth.org/gatt/services/Pages/ServiceViewer.aspx?u=org.bluetooth.service.alert_notification.xml
http://developer.bluetooth.org/gatt/characteristics/Pages/CharacteristicViewer.aspx?u=org.bluetooth.characteristic.new_alert.xml
https://www.bluetooth.org/docman/handlers/downloaddoc.ashx?doc_id=242286

Pebble forum discussion of iOS6 MAP support announcement, appears all push notifications are supported (not sure if this includes calls)
http://forums.getpebble.com/topics/560

Pebble forum discussion of lack of API support (two pages, especially page 2 is useful)
http://forums.getpebble.com/topics/517

Detecting call state from another app (only semi-possible if app is in foreground)
http://stackoverflow.com/questions/3319805/detecting-call-state-in-ios4

Detect foreground app about to become inactive, e.g. for incoming call:
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIApplicationDelegate_Protocol/Reference/Reference.html#//apple_ref/occ/intfm/UIApplicationDelegate/applicationWillResignActive:

Direct SMS access not possible in iOS:
http://www.tersus.com/?Id=6291

Direct SMS access not possible in iOS if not jailbroken:
http://stackoverflow.com/questions/10060834/interrupt-calls-smss-on-iphone-ios-5

Jailbroken device SMS interception info:
http://stackoverflow.com/questions/8680764/ios-jailbreak-how-do-intercept-sms-text-messages?rq=1

Jailbroken device SMS content reading info:
http://stackoverflow.com/questions/10681995/how-to-get-the-message-when-receiving-the-kctmessagereceivednotification-notif/11026338#11026338

Hope this helps some people.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.