<?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>Central scanning for 128 bit uuid service</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1989/central-scanning-for-128-bit-uuid-service</link><description>Using the S120 soft-device in the Central role, there does not appear to be an
example or documentation describing how to scan for a 128 bit UUID service. 
 Has anyone tried it? 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Sep 2014 21:08:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1989/central-scanning-for-128-bit-uuid-service" /><item><title>RE: Central scanning for 128 bit uuid service</title><link>https://devzone.nordicsemi.com/thread/8531?ContentTypeID=1</link><pubDate>Thu, 25 Sep 2014 21:08:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:794c49ed-faa4-4d52-be79-e3a5982d1423</guid><dc:creator>Andrew Livick</dc:creator><description>&lt;p&gt;I am having a similar issue, as I am pretty much doing exactly what you have said by altering the S120 ble_app_hrs_c example app. When I find that the 128 bit UUID is a match for the advertised one I do the following:
sd_ble_gap_connect(&amp;amp;p_gap_evt-&amp;gt;params.adv_report.&lt;br /&gt;
peer_addr,
&amp;amp;m_scan_param,
&amp;amp;m_connection_param);
But it seems to still be using the 16 bit UUID for the heart rate service. I am not sure how to change this as I don&amp;#39;t want to be altering the code that is in the SDK, but rather the code in this project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Central scanning for 128 bit uuid service</title><link>https://devzone.nordicsemi.com/thread/8530?ContentTypeID=1</link><pubDate>Thu, 27 Mar 2014 16:37:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4d12792-47f6-4a6e-8b9d-5075ca544b84</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;There is currently no example of doing this, but it shouldn&amp;#39;t be very tricky to do on your own. Summarized, you&amp;#39;d have to do this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Start scanning, making sure to use active scanning if the target device has the UUID in the scan response.&lt;/li&gt;
&lt;li&gt;Receive a BLE_GAP_EVT_ADV_REPORT, containing the advertising data.&lt;/li&gt;
&lt;li&gt;Look through the advertising data for the field BLE_GAP_AD_TYPE_128BIT_SERVICE_UUID_MORE_AVAILABLE or BLE_GAP_AD_TYPE_128BIT_SERVICE_UUID_COMPLETE.&lt;/li&gt;
&lt;li&gt;Look at the data of this field, and compare it with whichever value you were looking for.&lt;/li&gt;
&lt;li&gt;If the comparison succeeds, do a connect with this device.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>