<?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 add a name to a custom service ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54/how-add-a-name-to-a-custom-service</link><description>Is there a way to broadcast the service name in addition to service UUID in a custom service? 
 How can I add it to service structure ?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 Aug 2014 03:42:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54/how-add-a-name-to-a-custom-service" /><item><title>RE: How add a name to a custom service ?</title><link>https://devzone.nordicsemi.com/thread/290?ContentTypeID=1</link><pubDate>Mon, 11 Aug 2014 03:42:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ec2ff6f-41d1-4733-aa70-b43df981858f</guid><dc:creator>kb</dc:creator><description>&lt;p&gt;Joe,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m curious about your approach. Can you share a code snippet? Are you saying that the descriptor name cannot be read at all in Anrdoid/iOS, or is it just when using the Nordic app?&lt;/p&gt;
&lt;p&gt;-K&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How add a name to a custom service ?</title><link>https://devzone.nordicsemi.com/thread/289?ContentTypeID=1</link><pubDate>Wed, 28 May 2014 17:41:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd69f2a4-dc16-4761-9bbf-78727f56c27a</guid><dc:creator>Joe Merten</dc:creator><description>&lt;p&gt;I tried to p_char_user_desc pointed to a string, but not Android nRF Mcp nor iOS Lightblue shows that characteristic name.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How add a name to a custom service ?</title><link>https://devzone.nordicsemi.com/thread/288?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2013 04:49:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6d33d2b-4625-4d33-8e24-07603782387f</guid><dc:creator>Guest</dc:creator><description>&lt;p&gt;Thanks Carles.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How add a name to a custom service ?</title><link>https://devzone.nordicsemi.com/thread/287?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2013 16:59:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2fff6b9-bffa-40dd-98da-fa9e88c7e346</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;Two comments on this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;The advertisement data Service UUIDs are supported by the SoftDevice and you can include those when calling sd_ble_gap_adv_data_set(), you would need to use one of the BLE_GAP_AD_TYPE_xxBIT_SERVICE_UUID adv data types in the buffer provided.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Although you cannot name a service, you can associate a UTF-8 string with a characteristic, which is provided to the sd_ble_gatts_characteristic_add() via theses fields in ble_gatts_char_md_t:&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;p_char_user_desc
char_user_desc_max_size
char_user_desc_size&lt;/p&gt;
&lt;p&gt;Carles&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How add a name to a custom service ?</title><link>https://devzone.nordicsemi.com/thread/285?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2013 13:24:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4875029e-fe55-45f4-91fd-137dec980e0d</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;Yes, that is correct. I&amp;#39;m not aware of any way you can get anything else than unknown there for custom services.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How add a name to a custom service ?</title><link>https://devzone.nordicsemi.com/thread/286?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2013 13:23:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d9e0125-af1b-4645-82a1-8edd5cec2f5b</guid><dc:creator>cocoa</dc:creator><description>&lt;p&gt;OS when founds a service, in NSDictionary write kCBAdvDataServiceUUIDs as unknown + .&lt;/p&gt;
&lt;p&gt;So, &amp;quot;Unknown&amp;quot; is, at this point, from iOS and not from nRF51822 broadcasted data.&lt;/p&gt;
&lt;p&gt;Is it correct ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How add a name to a custom service ?</title><link>https://devzone.nordicsemi.com/thread/284?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2013 13:16:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1aa430da-b39a-4312-bd80-3974781179d1</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;There isn&amp;#39;t a name attached to any BLE service, so identifying a service by name isn&amp;#39;t really possible in any standardized way, without the Central reading the name based on UUID from somewhere else.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>