之前的BLE Project都是把 iOS Device 當成Central BLE Device as Peripheral. 還蠻自然的. 可是當你要Access iOS Notification時 問題就來了
1. iOS 不提供Private Notification 就是說Email,SMS,Phone Call....你無法自程式中取得再丟給BLE Peripheral
2.這些Notification 必需透過 Apple ANCS (Apple Notification Center Service)來取用
這時BLE Device的功能就要由Peripheral 轉成 Central 因為這時的 iOS Device把自己轉成 BLE Peripheral 透過BLE Notification來傳資料 (一切都為了省電)
這下子 CC2540又有事要做了!
Apple ANCS Document <---資料少的可年!
Comments