<?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>Get Tx Power Field NRF52832 Beacon</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35035/get-tx-power-field-nrf52832-beacon</link><description>Hi everyone, 
 I changed the example ble_app_beacon from sdk 15.0.0 sd132 to be able to scan beacon besides transmit. It works well to scan beacons and I can get their UUID&amp;#39;s. But I need to read the tx power reference at 1 meter sended by the Smartphone</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Jun 2018 01:53:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35035/get-tx-power-field-nrf52832-beacon" /><item><title>RE: Get Tx Power Field NRF52832 Beacon</title><link>https://devzone.nordicsemi.com/thread/134629?ContentTypeID=1</link><pubDate>Tue, 05 Jun 2018 01:53:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a72bd68-01b7-44e6-a456-53715e4d9c79</guid><dc:creator>jeremias_cis</dc:creator><description>&lt;p&gt;Hi folks, I solved my problem.&lt;/p&gt;
&lt;p&gt;The problem was just&amp;nbsp;the size of the buffer I declare: uint8_t uuid[26] at line 191;&lt;/p&gt;
&lt;p&gt;Wen I copy the UUID to the buffer at line 213, the size &lt;span&gt;p_gap_evt-&amp;gt;params.adv_report.data.len indicate 27 bytes. But because my buffer have only 26 bytes the last position isn&amp;#39;t copied. And this last position have the tx_power value that is exactly I want.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I hope this help others.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get Tx Power Field NRF52832 Beacon</title><link>https://devzone.nordicsemi.com/thread/134607?ContentTypeID=1</link><pubDate>Mon, 04 Jun 2018 16:01:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b10e0e4e-b0ab-4a01-b3f7-7bab921d5a3e</guid><dc:creator>jeremias_cis</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;Thank you for your quick response.&lt;/p&gt;
&lt;p&gt;The tx power I mentioned is a value sended by a peripheral device (the Smartphone in this case) that is used to calibrate purposes and estimate the distance between a central (&lt;span&gt;NRF52 DK&lt;/span&gt;) and peripheral devices. Some beacon apps let you change this value like the picture I attached, but I cant see this value on the central side (NRF52 DK). I can read the UUID, Major and Minor values without problems.&lt;/p&gt;
&lt;p&gt;If you need more information please let me know.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Sem-t_ED00_tulo.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get Tx Power Field NRF52832 Beacon</title><link>https://devzone.nordicsemi.com/thread/134587?ContentTypeID=1</link><pubDate>Mon, 04 Jun 2018 13:51:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4f107bc-5dbe-45c0-8006-d023b8c5edda</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jeremi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure I fully understand your setup. You mentioned about &amp;quot; tx power reference at 1 meter sended by the Smartphone &amp;quot; Could you clarify what would the smart phone sends here ? What is the smartphone role in your application ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There is a TxPower level inside advertising packet you can add. However, as far as I know, we don&amp;#39;t use txpower in our beacon example. You can add the&amp;nbsp;p_tx_power_level of advdata into your advertising packet.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When you change txpower, you need to update this value of the advertising data, it doesn&amp;#39;t get updated automatically by the softdevice.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>