<?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>Can i make better the range of NRF52832 with software?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43708/can-i-make-better-the-range-of-nrf52832-with-software</link><description>Hi, 
 Can i change the antenna power with software?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Feb 2019 14:09:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43708/can-i-make-better-the-range-of-nrf52832-with-software" /><item><title>RE: Can i make better the range of NRF52832 with software?</title><link>https://devzone.nordicsemi.com/thread/171410?ContentTypeID=1</link><pubDate>Fri, 15 Feb 2019 14:09:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20f02d09-87cc-4b06-b27c-3f02ce64926c</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;The default transmit power is 0 dBm.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can i make better the range of NRF52832 with software?</title><link>https://devzone.nordicsemi.com/thread/171381?ContentTypeID=1</link><pubDate>Fri, 15 Feb 2019 12:36:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c4b3510-6e4b-486e-bf53-c42a5f9e28fc</guid><dc:creator>bariserbay</dc:creator><description>&lt;p&gt;Is default power value is +4dBm in sdk?&lt;br /&gt;I&amp;#39;m using nordic uart service(nus).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can i make better the range of NRF52832 with software?</title><link>https://devzone.nordicsemi.com/thread/171360?ContentTypeID=1</link><pubDate>Fri, 15 Feb 2019 12:09:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:075b8b19-4f20-4bdd-b9fa-298bb38614b3</guid><dc:creator>bariserbay</dc:creator><description>&lt;p&gt;Thanks for all of your answers.&lt;br /&gt;&lt;br /&gt;I tried with licenced keil and it works!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can i make better the range of NRF52832 with software?</title><link>https://devzone.nordicsemi.com/thread/171172?ContentTypeID=1</link><pubDate>Thu, 14 Feb 2019 14:07:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d551acd1-b96d-4efe-8326-8ebdc7ecb59d</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Yes, I think it is complaining about not finding the &lt;strong&gt;.axf &lt;/strong&gt;file because it cannot build the project without a licence, because the project is to big.&lt;/p&gt;
