<?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 Mesh Light/Light Switch Example unreliable</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64557/nrf-connect-mesh-light-light-switch-example-unreliable</link><description>We are developing a mesh application for nRF5340 currently using the nRF5340PDK. We have loaded one dev board with the Mesh Light example and the other with the Mesh Light Switch example (including adding the following to prj.conf: CONFIG_BT_CTLR_TX_BUFFER_SIZE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 Aug 2023 17:50:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64557/nrf-connect-mesh-light-light-switch-example-unreliable" /><item><title>RE: nRF Connect Mesh Light/Light Switch Example unreliable</title><link>https://devzone.nordicsemi.com/thread/441454?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2023 17:50:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6440a960-c351-4631-8e16-f01a1877d4a6</guid><dc:creator>Marius Waage Aabel</dc:creator><description>&lt;p&gt;Haha, yes, I saw it is old, but I experienced the same, and since this did not conclude, I thought it might not be fixed yet. I will create a new ticket :-) Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Mesh Light/Light Switch Example unreliable</title><link>https://devzone.nordicsemi.com/thread/441133?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2023 11:35:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8f862af-f820-46af-a534-33747b196ef2</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Marius,&amp;nbsp;&lt;br /&gt;The issue here is 3 years old and the mesh problem on NRF53 should have been fixed. Please create a new ticket and describe your issue there.&amp;nbsp;&lt;br /&gt;Please make sure you explain how you do provisioning and how you tested.&amp;nbsp;&lt;br /&gt;Also please pay attention to the extra configuration for NRF53 in boards folder and in&amp;nbsp; child_image\hci_rpmsg.conf , for example in our light_switch sample.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Mesh Light/Light Switch Example unreliable</title><link>https://devzone.nordicsemi.com/thread/441111?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2023 10:20:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c8802d0-0c03-495d-abc6-9571fc000725</guid><dc:creator>Marius Waage Aabel</dc:creator><description>&lt;p&gt;Any update on this? I work on a mesh project and have several 5340DK I would like to use. The 5340DK does not seem to be able to send and/or receive messages on the mesh, using Light and Light switch samples from NDK Conenct 2.4.1.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Mesh Light/Light Switch Example unreliable</title><link>https://devzone.nordicsemi.com/thread/264034?ContentTypeID=1</link><pubDate>Tue, 11 Aug 2020 12:00:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4aeebfed-f6ff-47cd-a699-5b4838fca9cf</guid><dc:creator>Jacob B</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Glad to hear you are able to reproduce it and interesting that this doesn&amp;#39;t occur on nRF52.&amp;nbsp; I don&amp;#39;t experience the double click issue you descirbe though.&amp;nbsp; Please let us know when you hear back from the developer.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jacob&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Mesh Light/Light Switch Example unreliable</title><link>https://devzone.nordicsemi.com/thread/264031?ContentTypeID=1</link><pubDate>Tue, 11 Aug 2020 11:55:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e66222ba-ffcd-4c7d-88c4-a09adbeef227</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jacob,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m testing the example here and can reproduce the issue. I will check with the developer to see what could be wrong here.&lt;br /&gt;When testing with the nRF52 instead of the nRF53 I don&amp;#39;t see any problem, but on the nRF53 what I observed was that the light server still work normally it can receive the command from other nodes (nRF52) with no problem. But the light client doesn&amp;#39;t work as it should I don&amp;#39;t see other node to receive the command from the NRF53. The local light server model on the same node can receive but not the external node.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In addition what I observed is that when you click the button it only switches on the LED, if you want to switch off the LED you need to double click (one click - 1 second - another click). It maybe designed that way but I would need to double check.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Mesh Light/Light Switch Example unreliable</title><link>https://devzone.nordicsemi.com/thread/263883?ContentTypeID=1</link><pubDate>Mon, 10 Aug 2020 14:52:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5f3e55b-1ab0-4935-961c-5f1c2756309a</guid><dc:creator>Jacob B</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;When using 0xFFFF it works ~50% of the time, when using 0xC000 it has never worked.&amp;nbsp; It seems the setup is correct when using address 0xFFFF as it sometimes does work, it is just very unreliable which doesn&amp;#39;t seem like a problem with the address but the network itself.&amp;nbsp; Any thoughts on what could be causing the reliability issues?&amp;nbsp; Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Mesh Light/Light Switch Example unreliable</title><link>https://devzone.nordicsemi.com/thread/263879?ContentTypeID=1</link><pubDate>Mon, 10 Aug 2020 14:44:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2b1477a-61f1-49c8-ad8a-798515a0ef1c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jacob,&amp;nbsp;&lt;br /&gt;Sorry that I&amp;#39;m a bit confused. You meant that when you use group 0xC000 it always works. But when you use 0xFFFF no LED illuminated ?&amp;nbsp;&lt;br /&gt;Have you double check if there is any light switch server located at the primary element of the node ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I wouldn&amp;#39;t suggest to use 0xFFFF for normal operation. It should only be used for special command that you want to address all nodes regardless the configuration.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Mesh Light/Light Switch Example unreliable</title><link>https://devzone.nordicsemi.com/thread/263668?ContentTypeID=1</link><pubDate>Fri, 07 Aug 2020 15:26:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f01a19e-bd4d-4990-95f2-93be73e10439</guid><dc:creator>Jacob B</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;- Correct, when pressing button one on the light switch LED 1 on the light switch illuminates but no LEDs on the light illuminate&lt;/p&gt;
&lt;p&gt;- That is useful to know about 0xFFFF&lt;/p&gt;
&lt;p&gt;- In this case it does not work it all, with/without re-transmission.&amp;nbsp; The group is controllable by the nRF mesh app when connected to the light via proxy&lt;/p&gt;
&lt;p&gt;The above logging issue was fixed by re-importing the project into embedded studio once the prj.conf file had been changed.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The following logs are generated by the light switch when button 1 is pressed (LED 1 on light does not illuminate nore are any logs printed by the light):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;[00:32:36.685,974] &amp;lt;dbg&amp;gt; bt_mesh_access.bt_mesh_model_publish:
[00:32:36.686,004] &amp;lt;dbg&amp;gt; bt_mesh_access.bt_mesh_model_publish: Publish Retransmit Count 7 Interval 50ms
[00:32:36.686,004] &amp;lt;dbg&amp;gt; bt_mesh_access.model_send: net_idx 0x0000 app_idx 0x0000 dst 0xc000
[00:32:36.686,004] &amp;lt;dbg&amp;gt; bt_mesh_access.model_send: len 4: 82030148
[00:32:36.817,993] &amp;lt;dbg&amp;gt; bt_mesh_access.publish_sent: err 0
[00:32:36.817,993] &amp;lt;dbg&amp;gt; bt_mesh_access.publish_sent: Publishing next time in 50ms
[00:32:36.868,103] &amp;lt;dbg&amp;gt; bt_mesh_access.mod_publish:
[00:32:36.868,103] &amp;lt;dbg&amp;gt; bt_mesh_access.mod_publish: period 0 ms
[00:32:36.999,664] &amp;lt;dbg&amp;gt; bt_mesh_access.publish_sent: err 0
[00:32:36.999,664] &amp;lt;dbg&amp;gt; bt_mesh_access.publish_sent: Publishing next time in 50ms
[00:32:37.049,774] &amp;lt;dbg&amp;gt; bt_mesh_access.mod_publish:
[00:32:37.049,774] &amp;lt;dbg&amp;gt; bt_mesh_access.mod_publish: period 0 ms
[00:32:37.181,152] &amp;lt;dbg&amp;gt; bt_mesh_access.publish_sent: err 0
[00:32:37.181,182] &amp;lt;dbg&amp;gt; bt_mesh_access.publish_sent: Publishing next time in 50ms
[00:32:37.231,262] &amp;lt;dbg&amp;gt; bt_mesh_access.mod_publish:
[00:32:37.231,262] &amp;lt;dbg&amp;gt; bt_mesh_access.mod_publish: period 0 ms
[00:32:37.362,823] &amp;lt;dbg&amp;gt; bt_mesh_access.publish_sent: err 0
[00:32:37.362,823] &amp;lt;dbg&amp;gt; bt_mesh_access.publish_sent: Publishing next time in 50ms
[00:32:37.412,933] &amp;lt;dbg&amp;gt; bt_mesh_access.mod_publish:
[00:32:37.412,933] &amp;lt;dbg&amp;gt; bt_mesh_access.mod_publish: period 0 ms
[00:32:37.544,525] &amp;lt;dbg&amp;gt; bt_mesh_access.publish_sent: err 0
[00:32:37.544,555] &amp;lt;dbg&amp;gt; bt_mesh_access.publish_sent: Publishing next time in 50ms
[00:32:37.594,635] &amp;lt;dbg&amp;gt; bt_mesh_access.mod_publish:
[00:32:37.594,635] &amp;lt;dbg&amp;gt; bt_mesh_access.mod_publish: period 0 ms
[00:32:37.726,470] &amp;lt;dbg&amp;gt; bt_mesh_access.publish_sent: err 0
[00:32:37.726,501] &amp;lt;dbg&amp;gt; bt_mesh_access.publish_sent: Publishing next time in 50ms
[00:32:37.776,580] &amp;lt;dbg&amp;gt; bt_mesh_access.mod_publish:
[00:32:37.776,580] &amp;lt;dbg&amp;gt; bt_mesh_access.mod_publish: period 0 ms
[00:32:37.908,172] &amp;lt;dbg&amp;gt; bt_mesh_access.publish_sent: err 0
[00:32:37.908,203] &amp;lt;dbg&amp;gt; bt_mesh_access.publish_sent: Publishing next time in 50ms
[00:32:37.958,282] &amp;lt;dbg&amp;gt; bt_mesh_access.mod_publish:
[00:32:37.958,282] &amp;lt;dbg&amp;gt; bt_mesh_access.mod_publish: period 0 ms
[00:32:38.089,874] &amp;lt;dbg&amp;gt; bt_mesh_access.publish_sent: err 0
[00:32:41.337,615] &amp;lt;dbg&amp;gt; bt_mesh_beacon.beacon_send:
[00:32:41.337,646] &amp;lt;dbg&amp;gt; bt_mesh_beacon.secure_beacon_send:
[00:32:41.337,677] &amp;lt;dbg&amp;gt; bt_mesh_beacon.bt_mesh_beacon_create: net_idx 0x0000 flags 0x00 NetID c2c18b859325129b
[00:32:41.337,707] &amp;lt;dbg&amp;gt; bt_mesh_beacon.bt_mesh_beacon_create: IV Index 0x00000000 Auth 5194e44054260785
[00:32:41.407,714] &amp;lt;dbg&amp;gt; bt_mesh_beacon.beacon_complete: err 0&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The following logs are generated by the light when group 0xC000 is switched on via proxy (the LEDs assigned to this address do illuminate):&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;D: rssi 0 net_if 2
D: 22 bytes: 57833b0a2d7674fdef17c646c9b83978fca2de36a21f
D:
D: NID 0x57 net_idx 0x0000
D: NID 0x57 net_idx 0x0000
D: IVI 0 net-&amp;gt;iv_index 0x00000000
D: src 0x0001
D: Decryption successful. Payload len 18
D: src 0x0001 dst 0xc000 ttl 5
D: PDU: 57050000770001c00076066f5839f3542a0c
D: No matching LPN for address 0xc000
D: src 0x0001 dst 0xc000 seq 0x00000077 friend_match 0
D: Payload 76066f5839f3542a0c
D: AFK 1 AID 0x36
D: Waiting 5 seconds
D: AKF 1 AID 0x36
D: len 8: 066f5839f3542a0c
D: app_idx 0x0000 src 0x0001 dst 0xc000
D: len 4: 8203010a
D: OpCode 0x00008203
D:
D:
D:
D:
D: TTL 5 CTL 0 dst 0xc000
D: Relaying packet. TTL is now 4
D:
D:
D: src 0x0001 seq 0x000077 old_iv 0
D: Stored RPL bt/mesh/RPL/1 value&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Any further suggestions would be much appreciated.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect Mesh Light/Light Switch Example unreliable</title><link>https://devzone.nordicsemi.com/thread/263646?ContentTypeID=1</link><pubDate>Fri, 07 Aug 2020 14:08:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f40c9a9-dddd-4e88-8ead-b84e836a132f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jacob,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you clarify what you meant by &amp;quot;&lt;span&gt;the relavent LED on the Light Switch illuminates but not on the Light when the Light Switch is pressed.&amp;quot; I assume you meant the light on the light server didn&amp;#39;t turn on.&amp;nbsp;&lt;br /&gt;Please be aware that the address 0xFFFFF only address all nodes, not all elements. This means this address is only consumed by the first element of each node, not all the elements of the node. So if you light switch model is on the 2nd element it won&amp;#39;t process the address destination 0xFFFF.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you configure the light server to subscribe to a group address (for example 0xC000) and you publish the command from the light switch to that group address, would it work without retransmission ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>