<?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>Programming the nRF51822 beacon kit.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26631/programming-the-nrf51822-beacon-kit</link><description>I am struggling to find a starting point to be able to program the beacons. I&amp;#39;m completely new to this but want to be able to change the tx power so that they are only visible within a meter of the receiver. Failing that, increase the power so that I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Nov 2017 09:44:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26631/programming-the-nrf51822-beacon-kit" /><item><title>RE: Programming the nRF51822 beacon kit.</title><link>https://devzone.nordicsemi.com/thread/104766?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2017 09:44:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8876c702-ee54-47d0-aefb-c830c14c1e2c</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi alidaf!&lt;/p&gt;
&lt;p&gt;There is a blog-post about &lt;a href="https://devzone.nordicsemi.com/blogs/686/programming-the-nrf51822-beacon-kit-with-the-nrf51/"&gt;programming the nRF51822 beacon kit&lt;/a&gt; using the nRF51 DK.&lt;/p&gt;
&lt;p&gt;You can change the radio&amp;#39;s transmit power by using the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.api.v1.0.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html#ga0f1931af876bef39520c58de5ac060ca"&gt;sd_ble_gap_tx_power_set()&lt;/a&gt; function.&lt;/p&gt;
&lt;p&gt;You can change the tx power in your main.c file. I would change it about the same time as the advertising is started.
If you reduce the tx power after a connection is established, the device might not be able to maintain the connection.&lt;/p&gt;
&lt;p&gt;In keil, you can compile your code by pressing this button:&lt;br /&gt;
&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6661.button.PNG" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;Or by pressing F7.&lt;/p&gt;
&lt;p&gt;Once compiled, you use nRFGo Studio to program the application and the softdevice.&lt;/p&gt;
&lt;p&gt;Let me know if you have any more questions.&lt;br /&gt;
Best regards,&lt;br /&gt;
Joakim.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>