&lt;p&gt;Here, I&amp;#39;ve recreated the error by trying to build the project in Keil 5 without a licence:&lt;/p&gt;
&lt;p&gt;First error: Cannot build because the project is to big&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-4629df342cfe400ab94762e8bc4cb428/F4963E3E.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;Second error: Cannot flash, because the &lt;strong&gt;.xaf file&lt;/strong&gt; does not exist:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-4629df342cfe400ab94762e8bc4cb428/5C7BDD27.PNG" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-4629df342cfe400ab94762e8bc4cb428/A536C4FC.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;You can use &lt;a href="https://www.nordicsemi.com/DocLib/Content/User_Guides/gsg_ses/latest/UG/gsg/intro"&gt;Segger Embedded Studio&lt;/a&gt; for free with Nordic Products, It has not this limitation, and I suggest you use that if you do not wish to pay for a license.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can i make better the range of NRF52832 with software?</title><link>https://devzone.nordicsemi.com/thread/171169?ContentTypeID=1</link><pubDate>Thu, 14 Feb 2019 13:56:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7449256f-ef0d-4214-849b-9dad0fa334c8</guid><dc:creator>awneil</dc:creator><description>[quote userid="73423" url="~/f/nordic-q-a/43708/can-i-make-better-the-range-of-nrf52832-with-software/171154"]Do you have a licence for Keil u5? Have you installed the latest &lt;a href="https://www.segger.com/downloads/jlink/"&gt;J-Link drivers&lt;/a&gt;?[/quote]
&lt;p&gt;Those things would give different errors -&amp;nbsp;It&amp;#39;s complaining that it can&amp;#39;t find the &lt;strong&gt;.axf&lt;/strong&gt; file.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;(although lack of a licence could be a reason for the build to fail and, therefore, not generate the &lt;strong&gt;.axf&lt;/strong&gt;)&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can i make better the range of NRF52832 with software?</title><link>https://devzone.nordicsemi.com/thread/171168?ContentTypeID=1</link><pubDate>Thu, 14 Feb 2019 13:55:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9951d696-bead-4652-b274-d6972e062b43</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;No - look again at the message: it tells you specifically which file it failed to open.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s the &lt;strong&gt;.axf&lt;/strong&gt; file - which is the result of a successful build.&lt;/p&gt;
&lt;p&gt;Therefore, if the build failed, or you have not done a build at all - you are going to get that message!&lt;/p&gt;
&lt;p&gt;The download will fail if there is nothing to download!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can i make better the range of NRF52832 with software?</title><link>https://devzone.nordicsemi.com/thread/171154?ContentTypeID=1</link><pubDate>Thu, 14 Feb 2019 13:28:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68e2d948-41a3-4d29-8225-48c74e1410f6</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Do you have a licence for Keil u5? Have you installed the latest &lt;a href="https://www.segger.com/downloads/jlink/"&gt;J-Link drivers&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can i make better the range of NRF52832 with software?</title><link>https://devzone.nordicsemi.com/thread/171132?ContentTypeID=1</link><pubDate>Thu, 14 Feb 2019 12:41:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71f3c3f8-ed44-4294-95aa-2f7914fe25ff</guid><dc:creator>bariserbay</dc:creator><description>&lt;p&gt;I just openned the file in sdk.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;C:\Users\acer\Desktop\nRF5_SDK_15.2.0_9412b96\examples\ble_peripheral\ble_app_proximity\pca10040\s132\arm5_no_packs&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;.uvprojx&amp;nbsp;&lt;/strong&gt;file&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can i make better the range of NRF52832 with software?</title><link>https://devzone.nordicsemi.com/thread/171118?ContentTypeID=1</link><pubDate>Thu, 14 Feb 2019 12:17:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8abd29ed-851c-4674-ad91-1f1069fa5b64</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;It tells you that it can&amp;#39;t open the file.&lt;/p&gt;
&lt;p&gt;So does that file actually exist in that location?&lt;/p&gt;
&lt;p&gt;Did the build succeed?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can i make better the range of NRF52832 with software?</title><link>https://devzone.nordicsemi.com/thread/171115?ContentTypeID=1</link><pubDate>Thu, 14 Feb 2019 12:09:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be05dc9d-87da-45ba-86e1-996794fc7e4d</guid><dc:creator>bariserbay</dc:creator><description>&lt;p&gt;Thanks for your answer Andrea.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m advertising. I&amp;#39;m using&amp;nbsp; the nordic uart service. Firstly when i tried the &lt;strong&gt;xamples\ble_peripheral\ble_app_proximity&amp;nbsp;&amp;nbsp;&lt;/strong&gt;code i see that error massage.&lt;span&gt;How can i fix this?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1550145889691v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Thanks..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can i make better the range of NRF52832 with software?</title><link>https://devzone.nordicsemi.com/thread/171099?ContentTypeID=1</link><pubDate>Thu, 14 Feb 2019 11:36:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a656cac-e3d7-4c70-bc3a-d4c9753f7ceb</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi again.&lt;/p&gt;
&lt;p&gt;Are you advertising? Or scanning?&lt;/p&gt;
&lt;p&gt;If you are advertising, you can take a look at the &lt;strong&gt;examples\ble_peripheral\ble_app_proximity&lt;/strong&gt; example.&lt;/p&gt;
&lt;p&gt;Here, you can see how the API is used:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;sd_ble_gap_tx_power_set(BLE_GAP_TX_POWER_ROLE_ADV, m_advertising.adv_handle, TX_POWER_LEVEL);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The first input is &lt;strong&gt;BLE_GAP_TX_POWER_ROLE_ADV&lt;/strong&gt;, which is one of three options from &lt;strong&gt;BLE_GAP_TX_POWER_ROLES&lt;/strong&gt;, as you can read here:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/**@brief GAP TX Power roles.
 */
