<?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>Connecting to nRF52480-Dk from Xbee3</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70099/connecting-to-nrf52480-dk-from-xbee3</link><description>I&amp;#39;m trying to figure out why my Xbee3 module can&amp;#39;t connect to my nRF52480 app. I built the app using SDK 7.2.0 and Segger and it runs great. I can connect to it from nRF tools on either my PC or my android phone. I can explore characteristics, read, write</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 Jan 2021 11:04:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70099/connecting-to-nrf52480-dk-from-xbee3" /><item><title>RE: Connecting to nRF52480-Dk from Xbee3</title><link>https://devzone.nordicsemi.com/thread/288353?ContentTypeID=1</link><pubDate>Mon, 11 Jan 2021 11:04:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:826e8381-6aaa-4d6a-aaaa-1781b25e00d5</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;You welcome, the best of luck with your project &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connecting to nRF52480-Dk from Xbee3</title><link>https://devzone.nordicsemi.com/thread/287809?ContentTypeID=1</link><pubDate>Wed, 06 Jan 2021 22:44:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20bc053f-a66d-466e-b7cd-94baa9706005</guid><dc:creator>wz2b</dc:creator><description>&lt;p&gt;Thank you very much for explaining ... I will do as you suggest and locate devices by the Service UUID.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connecting to nRF52480-Dk from Xbee3</title><link>https://devzone.nordicsemi.com/thread/287743?ContentTypeID=1</link><pubDate>Wed, 06 Jan 2021 13:57:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c2c2fe2-6183-4ca5-91e5-62b269279c56</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;By default the SoftDevice will generate a static random address based on the &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/ficr.html?cp=4_0_0_3_3_0_6#register.DEVICEADDR-0-1"&gt;DEVICEADDR&lt;/a&gt; registers in the FICR, which are random numbers programmed into each nRF device in production.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It is true that you should not use the BLE address to identify a device, unless it is a device you have already established a bonded relationship to. Most applications identify devices based on a service UUID,&amp;nbsp;which is either a 16-bit number (for standard BLE services) or a 128-bit number (for proprietary services).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connecting to nRF52480-Dk from Xbee3</title><link>https://devzone.nordicsemi.com/thread/287554?ContentTypeID=1</link><pubDate>Tue, 05 Jan 2021 15:03:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e527170-2b90-45fd-8833-760b7faba037</guid><dc:creator>wz2b</dc:creator><description>&lt;p&gt;Where is the default gap address set?&amp;nbsp; I can&amp;#39;t find any calls to&amp;nbsp;&lt;span&gt;sd_ble_gap_addr_&lt;/span&gt;&lt;span&gt;set() in the project.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connecting to nRF52480-Dk from Xbee3</title><link>https://devzone.nordicsemi.com/thread/287550?ContentTypeID=1</link><pubDate>Tue, 05 Jan 2021 14:55:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe0629bd-39f4-41ae-bb6c-291f8b33b64c</guid><dc:creator>wz2b</dc:creator><description>&lt;p&gt;OK.&amp;nbsp; I figured this out.&amp;nbsp; The problem was that I was making a connection using PUBLIC rather than RANDOM.&amp;nbsp; This works:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; conn=ble.gap_connect(ble.ADDR_TYPE_RANDOM, binascii.unhexlify(&amp;quot;F64D1D24B0E6&amp;quot;), timeout_ms=5000)&lt;/p&gt;
&lt;p&gt;I did not understand that PUBLIC and RANDOM are more or less two distinct addresses spaces.&amp;nbsp; I don&amp;#39;t know how the SDK chooses the &amp;#39;random&amp;#39; address or if I need to be concerned about this.&amp;nbsp; I don&amp;#39;t want the device changing addresses.&amp;nbsp; Is the idea that you aren&amp;#39;t supposed to locate the device based on the address, but, rather, based on the services offered?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connecting to nRF52480-Dk from Xbee3</title><link>https://devzone.nordicsemi.com/thread/287511?ContentTypeID=1</link><pubDate>Tue, 05 Jan 2021 13:01:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4466e22-bd2b-4f20-810d-5cb774ab71d8</guid><dc:creator>wz2b</dc:creator><description>&lt;p&gt;No worries.&amp;nbsp; Yeah, the connect code is trivial:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="python"&gt;conn=ble.gap_connect(ble.ADDR_TYPE_PUBLIC, binascii.unhexlify(&amp;quot;dc8ffb68a2dc&amp;quot;), timeout_ms=5000)
# returns: OSError: [Errno 7110] ETIMEDOUT&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;that binascii library call just turns the string into a &amp;quot;bytes&amp;quot; object.&amp;nbsp; So using that, I can connect to many BLE devices around my house including my Anova precision cooker, my weather station, and others ... but not my nRF project.&amp;nbsp; However, nRF tools can connect to my device just fine.&amp;nbsp; So something about the Xbee is being fussy connecting to the nRF52480 project.&amp;nbsp; I&amp;#39;m mainly looking for ideas on what my nRF project might be missing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connecting to nRF52480-Dk from Xbee3</title><link>https://devzone.nordicsemi.com/thread/287361?ContentTypeID=1</link><pubDate>Tue, 05 Jan 2021 01:47:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d51155c-c506-4a1e-8c66-ccda22b35ed3</guid><dc:creator>Henry_Chou</dc:creator><description>&lt;p&gt;Xbee is the Zigbee end-device ,router or coordinator. Your code using NRF52840DK is the ble base of peripheral. How can a ble peripheral device connect to the Xbee(Zigbee)?&lt;/p&gt;
&lt;p&gt;Sorry! After I search Xbee3 , I am wrong in my statement.The new one Xbee3 can support BLE by firmware. So.... I doubt that it&amp;#39;s there any troubles in your Xbee3 code for central mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>