<?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>nRF51422 GATT Authorization failed Error 0x89</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7316/nrf51422-gatt-authorization-failed-error-0x89</link><description>I am using nRF51422 SDK v8.0 and the board for evaluation is PCA10003. As I am using the BLE in GENERIC_KEYRING. The same I am trying to configure to send Immediate alert to Mobile phone which than by using some APP will make a call and can be used as</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Jun 2015 19:58:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7316/nrf51422-gatt-authorization-failed-error-0x89" /><item><title>RE: nRF51422 GATT Authorization failed Error 0x89</title><link>https://devzone.nordicsemi.com/thread/25894?ContentTypeID=1</link><pubDate>Tue, 02 Jun 2015 19:58:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5df2e8fc-e86d-419e-83a6-e91fb152d6d9</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@It&amp;#39;s great that you managed to solve it. If possible could you leave a few lines on how you solved it as an answer to your quesetion and then mark as correct so we can close the case ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51422 GATT Authorization failed Error 0x89</title><link>https://devzone.nordicsemi.com/thread/25893?ContentTypeID=1</link><pubDate>Tue, 02 Jun 2015 06:53:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92d540d2-94ce-48af-bbd7-73dacc67b405</guid><dc:creator>Shubham Kumar Mishra</dc:creator><description>&lt;p&gt;@Hung Bui  ............. K  thanks for your reply and good news it is done!! Now I understand it .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51422 GATT Authorization failed Error 0x89</title><link>https://devzone.nordicsemi.com/thread/25892?ContentTypeID=1</link><pubDate>Mon, 01 Jun 2015 15:28:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:404c69b7-0d92-4711-83e5-2a8ca1d3efbf</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Shubham: As I mentioned, nrfToolbos app DOES NOT have a server with IAS service implemented.&lt;/p&gt;
&lt;p&gt;It won&amp;#39;t work when you press the button 0 on PCA10003. Only Master Control Panel on PC supports this. The only alarm you can have with the nRFToolbox is when you move the phone away from the device.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s shouldn&amp;#39;t be too hard to implement the server on Android side.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51422 GATT Authorization failed Error 0x89</title><link>https://devzone.nordicsemi.com/thread/25883?ContentTypeID=1</link><pubDate>Mon, 01 Jun 2015 08:36:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77a06157-cf0c-4799-aa6e-b6d4e7a4c7fd</guid><dc:creator>Shubham Kumar Mishra</dc:creator><description>&lt;p&gt;@Hung Bui
I have analysed using sniffer, while press BUTTON_0 on PCA1003 EK board I am getting EMPTY Data PDU on sniffer log screen. But While I press find me button from nRF ToolBOX Mobile APP I am getting accurate result (Master-&amp;gt;slave RCVD write command, Handle 0x000e) .....
Which means Immediate Alert Service is not working, at the time when I press the BUTTON_0 on Evaluation kit.....&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51422 GATT Authorization failed Error 0x89</title><link>https://devzone.nordicsemi.com/thread/25891?ContentTypeID=1</link><pubDate>Sat, 30 May 2015 10:52:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c8bb4dc-320c-41de-9bf1-93325eb88418</guid><dc:creator>Shubham Kumar Mishra</dc:creator><description>&lt;p&gt;@@continue..........................................
Mobile Phone is Xperia (Model C6502)
Android version:  4.4.4&lt;/p&gt;
&lt;p&gt;I am having some issue with Sniffer and Wireshark... As I am not able to read any packets using this tools, so if you know the solution for this plz revert also along with above issue... As from above code part it infer that the IAS service is not found on mobile phone. that is why it is not working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51422 GATT Authorization failed Error 0x89</title><link>https://devzone.nordicsemi.com/thread/25890?ContentTypeID=1</link><pubDate>Sat, 30 May 2015 10:48:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4594e5a9-68d2-4361-9b1c-d76953f75384</guid><dc:creator>Shubham Kumar Mishra</dc:creator><description>&lt;p&gt;Yes I&amp;#39;ve used the NRF Toolbox. And the still I am getting problem within Proximity menu of APP on pressing Button_0, I am not getting any notification of Alert on Mobile device.&lt;/p&gt;
&lt;p&gt;As on debugging,
When I am about to connecting PCA10003 with Mobile the execution of function is in following severally :&lt;/p&gt;
&lt;p&gt;1....  &lt;strong&gt;ble_ias_on_ble_evt(ble_ias_t * p_ias, ble_evt_t * p_ble_evt)
--&amp;gt; in this  function , the control reached under correct case i.e.
case BLE_GAP_EVT_CONNECTED:
on_connect(p_ias, p_ble_evt);
break;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;2... on reaching to this function
--&amp;gt; &lt;strong&gt;static void on_ias_c_evt(ble_ias_c_t * p_ias_c, ble_ias_c_evt_t * p_evt)&lt;/strong&gt;
The control reaches to this case value&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;   case BLE_IAS_C_EVT_SRV_NOT_FOUND:           
      
        break;
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51422 GATT Authorization failed Error 0x89</title><link>https://devzone.nordicsemi.com/thread/25889?ContentTypeID=1</link><pubDate>Fri, 29 May 2015 16:12:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43d0a293-d40f-497e-8f9d-aa2311e1eb64</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Shubham: Which Android device are you using ? and running on which Android version ?
Could you record &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF-Sniffer/(language)/eng-GB"&gt;a sniffer trace&lt;/a&gt; when the issue occurs ?&lt;/p&gt;
&lt;p&gt;Have you bonded when you try to write to the characteristic ?&lt;/p&gt;
&lt;p&gt;Note that you would need to have a server on the phone to be able to do what you described &amp;quot;press button 0 on PCA10003 to send HIGH_ALERT&amp;quot;. It&amp;#39;s not implemented in the nRFToolbox and the nRF MasterControl Panel.&lt;/p&gt;
&lt;p&gt;Please follow the instruction on &amp;quot;Immediate Alert Service Client&amp;quot; test at the bottom of this page: &lt;a href="https://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/doc/8.1.0/s110/html/a00079.html"&gt;https://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/doc/8.1.0/s110/html/a00079.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51422 GATT Authorization failed Error 0x89</title><link>https://devzone.nordicsemi.com/thread/25888?ContentTypeID=1</link><pubDate>Fri, 29 May 2015 11:48:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5c0f0a0-34be-4def-8a1e-768c991dd689</guid><dc:creator>Shubham Kumar Mishra</dc:creator><description>&lt;p&gt;For  BLE SOS application this  ble_app_Proximity works?? or Need to design own custom service please answer this also........... Plz reply more about Error :0x89&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51422 GATT Authorization failed Error 0x89</title><link>https://devzone.nordicsemi.com/thread/25887?ContentTypeID=1</link><pubDate>Fri, 29 May 2015 11:47:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:303b6bd1-4f8a-4e4e-94e9-66c0d451e0b2</guid><dc:creator>Shubham Kumar Mishra</dc:creator><description>&lt;p&gt;Proximity App is available on Nordic portal but I Want to test it onto the Android device, so I just have nRFMaster control APP it gives debugging and APP and various other mode.&lt;/p&gt;
&lt;p&gt;THIS ERROR 0X89  GATT AUTH FAIL  i found using this when  I push the option on app Read All characteristic under APP menu on nRF Master Control APP................ When I press the BUTTON_0 pn PCA10003 EK board as per the code and implementation it should to send the HIGH_ALERT but it won&amp;#39;t .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51422 GATT Authorization failed Error 0x89</title><link>https://devzone.nordicsemi.com/thread/25886?ContentTypeID=1</link><pubDate>Fri, 29 May 2015 11:35:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe77c643-ce9b-4820-989e-95f7762e88c2</guid><dc:creator>Shubham Kumar Mishra</dc:creator><description>&lt;p&gt;Please look at this function::   This function is called from button_event_handler function... and this is defined inside the ble_ias_c.c
&lt;strong&gt;&lt;em&gt;uint32_t ble_ias_c_send_alert_level(ble_ias_c_t const * p_ias_c, uint8_t alert_level)
{
SEGGER_RTT_printf(0,&amp;quot;%s &amp;amp;%d and alert_level=%d\n&amp;quot;,&lt;strong&gt;FUNCTION&lt;/strong&gt;,&lt;strong&gt;LINE&lt;/strong&gt;,alert_level);
if (!ble_ias_c_is_ias_discovered(p_ias_c))  // program control reached at this point
{
return NRF_ERROR_NOT_FOUND;   //And in return we get this
}
return write_characteristic_value(p_ias_c-&amp;gt;conn_handle, p_ias_c-&amp;gt;alert_level_handle,&lt;br /&gt;
sizeof(uint8_t),&amp;amp;alert_level);
}&lt;/em&gt;&lt;/strong&gt;
is there any issue with the above mentioned if condition within the code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51422 GATT Authorization failed Error 0x89</title><link>https://devzone.nordicsemi.com/thread/25885?ContentTypeID=1</link><pubDate>Fri, 29 May 2015 11:32:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25093b90-88cb-4fb5-9934-711161c1417e</guid><dc:creator>Shubham Kumar Mishra</dc:creator><description>&lt;p&gt;Yes I am working on ble_app_proximity  which come with SDK V8.0..
And this error I received  using nRF Master control.apk the app for Android.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51422 GATT Authorization failed Error 0x89</title><link>https://devzone.nordicsemi.com/thread/25884?ContentTypeID=1</link><pubDate>Fri, 29 May 2015 10:44:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91078207-bdc6-439b-8480-c4fa5b11ed7a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Shubham: When do you receive the error 0x89 ?&lt;/p&gt;
&lt;p&gt;Could you try to record &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF-Sniffer/(language)/eng-GB"&gt;a sniffer trace&lt;/a&gt; ?&lt;/p&gt;
&lt;p&gt;We have an example in the SDK that implemented immediate alert. Could you try ble_app_proximity example?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>