enum BLE_GAP_TX_POWER_ROLES
{
  BLE_GAP_TX_POWER_ROLE_ADV       = 1,           /**&amp;lt; Advertiser role. */
  BLE_GAP_TX_POWER_ROLE_SCAN_INIT = 2,           /**&amp;lt; Scanner and initiator role. */
  BLE_GAP_TX_POWER_ROLE_CONN      = 3,           /**&amp;lt; Connection role. */
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The second input is the advertising handle, &amp;nbsp;&lt;strong&gt;m_advertising.adv_handle.&lt;/strong&gt; If you are scanning you should give &lt;strong&gt;NULL&lt;/strong&gt; as input, and if you are connected, you should give the &lt;strong&gt;connection handle&lt;/strong&gt; as input.&lt;/p&gt;
&lt;p&gt;The third input is the actual TX power value, and the supported values are -40dBm, -20dBm, -16dBm, -12dBm, -8dBm, -4dBm, 0dBm, +3dBm and +4dBm.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can i make better the range of NRF52832 with software?</title><link>https://devzone.nordicsemi.com/thread/171091?ContentTypeID=1</link><pubDate>Thu, 14 Feb 2019 10:59:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:853e577d-e1bd-47a6-a983-8d7dad70b017</guid><dc:creator>bariserbay</dc:creator><description>&lt;p&gt;Hi Andreas,&lt;/p&gt;
&lt;p&gt;Thanks for your answer. Yes i mean the radio&amp;#39;s transmit power. i found that code block. But i don&amp;#39;t understand how can i change it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can i make better the range of NRF52832 with software?</title><link>https://devzone.nordicsemi.com/thread/171067?ContentTypeID=1</link><pubDate>Thu, 14 Feb 2019 10:00:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4b5cb83-1d7e-4708-8254-f2f5086053c9</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Do you mean the radio&amp;#39;s transmit power?&lt;/p&gt;
&lt;p&gt;You can set that by calling &lt;strong&gt;sd_ble_gap_tx_power_set().&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;For SoftDevice S132 V6.1.0, the API is:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/**@brief Set the radio&amp;#39;s transmit power.
 *
 * @param[in] role The role to set the transmit power for, see @ref BLE_GAP_TX_POWER_ROLES for
 *                 possible roles.
 * @param[in] handle   The handle parameter is interpreted depending on role:
 *                     - If role is @ref BLE_GAP_TX_POWER_ROLE_CONN, this value is the specific connection handle.
 *                     - If role is @ref BLE_GAP_TX_POWER_ROLE_ADV, the advertising set identified with the advertising handle,
 *                       will use the specified transmit power, and include it in the advertising packet headers if
 *                       @ref ble_gap_adv_properties_t::include_tx_power set.
 *                     - For all other roles handle is ignored.
 * @param[in] tx_power Radio transmit power in dBm (see note for accepted values).
 *
  * @note Supported tx_power values: -40dBm, -20dBm, -16dBm, -12dBm, -8dBm, -4dBm, 0dBm, +3dBm and +4dBm.
  * @note The initiator will have the same transmit power as the scanner.
 * @note When a connection is created it will inherit the transmit power from the initiator or
 *       advertiser leading to the connection.
 *
 * @retval ::NRF_SUCCESS Successfully changed the transmit power.
 * @retval ::NRF_ERROR_INVALID_PARAM Invalid parameter(s) supplied.
 * @retval ::BLE_ERROR_INVALID_ADV_HANDLE Advertising handle not found.
 * @retval ::BLE_ERROR_INVALID_CONN_HANDLE Invalid connection handle supplied.
 */
SVCALL(SD_BLE_GAP_TX_POWER_SET, uint32_t, sd_ble_gap_tx_power_set(uint8_t role, uint16_t handle, int8_t tx_power));&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>