<?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>How to get the 128-bit UUID of a peer device characteristic</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59434/how-to-get-the-128-bit-uuid-of-a-peer-device-characteristic</link><description>I want to get the 128 characteristic UUID of the peer device during the connection phase. Now I use SDK is 15.3, the softdevice is 6.1, and only 16-bit UUIDs are obtained in the &amp;quot;discovery_start ()&amp;quot; code during the connection phase. How can I get the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Apr 2020 08:14:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59434/how-to-get-the-128-bit-uuid-of-a-peer-device-characteristic" /><item><title>RE: How to get the 128-bit UUID of a peer device characteristic</title><link>https://devzone.nordicsemi.com/thread/245444?ContentTypeID=1</link><pubDate>Mon, 20 Apr 2020 08:14:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8aebf3e8-246d-4003-83e5-09793109f9cf</guid><dc:creator>Wim</dc:creator><description>&lt;p&gt;talk English in an international forum!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get the 128-bit UUID of a peer device characteristic</title><link>https://devzone.nordicsemi.com/thread/245395?ContentTypeID=1</link><pubDate>Mon, 20 Apr 2020 01:52:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10ae92ff-1036-4f44-a439-afaf8ec1edc8</guid><dc:creator>jimmy</dc:creator><description>&lt;div class="tlid-input input has-transliteration"&gt;
&lt;div class="source-wrap"&gt;
&lt;div class="input-full-height-wrapper tlid-input-full-height-wrapper"&gt;
&lt;div class="source-input"&gt;
&lt;div class="tlid-source-transliteration-container source-transliteration-container transliteration-container"&gt;
&lt;div class="tlid-transliteration-content transliteration-content full"&gt;&lt;span style="vertical-align:inherit;"&gt;&lt;span style="vertical-align:inherit;"&gt;谢谢。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="tlid-transliteration-content transliteration-content full"&gt;&lt;span style="vertical-align:inherit;"&gt;&lt;span style="vertical-align:inherit;"&gt;问候&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="tlid-transliteration-content transliteration-content full"&gt;
&lt;div class="tlid-input input has-transliteration"&gt;
&lt;div class="source-wrap"&gt;
&lt;div class="input-full-height-wrapper tlid-input-full-height-wrapper"&gt;
&lt;div class="source-input"&gt;
&lt;div class="tlid-source-transliteration-container source-transliteration-container transliteration-container"&gt;
&lt;div class="tlid-transliteration-content transliteration-content full"&gt;&lt;span class="tlid-translation translation" lang="en"&gt;&lt;span class="" title=""&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="tlid-results-container results-container"&gt;
&lt;div class="tlid-result result-dict-wrapper"&gt;
&lt;div class="result tlid-copy-target"&gt;
&lt;div class="text-wrap tlid-copy-target"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get the 128-bit UUID of a peer device characteristic</title><link>https://devzone.nordicsemi.com/thread/244178?ContentTypeID=1</link><pubDate>Thu, 09 Apr 2020 14:10:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2eaa8773-0af4-481f-9300-641fb4e03897</guid><dc:creator>MiK27</dc:creator><description>&lt;p&gt;Hi Jared&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have the same problem and tried to call&amp;nbsp;sd_ble_gattc_attr_info_discover for the unknown services.&lt;/p&gt;
&lt;p&gt;The response I got did not include a 128bit UUID but the 16bit UUID 2800, which is the GATT declaration for &amp;quot;Primary Service&amp;quot;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If I do a full&amp;nbsp;&lt;span&gt;sd_ble_gattc_attr_info_discover&amp;nbsp;for the Nordic Blinky example I get this:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;handle=0x0001 uuid=[ 00002800-0000-1000-8000-00805f9b34fb ]&lt;br /&gt;handle=0x0003 uuid=[ 00002a00-0000-1000-8000-00805f9b34fb ]&lt;br /&gt;handle=0x0002 uuid=[ 00002803-0000-1000-8000-00805f9b34fb ]&lt;br /&gt;handle=0x0004 uuid=[ 00002803-0000-1000-8000-00805f9b34fb ]&lt;br /&gt;handle=0x0005 uuid=[ 00002a01-0000-1000-8000-00805f9b34fb ]&lt;br /&gt;handle=0x0006 uuid=[ 00002803-0000-1000-8000-00805f9b34fb ]&lt;br /&gt;handle=0x0007 uuid=[ 00002a04-0000-1000-8000-00805f9b34fb ]&lt;br /&gt;handle=0x0008 uuid=[ 00002803-0000-1000-8000-00805f9b34fb ]&lt;br /&gt;handle=0x0009 uuid=[ 00002aa6-0000-1000-8000-00805f9b34fb ]&lt;br /&gt;handle=0x000A uuid=[ 00002800-0000-1000-8000-00805f9b34fb ]&lt;br /&gt;handle=0x000B uuid=[ 00002800-0000-1000-8000-00805f9b34fb ]&lt;br /&gt;handle=0x000C uuid=[ 00002803-0000-1000-8000-00805f9b34fb ]&lt;br /&gt;handle=0x000D uuid=[ 00001524-1212-efde-1523-785feabcd123 ]&lt;br /&gt;handle=0x000E uuid=[ 00002902-0000-1000-8000-00805f9b34fb ]&lt;br /&gt;handle=0x000F uuid=[ 00002803-0000-1000-8000-00805f9b34fb ]&lt;br /&gt;handle=0x0010 uuid=[ 00001525-1212-efde-1523-785feabcd123 ]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But not the correct 128bit UUID for the&amp;nbsp;LED Button Service, which has the handle 0x000B.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The characteristics assigned to this service (0x000D, 0x0010) although have the correct UUID.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is there another way to discover the service UUID if it is unknown?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I use nRF5 SDK v15.3.0 and the Softdevice 6.1.1.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks, for your help.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Michael&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get the 128-bit UUID of a peer device characteristic</title><link>https://devzone.nordicsemi.com/thread/242997?ContentTypeID=1</link><pubDate>Wed, 01 Apr 2020 14:03:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:981063f5-c49f-4e2b-9e30-1efc0573a212</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Google translate of your reply:&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;pre dir="ltr"&gt;&lt;em&gt;&lt;span lang="en"&gt;&amp;quot;Hi, I need to get the 128-bit service UUID of the peer device during service discovery when &lt;br /&gt;connecting the device. Without knowing what service UUID the other party has, make sure it is a &lt;br /&gt;128-bit service UUID. You said sd_ble_gattc_attr_info_discover (), how to use it? I found no data in &lt;br /&gt;p_attr_info_disc_rsp_evt, when should I use sd_ble_gattc_attr_info_discover () to get the data. &lt;br /&gt;When should I extract the data and look forward to your reply&amp;quot;.&lt;/span&gt;&lt;/em&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;pre dir="ltr"&gt;&lt;em&gt;&lt;/em&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;em&gt;&lt;span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;A&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v7.0.1/group___b_l_e___g_a_t_t_c___e_n_u_m_e_r_a_t_i_o_n_s.html#ggafd9b8b42eeb832d688e33f4561f97efca2ad65b05c79182d62f953294cde143dc"&gt;BLE_GATTC_EVT_ATTR_INFO_DISC_RSP&lt;/a&gt;&amp;nbsp;event will be generated when the attributes have been received, the event structure will contain a &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v7.0.1/structble__gattc__evt__attr__info__disc__rsp__t.html"&gt;ble_gattc_evt_attr_info_disc_rsp_t&lt;/a&gt;&amp;nbsp;that contains your 128-bit UUID. You only need to pass the handle of your connection.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;regards&lt;/div&gt;
&lt;div&gt;Jared&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get the 128-bit UUID of a peer device characteristic</title><link>https://devzone.nordicsemi.com/thread/242201?ContentTypeID=1</link><pubDate>Sat, 28 Mar 2020 07:03:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:203090d2-a2d6-484b-904b-27d8f4f5279d</guid><dc:creator>jimmy</dc:creator><description>&lt;p&gt;&lt;span style="vertical-align:inherit;"&gt;&lt;span style="vertical-align:inherit;"&gt;您好，我需要在连接设备时进行服务发现期间获取对等设备的128位服务UUID。&lt;/span&gt;&lt;span style="vertical-align:inherit;"&gt;在不知道对方拥有什么服务UUID的情况下，请确认这是一个128位服务UUID。&lt;/span&gt;&lt;span style="vertical-align:inherit;"&gt;您说了sd_ble_gattc_attr_info_discover（），该如何使用？&lt;/span&gt;&lt;span style="vertical-align:inherit;"&gt;我发现p_attr_info_disc_rsp_evt中没有数据，何时应该使用sd_ble_gattc_attr_info_discover（）来获取数据。&lt;/span&gt;&lt;span style="vertical-align:inherit;"&gt;我什么时候应该提取数据并期待您的答复。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="vertical-align:inherit;"&gt;&lt;span style="vertical-align:inherit;"&gt;问候&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get the 128-bit UUID of a peer device characteristic</title><link>https://devzone.nordicsemi.com/thread/242062?ContentTypeID=1</link><pubDate>Fri, 27 Mar 2020 10:19:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f77ae8f5-5435-46b9-bea3-659bce33c411</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What kind of characteristics are you trying to discover, Is it a vendor specific one? Could you try calling &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v7.0.1/group___b_l_e___g_a_t_t_c___f_u_n_c_t_i_o_n_s.html?cp=4_6_2_1_2_2_2_0#ga8b7ff74ff996da8340f69c208bfd0ec4"&gt;sd_ble_gattc_attr_info_discover()&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>