<?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>SERVICE SOLICITATION</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/31257/service-solicitation</link><description>In the broadcast field, what is the difference between &amp;quot;SERVICE SOLICITATION&amp;quot;, &amp;quot;SERVICE UUID&amp;quot; and &amp;quot; SERVICE DATA &amp;quot;? What does it do? In what scene?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Feb 2019 09:51:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/31257/service-solicitation" /><item><title>RE: SERVICE SOLICITATION</title><link>https://devzone.nordicsemi.com/thread/172061?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 09:51:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffae405d-a997-44f8-a167-2e3ceb4ab19e</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;The&amp;nbsp;&lt;span&gt;BLE_GAP_AD_TYPE_SOLICITED_SERVICE_UUIDS_128BIT&amp;nbsp;is used for the 128 bit custom services. Does not seem that it is used &lt;a href="https://stackoverflow.com/questions/51298218/service-solicitation-advertising-data-in-bluetooth-low-energy"&gt;all too much though&lt;/a&gt;. Seems like it may be used for background scanning on iOS devices, so in this example it may be required. See the &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/ble_sdk_app_ancs"&gt;doc here&lt;/a&gt; for more info.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SERVICE SOLICITATION</title><link>https://devzone.nordicsemi.com/thread/171282?ContentTypeID=1</link><pubDate>Fri, 15 Feb 2019 07:01:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05b265d2-c299-474c-b183-c52db2aa3ec1</guid><dc:creator>Jim</dc:creator><description>&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I saw in the ble_app_ancs_c routine, the broadcast initialization function has the following definition：&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; init.advdata.uuids_solicited.uuid_cnt = sizeof(m_adv_uuids) / sizeof(m_adv_uuids[0]);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; init.advdata.uuids_solicited.p_uuids = m_adv_uuids;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; In the above usage scenario, what is the definition of the &amp;quot;BLE_GAP_AD_TYPE_SOLICITED_SERVICE_UUIDS_128BIT &amp;quot; field in the broadcast data? Is it necessary?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SERVICE SOLICITATION</title><link>https://devzone.nordicsemi.com/thread/123562?ContentTypeID=1</link><pubDate>Fri, 09 Mar 2018 08:16:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac4ebc6f-3429-4b4b-8f9b-39f4befdfc82</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The Service UUID is the main&amp;nbsp;way a device is able to identify a particular service. This can either be a 16 bit service UUID for predefined Bluetooth SIG services (e.g. heart rate service UUID = 0x180D) or a 128-bit custom service. (aka vendor specific UUID). See &lt;a href="https://www.bluetooth.com/specifications/bluetooth-core-specification" target="_blank" rel="noopener noreferrer"&gt;Bluetooth Core Specifications Version 5.0&lt;/a&gt;&amp;nbsp;or the &lt;a href="https://devzone.nordicsemi.com/support-private/support/201755/services%20tutorial" target="_blank" rel="noopener noreferrer"&gt;services tutorial&lt;/a&gt;&amp;nbsp;for more info.&lt;/p&gt;
&lt;p&gt;I believe what you mean by service data can be summarized by this struct, which can be found in ble_advdata.h (e.g. in sdk 14.2 ble_app_blinky example)&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/**@brief Service data structure. */
typedef struct
{
    uint16_t                     service_uuid;                        /**&amp;lt; Service UUID. */
    uint8_array_t                data;                                /**&amp;lt; Additional service data. */
} ble_advdata_service_data_t;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This struct contains both the service_uuid which I mentioned previously &amp;amp; extra service data.&lt;/p&gt;
&lt;p&gt;Could you explain what you mean by SERVICE SOLICATION? Are you referring to a specific variable, such as&amp;nbsp;BLE_GAP_AD_TYPE_SOLICITED_SERVICE_UUIDS_16BIT or&amp;nbsp;BLE_GAP_AD_TYPE_SOLICITED_SERVICE_UUIDS_128BIT or something else?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>