<?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>How to modify tx power in mesh-sdk-4.0 LPN example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56139/how-to-modify-tx-power-in-mesh-sdk-4-0-lpn-example</link><description>Hi Nordic 
 I want to change mesh-sdk-4.0 LPN example tx output power to 4dbm, including proxy broadcast, mesh packet, 
 I try to change &amp;quot; RADIO_POWER_NRF_0DBM &amp;quot; in whole mesh-sdk-4.0 to &amp;quot; RADIO_POWER_NRF_POS4DBM &amp;quot;, 
 in set_default_broadcast_configuration</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Jan 2020 06:06:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56139/how-to-modify-tx-power-in-mesh-sdk-4-0-lpn-example" /><item><title>RE: How to modify tx power in mesh-sdk-4.0 LPN example</title><link>https://devzone.nordicsemi.com/thread/228251?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2020 06:06:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f581e97-bc99-44f6-ae6e-a3fb2f14c3ca</guid><dc:creator>jowei</dc:creator><description>&lt;p&gt;Hi Bui:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Noted for&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;I would suggest to start testing on a normal mesh node instead of LPN node. &amp;quot;, thanks.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to modify tx power in mesh-sdk-4.0 LPN example</title><link>https://devzone.nordicsemi.com/thread/227427?ContentTypeID=1</link><pubDate>Fri, 03 Jan 2020 13:37:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a704f51b-7abc-4e19-8d34-583129c61522</guid><dc:creator>Jui-Chou (Rick) Chung</dc:creator><description>&lt;p&gt;Hello Joseph,&lt;/p&gt;
&lt;p&gt;Since in the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v4.0.0%2Fmd_MIGRATION_GUIDE.html&amp;amp;anchor=mesh_config_for_dsm_and_access" rel="noopener noreferrer" target="_blank"&gt;migration guide&lt;/a&gt;, mentioned that:&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;span&gt;This means that your applications should no longer invoke any special API to store or restore parameters. The parameters will be stored or restored when they are changed via the appropriate API, for example&amp;nbsp;&lt;/span&gt;&lt;a class="el" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v4.0.0/group__MESH__OPT__CORE.html#ga3ed961289f0246c32d3ee89f06eebd1a"&gt;mesh_opt_core_tx_power_set()&lt;/a&gt;&lt;span&gt;&amp;nbsp;or&amp;nbsp;&lt;/span&gt;&lt;a class="el" title="Gets the TX power level for the given role. " href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v4.0.0/group__MESH__OPT__CORE.html#ga62808df6b04c638ca2dc56b501dbe3ff"&gt;mesh_opt_core_tx_power_get()&lt;/a&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;We can call&amp;nbsp;mesh_opt_core_tx_power_set() in the runtime for setting the TX power, and the configuration will be stored in the flash.&lt;/p&gt;
&lt;p&gt;But the upon information will only affect the ADV-bearer, for GATT-bearer, you may need to&amp;nbsp;use sd_ble_gap_tx_power_set() for setting the TX power. Since the GATT function is relied on softdevice. Please check the following link:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/38292/mesh-proxy-sdk2-1-1-tx-power-of-nrf52832"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/38292/mesh-proxy-sdk2-1-1-tx-power-of-nrf52832&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Hope this can do help.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Rick&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to modify tx power in mesh-sdk-4.0 LPN example</title><link>https://devzone.nordicsemi.com/thread/227423?ContentTypeID=1</link><pubDate>Fri, 03 Jan 2020 13:30:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71d97dcd-13b0-4a12-ad70-6a79db545d9e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Joseph,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When you mentioned the RSSI showed on nRFConnect app,&amp;nbsp;I assume it&amp;#39;s when the device was not provisioned and advertising in PBGATT mode.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To change TX power when the device doing BLE advertising for provisioning, you would need to call&amp;nbsp;sd_ble_gap_tx_power_set() after you init the BLE stack (ble_stack_init() )&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note that this function wouldn&amp;#39;t affect when the device doing normal mesh activity. For that you would need to call&amp;nbsp;advertiser_tx_power_set()&lt;/p&gt;
&lt;p&gt;I would suggest to start testing on a normal mesh node instead of LPN node.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>