<?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>I can&amp;#39;t search 128bits UUID service</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12492/i-can-t-search-128bits-uuid-service</link><description>I use the S110-6.0.0 to find the iphone ANCS service,return attr missing. The 16bits UUID is xF431.I have added the long UUID ble_uuid128_t ans_base_uuid = {0xD0, 0x00, 0x2D, 0x12, 0x1E, 0x4B, 0x0F, 0xA4, 0x99, 0x4E, 0xCE, 0xB5, 0x31, 0xf4, 0x05, 0x79</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Mar 2016 05:16:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12492/i-can-t-search-128bits-uuid-service" /><item><title>RE: I can't search 128bits UUID service</title><link>https://devzone.nordicsemi.com/thread/47335?ContentTypeID=1</link><pubDate>Thu, 24 Mar 2016 05:16:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dec07944-18e9-44e2-9d84-ae1f48e016c8</guid><dc:creator>Songplus</dc:creator><description>&lt;p&gt;Hi Hung,thank you for your advice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I can't search 128bits UUID service</title><link>https://devzone.nordicsemi.com/thread/47334?ContentTypeID=1</link><pubDate>Fri, 18 Mar 2016 10:22:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5655efb2-3c00-47e0-96f8-69360d93d03f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Songplus,&lt;/p&gt;
&lt;p&gt;Have you tested the ble_app_ancs_c example ?&lt;/p&gt;
&lt;p&gt;Note that when you called sd_ble_uuid_vs_add() to add a base UUID in the attribute UUID base table, you would need to use the p_uuid_type returned from this API call. This type is position of the UUID base in the table. And when you do service discovery for a particular service with 128 bit, you have to use this p_uuid_type  in-accordance with the 16bit short UUID, in this case 0xF431. With just 0xF431, the softdevice won&amp;#39;t be able to know which 128bit UUID base you are aiming for.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I can't search 128bits UUID service</title><link>https://devzone.nordicsemi.com/thread/47333?ContentTypeID=1</link><pubDate>Thu, 17 Mar 2016 02:39:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36214207-41df-4dac-8994-101f1e61ecf4</guid><dc:creator>Songplus</dc:creator><description>&lt;p&gt;Hi,I have snipffed the link,as showing in my answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I can't search 128bits UUID service</title><link>https://devzone.nordicsemi.com/thread/47332?ContentTypeID=1</link><pubDate>Tue, 15 Mar 2016 12:17:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bca74cd-4e3e-4e9e-90c1-57fc770abfcc</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Okay, I see.&lt;/p&gt;
&lt;p&gt;You can use the sniffer to sniff an encrypted link if the sniffer is present during the encryption key exchange. Could you do that, and then upload the sniffer trace here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I can't search 128bits UUID service</title><link>https://devzone.nordicsemi.com/thread/47330?ContentTypeID=1</link><pubDate>Tue, 15 Mar 2016 03:01:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40d41c01-22b9-48e4-b051-f5cbf6f0823c</guid><dc:creator>Songplus</dc:creator><description>&lt;p&gt;Hi Kristin,there is a text lengh limit in comment,please see my answer,thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I can't search 128bits UUID service</title><link>https://devzone.nordicsemi.com/thread/47331?ContentTypeID=1</link><pubDate>Tue, 15 Mar 2016 02:53:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b547fa75-a8dd-4bda-b9e2-9419acca5eb9</guid><dc:creator>Songplus</dc:creator><description>&lt;p&gt;Hi Kristin ,thank you for your answer.I have a Dongle ,but it can only capture the peripheral advertising datas.After the cental bonding the peripheral ,they work under encrypted link ,so Dongle can&amp;#39;t trace what they are doing.
My production are developed base on S110 V.6.0.0,Now I want to add  GATTC module to get the iphone message   throught Apple&amp;#39;s  ANCS protocol. The ANCS runs as a GATT server, my production runs as a GATT client. The ANCS  service UUID is :7905F431-B5CE-4E99-A40F-4B1E122D00D0 .After I adding 128bits service  UUID  by using sd_ble_uuid_vs_add() ,I call the sd_ble_gattc_primary_services_discover() function used short UUID 0xF431,the SD return Gatt_status==BLE_GATT_STATUS_ATTERR_ATTRIBUTE_NOT_FOUND.Does it mean that the service isn&amp;#39;t found by this short UUID? If I search the 0x1800 service ,there is not problem.So I don&amp;#39;t know which step I miss. Could you debug this base on S110 V.6.0.0 ?
I had  try the ANCS example in SDK 8.1 with S110 v.8.0.0,but it can&amp;#39;t work correctly.After  Sending_security_request() , the device goes to restart.I want to develop base on S110 V.6.0.0 not S110 v.8.0.0,beacause my production are being saled.Thanks.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/bobo_2D00_bonded_2D00_req.png" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;Could you analyse the problem for me ?The &lt;code&gt;Control Opcode:LL_VErSION_IND&lt;/code&gt; means that the cental  have bonded peripheral ? I sniffed another device,which can access the ANCS successfully.The sniff result as follow
&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/man_2D00_bond-and-req.png" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;They look the same :-(&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I can't search 128bits UUID service</title><link>https://devzone.nordicsemi.com/thread/47329?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2016 01:54:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1aa8a392-0f02-4915-b5cf-a1fae9099dad</guid><dc:creator>Songplus</dc:creator><description>&lt;p&gt;Hi, I have added the BLE_GATTS_EVT_SYS_ATTR_MISSING case in  on_ble_evt()  :&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;    case BLE_GATTS_EVT_SYS_ATTR_MISSING://attr missing 
        err_code = sd_ble_gatts_sys_attr_set(m_conn_handle, NULL, 0); 
        APP_ERROR_CHECK(err_code); 
        break;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;But when I debug it,the program never goes into this case,and the  event_discover_rsp() go into:
