<?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>nRF Connect SDK 2.8.0 Mesh with Coded PHY (Long Range)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117447/nrf-connect-sdk-2-8-0-mesh-with-coded-phy-long-range</link><description>I am exploring the possibility of using ncs v2.8.0 for Mesh with Coded PHY on the nRF52840dk/ nRF52840 board . I know this is not officially supported. 
 I started with the mesh_provisioner sample and added the following CONFIGs to my prj.conf to activate</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Mar 2025 17:34:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117447/nrf-connect-sdk-2-8-0-mesh-with-coded-phy-long-range" /><item><title>RE: nRF Connect SDK 2.8.0 Mesh with Coded PHY (Long Range)</title><link>https://devzone.nordicsemi.com/thread/528914?ContentTypeID=1</link><pubDate>Tue, 25 Mar 2025 17:34:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fbcd0e0-efc3-45e8-8c48-f691ec84ea98</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/rjengr"&gt;RJengr&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;I will leave this thread open in case the original poster has anything to add. Apart from that, I refer to the general information provided previously in this thread.&lt;/p&gt;
&lt;p&gt;If you are still stuck, then please create a new ticket with the specifics for your application and use case, then we can look into that in particular.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect SDK 2.8.0 Mesh with Coded PHY (Long Range)</title><link>https://devzone.nordicsemi.com/thread/527445?ContentTypeID=1</link><pubDate>Fri, 14 Mar 2025 22:39:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efe651bb-0b91-4c1a-96b5-d141014203cf</guid><dc:creator>RJengr</dc:creator><description>&lt;p&gt;I am stuck on the same warnings/error:&lt;br /&gt;[00:00:05.282,287] &amp;lt;wrn&amp;gt; bt_hci_core: opcode 0x2041 status 0x12 &lt;br /&gt;[00:00:05.282,318] &amp;lt;err&amp;gt; bt_mesh_adv: starting scan failed (err -22)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Do you know how you got around this? I have tried altering the scan window/interval&amp;nbsp;and advertising interval to no help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect SDK 2.8.0 Mesh with Coded PHY (Long Range)</title><link>https://devzone.nordicsemi.com/thread/517207?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2025 12:24:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79d2278d-7231-4e6c-82db-f219c7f0c569</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="rmarques"]I may have fixed the issue somewhere else.[/quote]
&lt;p&gt;Most likely this would be change of advertising type and/or advertising parameters. Maybe something is different now from then, even though most parameters are back at the initial values.&lt;/p&gt;
[quote user="rmarques"]Still, I don&amp;#39;t see a noticeable difference in the message RSSI with and without long range. I&amp;#39;m going to run some simple tests to count the number of messages arriving successfully to a device with and without long range to see if there&amp;#39;s something else other than the RSSI to tell me if this is working or not.[/quote]
&lt;p&gt;Coded phy does not change RSSI, as the TX power is still the same. The difference is that more time is spent for each symbol, essentially allowing for some error correction, and successful reception at slightly lower RSSI. Please note also that RSSI is received signal strength &lt;em&gt;indication&lt;/em&gt;, and not an accurate measurement of the actual signal strength. Rather, it is based on the general power level received from the antenna, at or close to the given frequency, when the packet is being received. It is often a good measure, but there will be some variability.&lt;/p&gt;
&lt;p&gt;You should get some indication from power measurements (showing the time spent for each advertisement packet), or from a BLE sniffer (which should show you for each packet what physical layer was used.)&lt;/p&gt;
[quote user="rmarques"]In the meantime, would you be interested in having a look at what&amp;#39;s needed for Mesh with Long Range in nRF Connect?[/quote]
&lt;p&gt;My previous answer covers the general gist of what must be done. We don&amp;#39;t have a full detailed list of what changes are needed. If you run into any specific issues along the way, then we are more than happy to help you overcome those issues.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect SDK 2.8.0 Mesh with Coded PHY (Long Range)</title><link>https://devzone.nordicsemi.com/thread/516673?ContentTypeID=1</link><pubDate>Thu, 02 Jan 2025 15:22:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc66ecbc-4f56-4957-8046-0f020207be31</guid><dc:creator>rmarques</dc:creator><description>&lt;p&gt;Hi tesc, thanks for the pointers. I have been experimenting with increasing MESH_SCAN_INTERVAL and MESH_SCAN_WINDOW in adv.c and while it looks like it worked, having returned the defines to the original values it doesn&amp;#39;t complain about starting the scan. I may have fixed the issue somewhere else.&lt;br /&gt;&lt;br /&gt;Still, I don&amp;#39;t see a noticeable difference in the message RSSI with and without long range. I&amp;#39;m going to run some simple tests to count the number of messages arriving successfully to a device with and without long range to see if there&amp;#39;s something else other than the RSSI to tell me if this is working or not.&lt;br /&gt;&lt;br /&gt;In the meantime, would you be interested in having a look at what&amp;#39;s needed for Mesh with Long Range in nRF Connect?&lt;/p&gt;
&lt;p&gt;Happy New Year!&lt;/p&gt;
&lt;p&gt;Best,&lt;/p&gt;
&lt;p&gt;R&amp;uacute;ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect SDK 2.8.0 Mesh with Coded PHY (Long Range)</title><link>https://devzone.nordicsemi.com/thread/515978?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2024 15:49:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b330735-bab8-4bd7-972c-56be9c1e7a2a</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am afraid we do not have time to look thoroughly at this before the holidays, but in general:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A Bluetooth Mesh solution built on top of Coded Phy is not qualifiable as a Bluetooth Mesh product, since the Bluetooth Mesh Protocol specification mandates use of the ADV_NONCONN_IND PDU type, which by Bluetooth Core specification is for 1M Phy only.&lt;/li&gt;
&lt;li&gt;That being said, there is nothing else in the BLE stack or the Bluetooth Mesh stack which should prevent such a solution from working, with a few caveats covered, e.g.:
&lt;ul&gt;
&lt;li&gt;that there are enough bytes available in the advertising packets used for the full contents of the Bluetooth Mesh related Advertising Data types&lt;/li&gt;
&lt;li&gt;that advertising parameters and scan parameters used by the stack are compatible with Coded Phy&lt;/li&gt;
&lt;li&gt;etc.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Now, for a Coded Phy solution to work, every part of the Bluetooth Mesh stack which touches upon advertising or scanning, might potentially need an update, in order to use an advertisement PDU type which is compatible with Coded Phy. I see that your changes are of that nature, but I am not sure if you have covered all the required places. Please note also that features such as GATT Proxy also uses BLE, and for that you may want to use Coded Phy or 1M depending on what can be supported by the central device, typically a smartphone.&lt;/p&gt;
&lt;p&gt;To the particular issue that you are seeing right now, error code 22 is &amp;quot;invalid argument&amp;quot;. In other words, the scan_param provided to bt_le_scan_start() inside bt_mesh_scan_enable() in adv.c is not considered valid. It might be as simple as the scan failing to start due to MESH_SCAN_INTERVAL / MESH_SCAN_WINDOW not working well with Coded Phy (e.g. too short?) or if the scan type (BT_HCI_LE_SCAN_ACTIVE or BT_HCI_LE_SCAN_PASSIVE, depending on the value of active_scanning) is somehow incompatible with Coded Phy. At least it looks like some change is needed, either for the constants used, or the code itself, for bt_mesh_scan_enable(), in &amp;lt;sdk folder&amp;gt;\zephyr\subsys\bluetooth\mesh\adv.c.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>