<?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>How can I get the mac adress of my chip from main code?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1521/how-can-i-get-the-mac-adress-of-my-chip-from-main-code</link><description>Can not find the mac adress related information from the PS or RM doc. Need your help!</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Jul 2017 06:47:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1521/how-can-i-get-the-mac-adress-of-my-chip-from-main-code" /><item><title>RE: How can I get the mac adress of my chip from main code?</title><link>https://devzone.nordicsemi.com/thread/6753?ContentTypeID=1</link><pubDate>Mon, 10 Jul 2017 06:47:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e53134a1-9e2c-44dc-83c4-3b050df81b21</guid><dc:creator>frogofmagic</dc:creator><description>&lt;p&gt;Because sd_ble_gap_address_get() read from NRF_FICR-&amp;gt;DEVICEADDR, if you change to&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;uint64_t deviceId = ((uint64_t)NRF_FICR-&amp;gt;DEVICEADDR[1] &amp;lt;&amp;lt; 32) | 0xC00000000000 | ((uint64_t)NRF_FICR-&amp;gt;DEVICEADDR[0]);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You will get the same data as sd_ble_gap_address_get().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I get the mac adress of my chip from main code?</title><link>https://devzone.nordicsemi.com/thread/6752?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2015 14:43:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45ac8918-206f-403a-966e-91d3ecfe74b7</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;How about using:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;uint64_t deviceId = ((uint64_t)NRF_FICR-&amp;gt;DEVICEID[1] &amp;lt;&amp;lt; 32) | ((uint64_t)NRF_FICR-&amp;gt;DEVICEID[0]);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Is it deprecated, or is it some other address? In my all applications I am using this method, and the address is different than address returned by sd_ble_gap_address_get()&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I get the mac adress of my chip from main code?</title><link>https://devzone.nordicsemi.com/thread/6751?ContentTypeID=1</link><pubDate>Wed, 05 Feb 2014 10:03:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:005dde28-43a5-4603-b605-d72452730daf</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;If you want to read out the Bluetooth address used by the chip, you can use the function sd_ble_gap_address_get(), defined in ble_gap.h.&lt;/p&gt;
&lt;p&gt;Edit: Not tx_address, just address.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>