<?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>Setting the tx power to 8db is leading to configuration messages timing out</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97759/setting-the-tx-power-to-8db-is-leading-to-configuration-messages-timing-out</link><description>Hello, 
 I am using 3 nrf52840 nodes. One is a provisioner and the others are sensor client/server. Normally, the provisioning and configuration goes smoothly. However, when I try to set the TX power to 8db, right after the provisioning process, the configuration</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 31 Mar 2023 13:07:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97759/setting-the-tx-power-to-8db-is-leading-to-configuration-messages-timing-out" /><item><title>RE: Setting the tx power to 8db is leading to configuration messages timing out</title><link>https://devzone.nordicsemi.com/thread/418607?ContentTypeID=1</link><pubDate>Fri, 31 Mar 2023 13:07:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5cb3b1c-1b8a-4301-8406-0263292a2f06</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I will refer to Hieu&amp;#39;s answer again. It suggests how to work around it in your current version, by looking at how it is done in the HCI power control sample.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please note that we will be very short staffed next week due to public holidays in Norway. I will be back in the office on April 11th. Sorry for the inconvenience.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting the tx power to 8db is leading to configuration messages timing out</title><link>https://devzone.nordicsemi.com/thread/417969?ContentTypeID=1</link><pubDate>Tue, 28 Mar 2023 18:47:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1186e944-2ea6-4329-ad40-913a194d5c47</guid><dc:creator>Susheel</dc:creator><description>&lt;p&gt;Hello Edvin, thank you for the reply.&lt;/p&gt;
&lt;p&gt;I have tried migrating my sdk to 2.1.1 and there seem to be too many changes in between. I am gonna have to spend some time adapting my code to the new sdk. As my software is almost frozen for prototyping, is there any way to stick with 1.9.1 and still use the nordic software to get 8db power and reliable communications?&lt;/p&gt;
&lt;p&gt;-Susheel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting the tx power to 8db is leading to configuration messages timing out</title><link>https://devzone.nordicsemi.com/thread/417119?ContentTypeID=1</link><pubDate>Thu, 23 Mar 2023 14:07:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:451e170d-a4d9-492a-9a71-da54f9e1d082</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;What NCS version are you using?&lt;/p&gt;
&lt;p&gt;Please see my colleague, Hieu&amp;#39;s, answer in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/95026/nrf52833-bluetooth-mesh-mode-set-tx-power/402451"&gt;this post&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting the tx power to 8db is leading to configuration messages timing out</title><link>https://devzone.nordicsemi.com/thread/416857?ContentTypeID=1</link><pubDate>Wed, 22 Mar 2023 14:53:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25ba356f-532e-4522-8ceb-453476cbca74</guid><dc:creator>Susheel</dc:creator><description>&lt;p&gt;Hello Edvin, thank you for your suggestion. I have tried it out and it works(timining wise). However, I when I measured the actual RSSI(dbm)&amp;nbsp;of the messages transmitted on my nrf Connect app, there I saw a difference.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When I used nothing but the&amp;nbsp;&lt;span&gt;CONFIG_BT_CTLR_TX_PWR_PLUS_8=y configuration, the RSSI received was -22dbm whereas when I used the&amp;nbsp;LL_SW_SPLIT=y,&amp;nbsp;CONFIG_BT_CTLR_TX_PWR_DYNAMIC_CONTROL=y and set the tx power manually on start using&amp;nbsp;set_tx_power(), I see that the RSSI received increased to -10dbm. I made sure to keep the distance constant when testing.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please advice.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting the tx power to 8db is leading to configuration messages timing out</title><link>https://devzone.nordicsemi.com/thread/416208?ContentTypeID=1</link><pubDate>Mon, 20 Mar 2023 09:14:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4137489-6b7a-4fef-8147-0b408cd4c52e</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Ok. Can you please have a look at the sample found in NCS\zephyr\samples\bluetooth\hci_pwr_ctrl. This is a sample that is set up to read the TX power upon connect, but you can use the same approach to write it. As you can see from that sample, it doesn&amp;#39;t require the LL_SW_SPLIT.&lt;/p&gt;
&lt;p&gt;Do you really need to set it dynamically during the runtime of the app? It would be easier to set it at compile time, because then you can only use a config (CONFIG_BT_CTLR_TX_PWR_PLUS_8=y)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The reason I want you to take out the LL_SW_SPLIT is that when you include this, you will use the Zephyr Bluetooth controller, and not the Nordic Bluetooth controller. You can do this if you like, but that is not our stack, and I do not think the bluetooth mesh libraries will work with the Zephyr Bluetooth controller.&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting the tx power to 8db is leading to configuration messages timing out</title><link>https://devzone.nordicsemi.com/thread/415998?ContentTypeID=1</link><pubDate>Fri, 17 Mar 2023 12:32:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5ce8196-5eb9-437e-aefc-5225f4cbb462</guid><dc:creator>Susheel</dc:creator><description>&lt;p&gt;When I remove it, the set_tx_power() function returns a IO error and fails to set the tx power to 8db&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting the tx power to 8db is leading to configuration messages timing out</title><link>https://devzone.nordicsemi.com/thread/415996?ContentTypeID=1</link><pubDate>Fri, 17 Mar 2023 12:29:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3292117-d9b4-4227-ab98-8902317db691</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;did you try removing CONFIG_BT_LL_SW_SPLIT (or set it to =n ?)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting the tx power to 8db is leading to configuration messages timing out</title><link>https://devzone.nordicsemi.com/thread/415777?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2023 15:31:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91aac2d5-84bd-40b5-9611-98439574ce43</guid><dc:creator>Susheel</dc:creator><description>&lt;p&gt;&lt;span&gt;CONFIG_BT_CTRL_ADVANCED_FEATURES takes the default value when i do not add&amp;nbsp;CONFIG_BT_LL_SW_SPLIT=y. Also, when i dont add CONFIG_LL_SW_SPLIT, the set_tx_power() gives an IO error and doesn&amp;#39;t&amp;nbsp;actually change the gain to 8db.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Update: I tried only adding the&amp;nbsp;CONFIG_BT_LL_SW_SPLIT=y. In this case, the configuration of the sensor client is alright but the configuration of the sensor server times out. In my code, I return from the&amp;nbsp;&lt;/span&gt;&lt;span&gt;configure_node() function in the provisioner&amp;nbsp;&lt;/span&gt;&lt;span&gt;even if a single configuration call fails with an error.&amp;nbsp;Here, the function&amp;nbsp;&lt;/span&gt;bt_mesh_cfg_mod_sub_add_vnd() fails repeatedly with a timeout(-116) only for the sensor server.&lt;/p&gt;
&lt;p&gt;I have added a few vendor models to my sensor server/client but, I am wondering why the configuration was going through when using the normal tx power settings.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have changed the configuration timeout on the provisioner to 10 times the default value and the message still times out. Please suggest.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting the tx power to 8db is leading to configuration messages timing out</title><link>https://devzone.nordicsemi.com/thread/415754?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2023 14:24:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86a414db-c91d-49bd-a3c0-0e5737a3ba67</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;1: Try to remove the CONFIG_BT_LL_SW_SPLIT=y&lt;/p&gt;
&lt;p&gt;2: Try to remove the CONFIG_BT_CTRL_ADVANCED_FEATURES=y&lt;/p&gt;
&lt;p&gt;And any combination of these. Does that affect the behavior?&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>