<?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>Set public address(MAC) without BLE stack</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7527/set-public-address-mac-without-ble-stack</link><description>I am trying to write a radio code without using BLE stack here i was able to write down code for initialization of radio and was advertising some random packets. But how should i debug to know that am i advertising correctly or not. I tried to use sniffer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 Jun 2015 13:45:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7527/set-public-address-mac-without-ble-stack" /><item><title>RE: Set public address(MAC) without BLE stack</title><link>https://devzone.nordicsemi.com/thread/26819?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2015 13:45:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d2e1f8a-1d6c-4486-a01c-fca026b6759d</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;Hi again,&lt;/p&gt;
&lt;p&gt;To set the MAC address you must populate the beacon_init.beacon_addr.addr struct which is done by the piece of code I linked above.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set public address(MAC) without BLE stack</title><link>https://devzone.nordicsemi.com/thread/26818?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2015 13:07:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8bc966f-0d41-461c-810a-8ff8f4e08aaf</guid><dc:creator>jayesh</dc:creator><description>&lt;p&gt;Here my goal is to continuously  advertise on three advertising channels.So i only initialized 2 things Timer and Radio. Now i have Initialized radio, adv packets, and adv channels funtions. Now on which registers or function should i enter above MAC address values so during advertising of the device i can see MAC address.
JAyesh&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set public address(MAC) without BLE stack</title><link>https://devzone.nordicsemi.com/thread/26817?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2015 12:50:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:535d7f39-5be8-40fd-875c-66fc2cfd8c21</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;Hi again,&lt;/p&gt;
&lt;p&gt;You can implement the sd_ble_gap_adress_get() without using the BLE stack like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;// BLE_GAP_ADDR_TYPE_RANDOM_STATIC = 1.
    beacon_init.beacon_addr.addr_type = BLE_GAP_ADDR_TYPE_RANDOM_STATIC;
    beacon_init.beacon_addr.addr[0] = (uint8_t)NRF_FICR-&amp;gt;DEVICEADDR[0];
    beacon_init.beacon_addr.addr[1] = (uint8_t)(NRF_FICR-&amp;gt;DEVICEADDR[0]&amp;gt;&amp;gt;8);
    beacon_init.beacon_addr.addr[2] = (uint8_t)(NRF_FICR-&amp;gt;DEVICEADDR[0]&amp;gt;&amp;gt;16);
    beacon_init.beacon_addr.addr[3] = (uint8_t)(NRF_FICR-&amp;gt;DEVICEADDR[0]&amp;gt;&amp;gt;24);
    
    beacon_init.beacon_addr.addr[4] = (uint8_t)NRF_FICR-&amp;gt;DEVICEADDR[1];
    //2 MSBit must be &amp;#39;11&amp;#39; for RANDOM_STATIC, see Corespec v4.0, Vol 3, Part C, chapter 10.8
    beacon_init.beacon_addr.addr[5] = (uint8_t)(NRF_FICR-&amp;gt;DEVICEADDR[1]&amp;gt;&amp;gt;8) | 0xC0;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Hopefully this answers your question&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set public address(MAC) without BLE stack</title><link>https://devzone.nordicsemi.com/thread/26816?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2015 11:25:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf82303f-98d4-4087-a28b-c969ae34c7c9</guid><dc:creator>jayesh</dc:creator><description>&lt;p&gt;ya i was able to get radio initialization,but my question remains,  here i am not able to set MAC address  without stack code i could only set by using  sd_ble_gap_address_get  which is called in beacon_adv_init funtion which is generally a stack call right.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set public address(MAC) without BLE stack</title><link>https://devzone.nordicsemi.com/thread/26815?ContentTypeID=1</link><pubDate>Tue, 09 Jun 2015 13:42:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc650b5a-7df4-47b6-91b4-f7867d2b5039</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;This is using a timeslot between events where it sets up the radio as an advertiser without using the BLE stack.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set public address(MAC) without BLE stack</title><link>https://devzone.nordicsemi.com/thread/26814?ContentTypeID=1</link><pubDate>Tue, 09 Jun 2015 13:39:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0088bc7d-f3fb-4ea1-a2e3-3d705a3c00dd</guid><dc:creator>jayesh</dc:creator><description>&lt;p&gt;But this must be using BLE stack right... and i want to develop without BLE stack&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set public address(MAC) without BLE stack</title><link>https://devzone.nordicsemi.com/thread/26813?ContentTypeID=1</link><pubDate>Tue, 09 Jun 2015 13:27:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06e527f8-6c2b-444f-b6c5-39f2b7e88aba</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;Hi, the sample code is found in the &lt;a href="https://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/"&gt;SDK&lt;/a&gt;, extract this and navigate to (&amp;quot;..\examples\experimental_ble_app_multiactivity_beacon\hrs_advertiser\pca10028\s110\arm5_no_packs&amp;quot;) where you will find the Keil project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set public address(MAC) without BLE stack</title><link>https://devzone.nordicsemi.com/thread/26812?ContentTypeID=1</link><pubDate>Tue, 09 Jun 2015 13:25:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b26765a-2a8f-49d2-ab4d-cb891d7fb23d</guid><dc:creator>jayesh</dc:creator><description>&lt;p&gt;Can you give me the link for that sample code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set public address(MAC) without BLE stack</title><link>https://devzone.nordicsemi.com/thread/26811?ContentTypeID=1</link><pubDate>Tue, 09 Jun 2015 13:20:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f6176fe-dd15-4705-975f-4b98dcdf9e82</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can see how it is done in advertiser_beacon.c in the hrs_advertiser example from &lt;a href="https://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/"&gt;SDK 8.1&lt;/a&gt;. (&amp;quot;..\examples\experimental_ble_app_multiactivity_beacon\hrs_advertiser....&amp;quot;) Particularly the radio configuration part should be interesting.&lt;/p&gt;
&lt;p&gt;If you have a spectrum analyzer or a software defined radio available you can check the spectrum for any impact when transmitting, note that this might be difficult due to WiFi or other in-band noise.
Hopefully this answers your question.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>