<?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>Questions related to UUID</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61243/questions-related-to-uuid</link><description>I am developing a robot controller(Central, nRF51822). 
 However, I am having a problem with UUID. 
 And I am using the ble_central (s130 ble_app_uart) example. 
 The figure below shows the UUID information of the robot to be controlled. 
 
 
 
 
 But</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 May 2020 08:11:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61243/questions-related-to-uuid" /><item><title>RE: Questions related to UUID</title><link>https://devzone.nordicsemi.com/thread/249362?ContentTypeID=1</link><pubDate>Tue, 12 May 2020 08:11:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:729c1080-432f-467f-9bfa-a1dd9cdd2d21</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Shinyc,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please study the&amp;nbsp;&lt;span&gt;ble_app_uart_c example. You need to get to know how the example uses NUS_BASE_UUID&amp;nbsp;as the base UUID and combine with&amp;nbsp;BLE_UUID_NUS_SERVICE and&amp;nbsp;BLE_UUID_NUS_RX_CHARACTERISTIC&amp;nbsp;and&amp;nbsp;BLE_UUID_NUS_TX_CHARACTERISTIC&amp;nbsp;to match with the UUID that you see in nRF Connect.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please be aware that the service and characteristic of a profile usually share the same UUID base, and only byte 13 and 14 are different. In your case you have byte 01 are different. This meant that you don&amp;#39;t have the same UUID base and it&amp;#39;s wrong. You should have them share the same UUID base, and only byte 13 and 14 are different for service and characteristics UUID.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions related to UUID</title><link>https://devzone.nordicsemi.com/thread/249323?ContentTypeID=1</link><pubDate>Tue, 12 May 2020 01:16:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b53f10e6-7b89-48b6-a312-57da559808d7</guid><dc:creator>shinyc</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;Thank you for the reply.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You don&amp;#39;t seem to understand my question. (Or maybe it&amp;#39;s something I didn&amp;#39;t understand....)&lt;/p&gt;
&lt;p&gt;The screenshot below(nRF Connect App) and UUID is the information of the robot I want to control.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/KakaoTalk_5F00_20200512_5F00_094720520.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;-Unknown Servie UUID :&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8903136C-5F13-4548-A885-C5877913670&lt;strong&gt;1&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Unknown Characteristic UUID : 8903136C-5F13-4548-A885-C5877913670&lt;strong&gt;2&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Unknown Characteristic UUID : 8903136C-5F13-4548-A885-C5877913670&lt;strong&gt;3&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;(As you can see, only the first BYTE value is different.)&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;-----------------------------------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;And when analyzed with wireshark, the following results were obtained.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/6765.1.png" /&gt;&lt;/p&gt;
&lt;p&gt;1)&amp;nbsp;The screenshot above is when controlling the LED of the robot.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And the following UUID is used.&lt;/p&gt;
&lt;p&gt;-service UUID : &lt;span&gt;8903136C-5F13-4548-A885-C5877913670&lt;/span&gt;&lt;strong&gt;1&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;-UUID :&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 8903136C-5F13-4548-A885-C5877913670&lt;b&gt;3&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/0005.2.png" /&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;2)&amp;nbsp;The screenshot above is when controlling the Motor of the robot.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And the following UUID is used.&lt;/p&gt;
&lt;p&gt;-service UUID :&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;8903136C-5F13-4548-A885-C5877913670&lt;/span&gt;&lt;strong&gt;1&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;-UUID :&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;8903136C-5F13-4548-A885-C5877913670&lt;b&gt;2&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;(If I try to control the motor and use the UUID required for LED control, I cannot control the motor.)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;----------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I want to control this robot using a controller (Central).&lt;/p&gt;
&lt;p&gt;However, in the ble_central (s130, ble_app_uart) example, I can&amp;#39;t figure out what to fix.&lt;/p&gt;
&lt;p&gt;Please tell me this part.&lt;/p&gt;
&lt;p&gt;Thank you very much.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions related to UUID</title><link>https://devzone.nordicsemi.com/thread/249213?ContentTypeID=1</link><pubDate>Mon, 11 May 2020 13:49:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65eae057-94e7-4648-af1a-2b124d2957a9</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Shinyc,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes you need to either modify the&amp;nbsp;NUS_BASE_UUID base and the&amp;nbsp;BLE_UUID_NUS_SERVICE,&amp;nbsp;BLE_UUID_NUS_RX_CHARACTERISTIC to match with your own UUID of the robot. Or declare your own base UUID and then use it in the central code.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;It should be something like:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;ROBOT_BASE_UUID&amp;nbsp; {{0x01,0x67,0x13 ....&amp;nbsp; ,0x5F, 0x00,0x00, 0x03, 0x89}}&lt;/p&gt;
&lt;p&gt;And the Service UUID will be: 0x13bc and characteristic will be something else (in your screen shot the characteristic and the service have the same UUID which is wrong)&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>