<?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>Mac Address of nRF51 on nRF Connect and get in the code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33356/mac-address-of-nrf51-on-nrf-connect-and-get-in-the-code</link><description>I have a confusion about mac address of nrf51822, I run example ble_app_uart . 
 When I use nRF Connect on Android, I can see the mac address of nRF51822 is CB:16:04:4A:10:56 , 
 But when I try to run command sd_ble_gap_address_get(&amp;amp;mac) , I got this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 Apr 2018 08:58:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33356/mac-address-of-nrf51-on-nrf-connect-and-get-in-the-code" /><item><title>RE: Mac Address of nRF51 on nRF Connect and get in the code</title><link>https://devzone.nordicsemi.com/thread/128196?ContentTypeID=1</link><pubDate>Fri, 13 Apr 2018 08:58:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3d3481a-16dc-44dc-a0cb-0ff6ef5f87cb</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The bluetooth address is derived from the registers NRF_FICR-&amp;gt;DEVICEADDR[0] and NRF_FICR-&amp;gt;DEVICEADDR[1].&lt;/p&gt;
&lt;p&gt;Could you post the content of these two registers?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, do you check the return code of the sd_ble_gap_address_get() call? It might be that this is failing for some reason.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>