<?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>ble_app_template example program - where to find BLE service, characteristics value initialization and definition in code?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50623/ble_app_template-example-program---where-to-find-ble-service-characteristics-value-initialization-and-definition-in-code</link><description>Hi I am using the nRF51 DK and I successfully ran the ble_app_template program from examples\ble_peripheral in SDK v10. Using the nRF connect app I am able to do both read and write values. 
 I want to try creating other services and setting different</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 Aug 2019 08:22:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50623/ble_app_template-example-program---where-to-find-ble-service-characteristics-value-initialization-and-definition-in-code" /><item><title>RE: ble_app_template example program - where to find BLE service, characteristics value initialization and definition in code?</title><link>https://devzone.nordicsemi.com/thread/202760?ContentTypeID=1</link><pubDate>Wed, 07 Aug 2019 08:22:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d764352-9197-401f-9d55-f0333ff54f9b</guid><dc:creator>Jared</dc:creator><description>&lt;ol&gt;
&lt;li&gt;No, you can use any other method of your choice for generating a 128 bit base UUID.&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Yes. The BLE specification doesn&amp;#39;t use names (characters) for identifying services and characteristics but rather UUIDs. In nRF Connect we can identify certain services and characteristic if they use a predefind16 bit UUID (such as the heart rate service) , and certain 128 bit custom UUID (such as NUS). nRF Connect mobile app have the option of displaying a name for a custom service after you&amp;#39;ve connected to the peripheral. The 16 bit UUID you would add to your custom base UUID can be generated as you chose.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_template example program - where to find BLE service, characteristics value initialization and definition in code?</title><link>https://devzone.nordicsemi.com/thread/202730?ContentTypeID=1</link><pubDate>Wed, 07 Aug 2019 06:14:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a7a41b2-21a1-4dd2-951a-6627daff94b5</guid><dc:creator>thoric_fish</dc:creator><description>&lt;p&gt;Hi I followed&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-services-a-beginners-tutorial"&gt;https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-services-a-beginners-tutorial&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The tutorial used nRFgo studio to create&amp;nbsp;and define a 128-bit base UUID. The tutorial also creates a service UUID, and a pointer to the service UUID is used as a function parameter when initializing &amp;amp; adding the new service.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ble_uuid_t        service_uuid;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;ble_uuid128_t     base_uuid = BLE_UUID_OUR_BASE_UUID;
&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;My questions are 1. Is using NRFgo to create the base UUID always necessary?&lt;/p&gt;
&lt;p&gt;2. It seems like&amp;nbsp;we can create a service UUID but we cannot specify the&amp;nbsp;characters&amp;nbsp;of the UUID. Is this correct? Are the service UUID just randomly generated then?&lt;/p&gt;
&lt;p&gt;It also appears that we cannot customize the service handle either.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_template example program - where to find BLE service, characteristics value initialization and definition in code?</title><link>https://devzone.nordicsemi.com/thread/202532?ContentTypeID=1</link><pubDate>Tue, 06 Aug 2019 08:04:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c67870bc-c679-417d-80e5-9cb0c5abd615</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The three services 0x2A00, 0x2A01, and 0x2A04 are three mandatory characteristics of the The Generic Access Service. I suggest that you go through our tutorial on BLE that explains how to change device name and setup a custom service. You can find the tutorial &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy"&gt;here&lt;/a&gt;,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>