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,

    Q. how your ble_app_alert_notification should be able to connect to ANCS?

    A. i think the ble_app_alert_notification sample as same as the NP/NC stack. so ,i build the ANCS(apple notification center servicer) profile by this example.

    Now,i connect the iOS ,and discover the ANCS Characteristic and Descriptor . But the iOS, have not notification any message to my device(nRF51). Do you have any idea about it ? (how to debug it or any Explanation for ANCS)

    P.s: 1.attatch: use apple BTLE_Transfer to dump the iphone services

    the difference Base UUID , call the sd_ble_uuid_vs_add by difference base uuid err_code = sd_ble_uuid_vs_add(&ans_base_uuid, &p_ans->uuid_type);

    ble_app_alert_notification.zip

    apple_ancs.png

Reply
  • hi,

    Q. how your ble_app_alert_notification should be able to connect to ANCS?

    A. i think the ble_app_alert_notification sample as same as the NP/NC stack. so ,i build the ANCS(apple notification center servicer) profile by this example.

    Now,i connect the iOS ,and discover the ANCS Characteristic and Descriptor . But the iOS, have not notification any message to my device(nRF51). Do you have any idea about it ? (how to debug it or any Explanation for ANCS)

    P.s: 1.attatch: use apple BTLE_Transfer to dump the iphone services

    the difference Base UUID , call the sd_ble_uuid_vs_add by difference base uuid err_code = sd_ble_uuid_vs_add(&ans_base_uuid, &p_ans->uuid_type);

    ble_app_alert_notification.zip

    apple_ancs.png

Children
  • Hi, do you connect peripheral device using a BLE test app like lightblue/BLExplr or have you wrote an iOS app ?

    Can you send a screen capture of what is shown by the iOS app (lightblue/BLExplr etc...) you are using to try connection ?

    Unfortunately I not work with Keil and windows, so I can't check your code immediately.

    If you have a mac you can simulate a Bluetooth peripheral in Xcode (as is your nRF51 device) test and debug it in realtime using native BT framework.

Related