<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Apple Notification Center Service (ANCS)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/88534/apple-notification-center-service-ancs</link><description>Hello everyone! 
 We need to implement Apple Notification Center Service (ANCS) in our nRF51 firmware so that the iOS application running in the background mode can receive notifications from nRF51. 
 By analyzing the ANCS example that comes with nRF5</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Jun 2022 16:06:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/88534/apple-notification-center-service-ancs" /><item><title>RE: Apple Notification Center Service (ANCS)</title><link>https://devzone.nordicsemi.com/thread/372869?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2022 16:06:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3c2bb48-948e-4ff1-a2f3-97711b4d6b56</guid><dc:creator>bojan</dc:creator><description>&lt;p&gt;Hey, &lt;a href="https://devzone.nordicsemi.com/members/sigurdon"&gt;Sigurd&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;We did not get any clear response from the Apple development forum (&lt;a href="https://developer.apple.com/forums/thread/707391" rel="noopener noreferrer" target="_blank"&gt;link&lt;/a&gt;) about whether it is necessary to use &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v12.3.0%2Fgroup__peer__manager.html&amp;amp;cp=8_5_10_6_2_14" rel="noopener noreferrer" target="_blank"&gt;Peer Manager&lt;/a&gt; in order to secure BLE link. However, we tried it ourselves and it seems ANCS does not work without it.&lt;/p&gt;
&lt;p&gt;Still not 100% sure about that but it seems so. Consequently, we are including &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v12.3.0%2Fgroup__peer__manager.html&amp;amp;cp=8_5_10_6_2_14" rel="noopener noreferrer" target="_blank"&gt;Peer Manager&lt;/a&gt; in our design for now.&lt;/p&gt;
&lt;p&gt;Thanks for your assistance.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Bojan.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Apple Notification Center Service (ANCS)</title><link>https://devzone.nordicsemi.com/thread/370855?ContentTypeID=1</link><pubDate>Fri, 03 Jun 2022 11:30:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:365b3dc6-f787-42dc-8155-c9e217aefe13</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="bojan"]The only suspicious thing I found in the &lt;a href="https://developer.apple.com/library/archive/documentation/CoreBluetooth/Reference/AppleNotificationCenterServiceSpecification/Specification/Specification.html" rel="noopener noreferrer" target="_blank"&gt;ANCS Specification&lt;/a&gt; was that all three ANCS characteristics require authorization for access:[/quote]
&lt;p&gt;Nicely spotted!&lt;/p&gt;
[quote user="bojan"]Not sure what kind of authorization they think of here. It could be that it is enough to call &lt;span style="background-color:rgba(204, 255, 204, 1);"&gt;&lt;em&gt;&lt;code&gt;ble_ancs_c_notif_source_notif_enable()&lt;/code&gt;&lt;/em&gt;&lt;/span&gt;&amp;nbsp; and &lt;span style="background-color:rgba(204, 255, 204, 1);"&gt;&lt;em&gt;&lt;code&gt;ble_ancs_c_data_source_notif_enable()&lt;/code&gt;&lt;/em&gt;&lt;/span&gt; APIs in order to authorize. What do you think?[/quote]
&lt;p&gt;That could be, or that you need to allow some permission/authorization in a pop-up message in iOS when the device connects. Or perhaps they really mean authentication, and in that case you would likely need the Peer Manager&lt;/p&gt;
[quote user="bojan"]I will also double-check with Apple.[/quote]
&lt;p&gt;Let me know if you get a response&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Apple Notification Center Service (ANCS)</title><link>https://devzone.nordicsemi.com/thread/370832?ContentTypeID=1</link><pubDate>Fri, 03 Jun 2022 09:36:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00618219-c468-49c8-901d-a1d93538e07a</guid><dc:creator>bojan</dc:creator><description>&lt;p&gt;Hello, &lt;a href="https://devzone.nordicsemi.com/members/sigurdon"&gt;Sigurd&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;Thanks for your prompt response.&lt;/p&gt;
&lt;p&gt;The only suspicious thing I found in the &lt;a href="https://developer.apple.com/library/archive/documentation/CoreBluetooth/Reference/AppleNotificationCenterServiceSpecification/Specification/Specification.html" rel="noopener noreferrer" target="_blank"&gt;ANCS Specification&lt;/a&gt; was that all three ANCS characteristics require authorization for access:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1654248273934v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Not sure what kind of authorization they think of here. It could be that it is enough to call &lt;span style="background-color:rgba(204, 255, 204, 1);"&gt;&lt;em&gt;&lt;code&gt;ble_ancs_c_notif_source_notif_enable()&lt;/code&gt;&lt;/em&gt;&lt;/span&gt;&amp;nbsp; and &lt;span style="background-color:rgba(204, 255, 204, 1);"&gt;&lt;em&gt;&lt;code&gt;ble_ancs_c_data_source_notif_enable()&lt;/code&gt;&lt;/em&gt;&lt;/span&gt; APIs in order to authorize. What do you think?&lt;/p&gt;
&lt;p&gt;I will also double-check with Apple.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Bojan.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Apple Notification Center Service (ANCS)</title><link>https://devzone.nordicsemi.com/thread/370826?ContentTypeID=1</link><pubDate>Fri, 03 Jun 2022 09:11:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76f08a93-eac4-4412-a7ce-89e3b028d494</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I could not find any mention of bonding/pairing, or security in the &lt;a href="https://developer.apple.com/library/archive/documentation/CoreBluetooth/Reference/AppleNotificationCenterServiceSpecification/Specification/Specification.html"&gt;ANCS Specification&lt;/a&gt;&amp;nbsp;, but I would have thought that the&amp;nbsp;characteristics requires security. But you would either need to ask Apple or test it to be sure.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>