p_ble_evt-&amp;gt;evt.gattc_evt.gatt_status=BLE_GATT_STATUS_ATTERR_ATTRIBUTE_NOT_FOUND.
My device have been bonding to the iphone 6s pluse.I want to know how to search a 128bits UUID service,whether S110-6.0.0 version supports accessing a 128bits UUID service or not? Thank you for your reply.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I can't search 128bits UUID service</title><link>https://devzone.nordicsemi.com/thread/47328?ContentTypeID=1</link><pubDate>Fri, 11 Mar 2016 10:41:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae1fd2c3-7e2c-429e-bfdb-7aa41816e547</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;The problem can be that the event BLE_GATTS_EVT_SYS_ATTR_MISSING is not being handled. If the application doesn&amp;#39;t support boding, it can for example be handled the following way in on_ble_evt(..) in main.c:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;case BLE_GATTS_EVT_SYS_ATTR_MISSING:
        err_code = sd_ble_gatts_sys_attr_set(m_peripheral_conn_handle, NULL, 0);
        APP_ERROR_CHECK(err_code);
        break;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Update 14.03.16:&lt;/strong&gt; After a little thinking I see that adding BLE_GATTS_EVT_SYS_ATTR_MISSING will not help, because it requires the device to be a GATT server and not a GATT client.&lt;/p&gt;
&lt;p&gt;Could you try the ANCS example in SDK 8.1 with S110 v.8.0.0? Or SDK 6.1.0 and S110 v.7.3.0?&lt;/p&gt;
&lt;p&gt;Do you have a nRF51-DK or a nRF51-Dongle? If so, could you use &lt;a href="https://www.nordicsemi.com/eng/nordic/download_resource/26386/14/65517724"&gt;the sniffer&lt;/a&gt; to track what is being transferred over the air?  And upload the sniffer trace here?&lt;/p&gt;
&lt;p&gt;The sniffer should be used with Wireshark, and it works best with version 1.10, not one of the newer versions, &lt;a href="https://devzone.nordicsemi.com/question/70234/how-to-send-gyro-sensor-data-through-bluetoothble/?answer=70297#post-id-70297"&gt;this&lt;/a&gt; answer links to older version of wireshark.&lt;/p&gt;
&lt;p&gt;What do you mean by access the 128 bit UUID? &lt;a href="https://devzone.nordicsemi.com/question/69692/how-can-i-get-128bit-service-uuid-from-peripheral/?answer=69744#post-id-69744"&gt;This&lt;/a&gt; thread explains storing of a UUID added using sd_ble_uuid_vs_add(..).
S110 v. 6.0.0 does support adding a custom UUID.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>