<?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>master mode can&amp;#39;t find a device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61340/master-mode-can-t-find-a-device</link><description>Hello, 
 I am trying to connect NRF52832 with another Bluetooth module using custom characteristics. I was able to connect two NRF52832 modules but I can&amp;#39;t connect to another module. 
 The module that I am trying to connect have identical 12 and 13 bytes</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 May 2020 14:16:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61340/master-mode-can-t-find-a-device" /><item><title>RE: master mode can't find a device</title><link>https://devzone.nordicsemi.com/thread/249772?ContentTypeID=1</link><pubDate>Wed, 13 May 2020 14:16:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00428ec5-8d75-4fe6-8df1-b615b46eb1d7</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;From this you would need to define 5 UUID bases the way I suggested in the last reply.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: master mode can't find a device</title><link>https://devzone.nordicsemi.com/thread/249762?ContentTypeID=1</link><pubDate>Wed, 13 May 2020 13:56:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b96a7e9-8740-4d0a-912c-b867072b2f29</guid><dc:creator>Mario</dc:creator><description>&lt;p&gt;I do not have 3 services I have one with 4 characteristics two of them are TX and RX&amp;nbsp; and also I do not have the source of the other chip I can only change the source of the nrf52832&amp;nbsp;&lt;/p&gt;
&lt;p&gt;the screenshot is from the second chip(not nrf52832) do not know the manufacture.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/UUIDS.jpg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: master mode can't find a device</title><link>https://devzone.nordicsemi.com/thread/249751?ContentTypeID=1</link><pubDate>Wed, 13 May 2020 13:43:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7453ed4a-3b53-449a-bc5d-7535a4c7c690</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I assume by &amp;quot;Base UUID&amp;quot; here you meant the service UUID ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In your case, you are having 3 base UUIDs. You would need to declare them as 3 different base UUID (in the code the byte endian is reverted):&lt;br /&gt;&lt;span&gt;4953&lt;/span&gt;&lt;strong&gt;0000&lt;/strong&gt;&lt;span&gt;&amp;nbsp;FE7D 4AE5 8FA9 9FAFD205E455&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;4953&lt;strong&gt;0000&lt;/strong&gt;&amp;nbsp;6DAA 4D02 ADF6 19469ACA69FE&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;4953&lt;strong&gt;0000&lt;/strong&gt;&amp;nbsp;ACA3 481C 91EC D85E28A60318&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And in your code you define the Service, TX characteristic, and the RX characteristic all with the same value: 0x5343&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Then you need to add the 3 base UUIDs in using&amp;nbsp;sd_ble_uuid_vs_add(), each of this will give you different uuid_type, use the specific type match with the UUID base when you call&amp;nbsp;sd_ble_gatts_service_add() and sd_ble_gatts_characteristic_add().&amp;nbsp;&lt;br /&gt;This way you will have the UUID matched for each of the service and characteristics.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: master mode can't find a device</title><link>https://devzone.nordicsemi.com/thread/249724?ContentTypeID=1</link><pubDate>Wed, 13 May 2020 12:38:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db9e2f16-d61c-42f1-a760-7fe51774a139</guid><dc:creator>Mario</dc:creator><description>&lt;p&gt;Just to be clear the module is not made by&amp;nbsp;nordic&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: master mode can't find a device</title><link>https://devzone.nordicsemi.com/thread/249712?ContentTypeID=1</link><pubDate>Wed, 13 May 2020 12:10:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:370b7093-f386-47ed-becc-85fb55c7764d</guid><dc:creator>Mario</dc:creator><description>&lt;p&gt;Base UUID&amp;nbsp; - 4953&lt;strong&gt;5343&lt;/strong&gt; FE7D 4AE5 8FA9 9FAFD205E455&lt;br /&gt;RX&amp;nbsp; - 4953&lt;strong&gt;5343&lt;/strong&gt; 6DAA 4D02 ADF6 19469ACA69FE&lt;br /&gt;TX - 4953&lt;strong&gt;5343&lt;/strong&gt; ACA3 481C 91EC D85E28A60318&lt;/p&gt;
&lt;p&gt;(5343) is the 12 13 byte of the UUID&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: master mode can't find a device</title><link>https://devzone.nordicsemi.com/thread/249702?ContentTypeID=1</link><pubDate>Wed, 13 May 2020 11:45:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94aa718e-1aba-4fd9-9092-d0b5668d92e0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Mario,&amp;nbsp;&lt;br /&gt;Could you post the UUID of the TX and RX characteristic (and the service as well) of the module you are connecting to ?&lt;/p&gt;
&lt;p&gt;Note that by spec, the UUID of a characteristic is formed by the Base UUID and only byte 12 and 13 is customized by a 16 bit UUID. So it&amp;#39;s not suggested to have a customized UUID that doesn&amp;#39;t follow this rule.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>