<?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>ANCS and nrf8001</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1683/ancs-and-nrf8001</link><description>I used nrf8001 to implement ANCS.It working fine.But when it disconnect for a while and reconnect(reconnect successed).I found Iphone can&amp;#39;t send any ANCS message to nrf8001 until turn off/on bluetooth on iphone and reconnect again and it can work fine</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Jun 2017 08:37:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1683/ancs-and-nrf8001" /><item><title>RE: ANCS and nrf8001</title><link>https://devzone.nordicsemi.com/thread/7440?ContentTypeID=1</link><pubDate>Mon, 12 Jun 2017 08:37:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8deceef5-affd-4c97-9400-24cd4b5d0cb6</guid><dc:creator>VICTOR</dc:creator><description>&lt;p&gt;The error 0x82 is launched when I execute the command &amp;quot;Close Remote Pipe&amp;quot; (lib_aci_close_remote_pipe). I´ve read that this command is not available in the chip NRF8001 build code C. For this chip, is there any workaround?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANCS and nrf8001</title><link>https://devzone.nordicsemi.com/thread/7447?ContentTypeID=1</link><pubDate>Thu, 24 Apr 2014 14:04:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48d5e70f-5542-4b02-af2a-3b97671e8217</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;The Control Pipe is a TX pipe so no action is needed on it. You only need to handle the RX ANCS pipes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANCS and nrf8001</title><link>https://devzone.nordicsemi.com/thread/7450?ContentTypeID=1</link><pubDate>Wed, 23 Apr 2014 14:15:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82a60278-8b88-47a8-bc94-81f642b94c2a</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;Looks like your issue is caused by this bug in the lib_aci_close_remote_pipe
&lt;a target="_blank" href="https://github.com/NordicSemiconductor/ble-sdk-arduino/issues/3" rel="nofollow"&gt;https://github.com/NordicSemiconductor/ble-sdk-arduino/issues/3&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Use the code below instead of the existing check in line 500-506 in the 0.9 release&lt;/p&gt;
&lt;p&gt;if(!((p_services_pipe_type_map[pipe-1].location == ACI_STORE_REMOTE)&amp;amp;&amp;amp;
((p_services_pipe_type_map[pipe-1].pipe_type == ACI_RX)||
(p_services_pipe_type_map[pipe-1].pipe_type == ACI_RX_ACK_AUTO)||
(p_services_pipe_type_map[pipe-1].pipe_type == ACI_RX_ACK))))
{
return false;
}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANCS and nrf8001</title><link>https://devzone.nordicsemi.com/thread/7455?ContentTypeID=1</link><pubDate>Wed, 23 Apr 2014 10:33:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccd10439-6d3b-4942-aaa9-ed1513dd5c2e</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;Note: The open and closing of the remote pipes is relevant only for RX pipes and not for TX pipes on the remote GATT Server.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANCS and nrf8001</title><link>https://devzone.nordicsemi.com/thread/7456?ContentTypeID=1</link><pubDate>Wed, 05 Mar 2014 13:46:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b82ac61-e4c7-4555-9821-e0c90b48cbdc</guid><dc:creator>David Edwin</dc:creator><description>&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Is there any Error Data that is present in the Pipe Error Event ? I suspect there is some Error Data present.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The code as you have it will call lib_aci_close_remote_pipe() multiple times when multiple pipe status events arrive so some of them will definitely fail, so adding a guard condition so that it is not sent multiple times is good.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Once you have successfully closed the pipe and the pipe is now present in the closed pipes, then you need to do an Open Remote pipe in the same way as you did the close above.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANCS and nrf8001</title><link>https://devzone.nordicsemi.com/thread/7453?ContentTypeID=1</link><pubDate>Wed, 05 Mar 2014 13:13:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b27f437f-1a83-4278-8c63-79fc23846e15</guid><dc:creator>Emp2014</dc:creator><description>&lt;p&gt;As you suggested .I&amp;#39;m doing the following&lt;/p&gt;
&lt;p&gt;void lib_aci_pipe_status_hook(aci_evt_t *p_rcvd_evt_data)
{
if (lib_aci_is_discovery_finished())
{
if (lib_aci_is_pipe_available(PIPE_ANCS_NOTIFICATION_SOURCE_RX))
{
lib_aci_close_remote_pipe(PIPE_ANCS_NOTIFICATION_SOURCE_RX);
}
}&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;.....
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;But sometime get the pipe error(0x92) when Send the Close Remote Pipe,(The success rate is not 100%).&lt;/p&gt;
&lt;p&gt;have you got any idea what am I doing wrong here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANCS and nrf8001</title><link>https://devzone.nordicsemi.com/thread/7452?ContentTypeID=1</link><pubDate>Tue, 04 Mar 2014 09:35:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a30dc24-425a-4f33-b28f-2b53b8314089</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;Can you paste message contents of the Pipe Error that you got. If you are using the Arduino SDK ,  you can turn on the debug printing using the lib_aci_debug_print(true) .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANCS and nrf8001</title><link>https://devzone.nordicsemi.com/thread/7446?ContentTypeID=1</link><pubDate>Tue, 04 Mar 2014 02:57:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b928759e-d1db-402f-9d33-f92dcaf1400a</guid><dc:creator>Emp2014</dc:creator><description>&lt;p&gt;The Control point don&amp;#39;t work when this issue happen.when I sending data always got pipe error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANCS and nrf8001</title><link>https://devzone.nordicsemi.com/thread/7445?ContentTypeID=1</link><pubDate>Tue, 04 Mar 2014 02:04:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67719f2e-9a34-45e8-be47-c5a8ad737846</guid><dc:creator>larry</dc:creator><description>&lt;p&gt;Thanks for your suggestion.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANCS and nrf8001</title><link>https://devzone.nordicsemi.com/thread/7444?ContentTypeID=1</link><pubDate>Mon, 03 Mar 2014 14:40:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb381a88-8fb9-4b63-b6ed-589438921e1b</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;Suggest you post that as a separate question as this thread is discussing the nRF8001 and ANCS. Thanks for understanding.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANCS and nrf8001</title><link>https://devzone.nordicsemi.com/thread/7443?ContentTypeID=1</link><pubDate>Mon, 03 Mar 2014 14:25:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:538d9143-3233-4d8e-b890-7b2d9b58545d</guid><dc:creator>larry</dc:creator><description>&lt;p&gt;i know ANCS does not work is due to Apple side it forget the CCCD ,i want to know what do i need to do when it reconnect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANCS and nrf8001</title><link>https://devzone.nordicsemi.com/thread/7442?ContentTypeID=1</link><pubDate>Mon, 03 Mar 2014 14:18:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e00afb3-ead3-4d46-8177-1477da4bf1a6</guid><dc:creator>larry</dc:creator><description>&lt;p&gt;Hi
I have some question about ANCS ,when trun off/on bluetooth function on ios device ,or rebooting iOS Device ,ANCS does not work.some people said that the problem is due to the implementation of Apple.therefore,i want to know whether i can solve this problem by modifying code of application program.please give me some suggestion.
ios device&lt;br /&gt;
ios  7.0
BLE Board
nrf6310 Rev 1.4
nrf6350 Rev 2.0
PCA10005Rev 2.2.0&lt;/p&gt;
&lt;p&gt;best regards
larry&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANCS and nrf8001</title><link>https://devzone.nordicsemi.com/thread/7441?ContentTypeID=1</link><pubDate>Mon, 03 Mar 2014 11:01:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb5884b8-c6ef-4bb1-b0a8-fca8330ece3d</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;If the Control point pipe is available it should be accessible by sending data to the pipe mapped to it without any work arounds. but I have not tested it.
Let know how it works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANCS and nrf8001</title><link>https://devzone.nordicsemi.com/thread/7454?ContentTypeID=1</link><pubDate>Mon, 03 Mar 2014 10:55:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b95f9ae0-f4a1-40bd-8364-392dcc8ec787</guid><dc:creator>Emp2014</dc:creator><description>&lt;p&gt;The ANCS has 3 Characteristics(&amp;quot;Notification Source&amp;quot;,&amp;quot;Control Point&amp;quot;,&amp;quot;Data Source&amp;quot;),&lt;/p&gt;
&lt;p&gt;How to work around  the Control Point?!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANCS and nrf8001</title><link>https://devzone.nordicsemi.com/thread/7449?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2014 13:54:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b0bbabd-4a09-4397-b83a-fbb2d0b03467</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;I assume this is what you did:
&amp;lt;Do the ANCS as earlier normally for the initial config then do the work around using open/close remote pipe as below&amp;gt;&amp;gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Wait for the Pipe Status Event to arrive which says that the ANCS pipes are available.&lt;/li&gt;
&lt;li&gt;Send the Close Remote Pipe&lt;/li&gt;
&lt;li&gt;Wait for the Pipe Status that says that the Remote ANCS pipe has closed.&lt;/li&gt;
&lt;li&gt;Send the Open Remote Pipe&lt;/li&gt;
&lt;li&gt;Wait for the Pipe Status that says that the Remote ANCS pipe is now open.
=
Is this what you attempted ?&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANCS and nrf8001</title><link>https://devzone.nordicsemi.com/thread/7448?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2014 03:51:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6801dd9c-877a-43d3-b259-8104f16ff96d</guid><dc:creator>Emp2014</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;i tried to close/open Remote pipe when this issue happened,But it still fail.&lt;/p&gt;
&lt;p&gt;I found only iPhone suspend and do disconnect(wait a while)--&amp;gt;reconnect several times,and this issue was happened.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANCS and nrf8001</title><link>https://devzone.nordicsemi.com/thread/7451?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2014 02:49:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61005c98-73a2-4f49-902b-c320bdc0e3e7</guid><dc:creator>Soren</dc:creator><description>&lt;p&gt;I ran into the same issue while using the &lt;em&gt;hcitool&lt;/em&gt; command on my Ubuntu machine. The first connect works but the first reconnect does not work unless I reset the hci module (&lt;em&gt;hciconfig hci0 reset&lt;/em&gt;) then establishing a connection becomes flawless.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANCS and nrf8001</title><link>https://devzone.nordicsemi.com/thread/7439?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2014 10:35:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21d98e6a-979b-4f3c-bbff-2d7bd55dab20</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;There is an issue on the Apple side that it forgets the CCCD (Client Configuration Characteristic Descriptor) that was set by the nRF8001 after bonding.
This results in the Apple device forgetting to Notify the nRF device.
As a work around you can attempt to do:
Do an  ACI Close Remote pipe and then do an Open Remote Pipe on the pipes that have the Notify property on the ANCS side.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>