<?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>Gazell MAC Address</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/4306/gazell-mac-address</link><description>Is there a similar way tot get the radio&amp;#39;s MAC address when using Gazell only (no BLE)? 
 In SoftDevice there is a &amp;quot;sd_ble_gap_address_get()&amp;quot; function call.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Nov 2014 18:18:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/4306/gazell-mac-address" /><item><title>RE: Gazell MAC Address</title><link>https://devzone.nordicsemi.com/thread/15335?ContentTypeID=1</link><pubDate>Tue, 04 Nov 2014 18:18:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c235477a-8d0b-4466-99a7-03c8855de451</guid><dc:creator>Rick.Soza</dc:creator><description>&lt;p&gt;Thank you very much!  Exactly what I was looking for.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Gazell MAC Address</title><link>https://devzone.nordicsemi.com/thread/15334?ContentTypeID=1</link><pubDate>Tue, 04 Nov 2014 18:09:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e3e0bda-ba44-4cdd-a2ac-85814a669290</guid><dc:creator>Audun</dc:creator><description>&lt;p&gt;Yes, there are several such identifiers.
The BLE address used by the softdevices is based on a random number that is programmed into the chip during manufacturing. You can use this 48-bit value regardless of gazell or softdevice.&lt;/p&gt;
&lt;p&gt;There&amp;#39;s also a 64-bit device ID (also programmed during manufacturing) that can be used for this purpose.&lt;/p&gt;
&lt;p&gt;Both these numbers are found in the Factory Information Configuration Register (FICR). See section 6 of the nRF51 Reference Manual.  Specifically look for the DEVICEID and DEVICEADDR registers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Gazell MAC Address</title><link>https://devzone.nordicsemi.com/thread/15333?ContentTypeID=1</link><pubDate>Tue, 04 Nov 2014 17:54:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9af65a9d-68fe-4e0f-ada9-f67f49222348</guid><dc:creator>Rick.Soza</dc:creator><description>&lt;p&gt;I don&amp;#39;t really want to get and set the address for gazell.  I understand how those addresses are used.&lt;/p&gt;
&lt;p&gt;What I actually want to do with the MAC address is use it is as a unique identifier, instead of creating my own serial number for the device.  If there is already a unique random number that is generated at manufacturing of the silicon then I&amp;#39;d like to leverage number as a way of tracking the final product.&lt;/p&gt;
&lt;p&gt;So to rephrase my question.  Regardless of gazell or softdevice, is the radio&amp;#39;s random 6 byte MAC address available via registers to read from the nRF51822?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Gazell MAC Address</title><link>https://devzone.nordicsemi.com/thread/15332?ContentTypeID=1</link><pubDate>Tue, 04 Nov 2014 13:14:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed124ee4-e578-4aec-8837-2fe98dc3e661</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The RF address in bluetooth (MAC) is different from the RF address in gazell, in terms of the length and build-up.&lt;/p&gt;
&lt;p&gt;To get/set the RF address in gazell, you need to use the functions given by the gazell API:
&lt;a href="http://developer.nordicsemi.com/nRF51_SDK/doc/7.0.0/s110/html/a00955.html#ga727c1fc05596389f0f36c03cca277813"&gt;developer.nordicsemi.com/.../a00955.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here are the functions you&amp;#39;re looking for (snippet from nrf_gzll.h):&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/**
 * @brief Set the base address for pipe 0.
 *
 * The full on-air address for each pipe is composed of a multi-byte base address
 * prepended to a prefix byte.
 *
 * For packets to be received correctly, the most significant byte of 
 * the base address should not be an alternating sequence of 0s and 1s i.e. 
 * it should not be 0x55 or 0xAA. 
 *
 * @param base_address The 4 byte base address. All bytes are used.
 *
 * @retval true  If the parameter was set.
 * @return false If Gazell was enabled.
 */
bool nrf_gzll_set_base_address_0(uint32_t base_address);


/**
 * @brief Get function counterpart to nrf_gzll_set_base_address_0().
 *
 * @return Base address 0.
 */
uint32_t nrf_gzll_get_base_address_0(void);


/**
 * @brief Set the base address for pipes 1-7.
 *
 * Pipes 1 through 7 share base_address_1. @sa nrf_gzll_set_base_address_0.
 *
 * @param base_address The 4 byte base address.
 *
 * @retval true  If the parameter was set.
 * @retval false If Gazell was enabled.
 */
bool nrf_gzll_set_base_address_1(uint32_t base_address);


/**
 * @brief Get function counterpart to nrf_gzll_set_base_address_1().
 *
 * @return Base address 1.
 */
uint32_t nrf_gzll_get_base_address_1(void);


/**
 * @brief Set the address prefix byte for a specific pipe.
 *
 * Each pipe should have its own unique prefix byte. 
 *
 * @param pipe                The pipe that the address should apply to.
 *                            This value must be &amp;lt; NRF_GZLL_CONST_PIPE_COUNT. 
 * @param address_prefix_byte The address prefix byte.
 *
 * @retval true  If the parameter was set.
 * @retval false If Gazell was enabled, or if the pipe was invalid.
 */
bool nrf_gzll_set_address_prefix_byte(uint32_t pipe, uint8_t address_prefix_byte);


/**
 * @brief Get function counterpart to nrf_gzll_set_address_prefix_byte().
 *
 * @param pipe                    The pipe for which to get the address.
 *                                This value must be &amp;lt; NRF_GZLL_CONST_PIPE_COUNT.
 * @param out_address_prefix_byte The pointer in which to return the 
 *                                address prefix byte.
 * 
 * @retval true If the parameter was returned.
 * @retval false If Gazell was enabled, the pipe was invalid or 
 *               out_address was a NULL pointer.
 */
bool nrf_gzll_get_address_prefix_byte(uint32_t pipe, uint8_t* out_address_prefix_byte);
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>