<?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>hid and ancs problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11040/hid-and-ancs-problem</link><description>hi： 
 I combined ANCS example and HID_mouse example @SDK 9.0,but there is an error when iphone connect the device ,err_code is 0X8010,(err_code = dm_service_context_set(&amp;amp;m_peer_handle, &amp;amp;service_context);) but I can&amp;#39;t find the where return the error code</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 Jan 2016 07:37:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11040/hid-and-ancs-problem" /><item><title>RE: hid and ancs problem</title><link>https://devzone.nordicsemi.com/thread/41274?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2016 07:37:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44036629-91bb-431e-8405-c1bcad63b866</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I was stupid here,  it is not invalid flags but invalid address error. I will edit my answer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hid and ancs problem</title><link>https://devzone.nordicsemi.com/thread/41271?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2016 04:56:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33e0998e-cea9-4c6f-b69d-dacfdf07d8af</guid><dc:creator>Minh</dc:creator><description>&lt;p&gt;Hi rc766437
Did you solve your problem?, I have same problem with you.
it occur when I connected to Iphone (WHITELIST is disabled).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hid and ancs problem</title><link>https://devzone.nordicsemi.com/thread/41273?ContentTypeID=1</link><pubDate>Mon, 04 Jan 2016 01:39:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65274802-aa95-4395-b314-43c2f227abe9</guid><dc:creator>rc766437</dc:creator><description>&lt;p&gt;this is the question that I want to ask you, I am sure the err code is 0x8010.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hid and ancs problem</title><link>https://devzone.nordicsemi.com/thread/41272?ContentTypeID=1</link><pubDate>Wed, 30 Dec 2015 09:51:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b694632a-09d8-4db3-8895-2ade4a826e19</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;h2&gt;Edited&lt;/h2&gt;
&lt;p&gt;0X8000 is device manager module error base number defined in sdk_errors.h&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define DEVICE_MANAGER_ERR_BASE   (0x8000)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;And anything on top of it is defined in nrf_error.h&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define NRF_ERROR_INVALID_ADDR                (NRF_ERROR_BASE_NUM + 16) ///&amp;lt; Bad Memory Address
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This means that the handle you gave to the call is not identified by the device_manager. This is probably because the connection_id is not valid or BLE_GAP_EVT_SEC_PARAMS_REQUEST event has not been processed.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;dm_service_context_set
{
    ...
    VERIFY_CONNECTION_INSTANCE(p_handle-&amp;gt;connection_id);
    VERIFY_DEVICE_INSTANCE
}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hid and ancs problem</title><link>https://devzone.nordicsemi.com/thread/41269?ContentTypeID=1</link><pubDate>Wed, 30 Dec 2015 01:34:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be851a1e-0c77-4fbf-9b7d-8a044824b10e</guid><dc:creator>rc766437</dc:creator><description>&lt;p&gt;thanks Aryan, I want to know how it occurs and where this error code occurs?
this err code happens in this function(err_code = dm_service_context_set(&amp;amp;m_peer_handle, &amp;amp;service_context);)
this error code  only happens sometimes,  connection with IOS will occur  error, but will not  error connected with android&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hid and ancs problem</title><link>https://devzone.nordicsemi.com/thread/41270?ContentTypeID=1</link><pubDate>Tue, 29 Dec 2015 12:14:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5f30a02-5bd5-4f49-a90c-1146e1107979</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;are you asking what the meaning of the error code or why it occurs? Did you set a breakpoint at the place where this error occurs and stepped through it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>