This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

how to access iOS7's ANCS on nRF51822?

hi, i want to get the Email,MissedCall,Other(SMS) from Apple(ios7) to my device.

i survey that , ANCS(Apple Notification Center Service ) at the the Latest iOS7 and access to Notification Center, allowing Bluetooth devices to automatically receive any notification event from your iOS device.

So, I don't know how to build the ANCS on my client(device) and server(iphone). can you give me a suggestion?

device: create the ANCS client(by the custom UUID,128bit) from ANS client sample. iphone: how to bond the ANCS with my app? how to access the ANCS?

nRF8001 devzone.nordicsemi.com/.../how-to-setup-a-pipe-to-access-ios7-s-ancs

The Apple Notification Center Service developer.apple.com/.../Specification.html

Parents
  • Hi Steven,

    Thanks a lot for your reply. I was referring to the code snippet you posted above:

    BLE_UUID_CUS_ASSIGN(ans_uuid, BLE_UUID_ALERT_NOTIFICATION_SERVICE);

    Where did you define BLE_UUID_ALERT_NOTIFICATION_SERVICE? I understand that the base_uuid is what you posted (7905F431-B5CE-4E99-A40F-4B1E122D00D0) but not sure I understand what BLE_UUID_ALERT_NOTIFICATION_SERVICE is. Looking at the Bluetooth 4.0 specs this should be 0x1811, but what's the value of that for Apple?

    I don't have the board with me right now, but I'll try to follow your procedure in order to pair and discover the Notification Centre's services.

    Btw, I have the Dev Kit 51822-DK + Motherboard nRF6310 (and not the Ev Kit)...I guess button2 is still button2 also for me...

    Thanks

  • Still doesn't work...I can read Battery status Ok but nothing happens even after pressing the button. No errors but no LEDs are lighting either (besides LED2 when it connects).

    Have you tried the BLE ANCS APP from new SDK btw?

Reply Children
No Data
Related