<?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>alert notification as master or periferal?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1670/alert-notification-as-master-or-periferal</link><description>I&amp;#39;m currently working on alert notification service. Correct me in case I misunderstand it. 
 having nrf51822 as peripheral with AlertNotificationServie will impose to have the app (ios at the moment) always running. 
 In case nrf51822 is a master there</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 13 Mar 2014 11:35:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1670/alert-notification-as-master-or-periferal" /><item><title>RE: alert notification as master or periferal?</title><link>https://devzone.nordicsemi.com/thread/7396?ContentTypeID=1</link><pubDate>Thu, 13 Mar 2014 11:35:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6d6743a-aa2d-4a42-beca-07d1660293a2</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;There is no additional connection; you just start a service discovery by using the GATT Client API of the softdevice. It&amp;#39;s a good idea to wait until bonding is finished however, since you may see INSUFFICIENT_AUTHENTICATION if you do things before that. You can refer to the proximity application in the SDK for an example, since it includes a GATT Client for the (very simple) Immediate Alert service, or also the ANCS or ANS example applications.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: alert notification as master or periferal?</title><link>https://devzone.nordicsemi.com/thread/7395?ContentTypeID=1</link><pubDate>Thu, 13 Mar 2014 09:47:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cb976c9-42ab-41cb-9980-ad7019d1d2ab</guid><dc:creator>Oleh</dc:creator><description>&lt;p&gt;Thank you Ole for clarification.&lt;/p&gt;
&lt;p&gt;What I&amp;#39;m trying to understand is how the connection is established in this case:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;the phone is Central and is GATT Server for alert notification;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;the nrf51822 for example will be peripheral and GATT Client (for ANS) and GATT Server (for Proximity);&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The device will advertise, go thru bonding and is connected. Is it the right time now to connect to Phone and subscribe to ANS?&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: alert notification as master or periferal?</title><link>https://devzone.nordicsemi.com/thread/7394?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2014 12:11:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73d6c848-524c-498a-ad1c-8d26073e77d5</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;An iOS app can keep a connection to a Peripheral in the background, so there shouldn&amp;#39;t be any reason to not have the iOS device as the Central.&lt;/p&gt;
&lt;p&gt;However, with the Alert Notification Service, it&amp;#39;s most often the device that has the notifications (i.e. the phone) that would be the GATT Server, and the device accessing them (the device) would be the GATT Client. As explained &lt;a href="https://devzone.nordicsemi.com/index.php/what-is-a-client-and-server-in-ble"&gt;here&lt;/a&gt;, this is however independent of the GAP role.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>