<?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>The USB mesh dongle PYACI fail to connect to the provisioned LPN node after power cycle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102848/the-usb-mesh-dongle-pyaci-fail-to-connect-to-the-provisioned-lpn-node-after-power-cycle</link><description>I develop a nrf52833 light sensor using nRF5 SDK v17.0.2, it uses mesh for communication. in the past it works fine in normal power mode, my PC nrf52833 USB mesh dongle uses PYACI and can provision, connect with this device correctly in any state. Now</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Aug 2023 10:51:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102848/the-usb-mesh-dongle-pyaci-fail-to-connect-to-the-provisioned-lpn-node-after-power-cycle" /><item><title>RE: The USB mesh dongle PYACI fail to connect to the provisioned LPN node after power cycle</title><link>https://devzone.nordicsemi.com/thread/442743?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2023 10:51:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25d2b979-01e7-4a78-b72e-29963ddd05e5</guid><dc:creator>Hieu</dc:creator><description>[quote user="James He"]&amp;lt;Reply&amp;gt; Yes, my devices have only LPN sensors and PC dongle, there is not friendship node, I want to dongle communicate with the LPN node directly. it looks impossible.[/quote]
&lt;p&gt;It depends on what you mean by &amp;quot;directly.&amp;quot; In a mesh network, a message can be addressed for a single node, but would still need to jump through multiple relays before arriving at the node.&lt;/p&gt;
&lt;p&gt;My&amp;nbsp;understanding is that you want the LPN to&amp;nbsp;receive the data&amp;nbsp;&lt;em&gt;right away&lt;/em&gt;, and straight from the dongle, without jumping through any relay node. If so, then yes, perhaps that is not possible.&lt;/p&gt;
&lt;p&gt;If&amp;nbsp;the LPN &lt;em&gt;doesn&amp;#39;t have to&lt;/em&gt; receive the messages right away, then the dongle could be the Friend node itself. When the LPN wakes up,&amp;nbsp;it could poll the Friend Node dongle for messages it should receive.&lt;/p&gt;
[quote user="James He"]&amp;lt;Reply&amp;gt; Yes, my LPN is broadcasting proxy advertisement. then is it possible that I modify dongle firmware or PYACI to make dongle to communicate with LPN sensor through proxy connection?[/quote]
&lt;p&gt;&lt;/p&gt;
[quote user="James He"]&amp;lt;Reply&amp;gt; I&amp;#39;m not sure if I misunderstand your points. lets clarify: The mesh shell is in Dongle side or in LPN node side? do you mean I modify dongle firmware to make it to be a proxy client so that it can connect with LPN node&amp;#39;s proxy server side?[/quote]
&lt;p&gt;What I meant was setting up the Dongle as the Proxy Client, but still with the Mesh Shell. If you are using the Mesh Shell, then you don&amp;#39;t really need to modify anything, other than just enabling the feature in Kconfig.&lt;/p&gt;
&lt;p&gt;However, I looked into the Proxy Client support in NCS today, and find that it isn&amp;#39;t very versatile. It just connects to&amp;nbsp;&lt;em&gt;any&lt;/em&gt; Proxy Node advertising, so you cannot choose which&amp;nbsp;LPN to connect to.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which means that I am afraid this isn&amp;#39;t what you are looking for either.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;The last resort would be to not use the SDK&amp;#39;s Proxy Client feature, and setup your own. It&amp;#39;s exactly &amp;quot;modify the dongle firmware to make it a Proxy Client.&amp;quot;&lt;/p&gt;
&lt;p&gt;I am afraid that doing this is&amp;nbsp;not going to be trivial and likely require a lot of effort.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry that the SDK currently doesn&amp;#39;t have the support that you need with your setup.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The USB mesh dongle PYACI fail to connect to the provisioned LPN node after power cycle</title><link>https://devzone.nordicsemi.com/thread/442395?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2023 00:42:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec21c41e-8efc-485c-8aca-ae342edd8f24</guid><dc:creator>James He</dc:creator><description>&lt;p&gt;Hi Hieu&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I previously thought that NCS does not yet have support for the Proxy Client, but it already did.&amp;nbsp;While this is largely inherited from the Zephyr RTOS and Nordic hasn&amp;#39;t actively worked on much, it might be what you are looking for.&lt;/p&gt;
&lt;p&gt;With that feature, the Bluetooth Mesh Shell can&amp;nbsp;connect to an LPN node&amp;#39;s Proxy Server just like the smartphone apps can.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Besides that, the Bluetooth Mesh Shell also supports the Friend feature, if it suited your need.&lt;br /&gt;&lt;br /&gt;&amp;lt;Reply&amp;gt; I&amp;#39;m not sure if I misunderstand your points. lets clarify: The mesh shell is in Dongle side or in LPN node side? do you mean I modify dongle firmware to make it to be a proxy client so that it can connect with LPN node&amp;#39;s proxy server side?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The USB mesh dongle PYACI fail to connect to the provisioned LPN node after power cycle</title><link>https://devzone.nordicsemi.com/thread/442394?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2023 00:37:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b48c67c-5c6b-4600-bd86-b1b71fc4b783</guid><dc:creator>James He</dc:creator><description>&lt;blockquote class="quote"&gt;
&lt;div class="quote-user"&gt;James He said:&lt;/div&gt;
&lt;div class="quote-content"&gt;In my product structure there is not additional friendship node. so dongle cannot commminicate with provisioned lpn sensors? a friend node is necessary if dongle want to communicate with lpn node? is it possible that lpn works without friendship node?&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div class="quote-footer"&gt;&lt;/div&gt;
&lt;p&gt;You need a Friend Node to tell an LPN of what&amp;nbsp;the LPN missed while it was asleep. This communication only happens when the LPN wakes up and poll the Friend Node.&lt;/p&gt;
&lt;p&gt;You seem to be looking for a way to communicate with an LPN&amp;nbsp;&lt;em&gt;anytime the dongle/PC wants&lt;/em&gt;. Is that right? That perhaps is not possible.&amp;nbsp;&lt;/p&gt;
&lt;div class="quote-header"&gt;&amp;lt;Reply&amp;gt; Yes, my devices have only LPN sensors and PC dongle, there is not friendship node, I want to dongle communicate with the LPN node directly. it looks impossible.&lt;/div&gt;
&lt;blockquote class="quote"&gt;
&lt;div class="quote-user"&gt;James He said:&lt;/div&gt;
&lt;div class="quote-content"&gt;I test and find that Nordic App &amp;#39;nrf mesh&amp;#39; can connect the provisioned lpn sensor over PB-GATT, but&amp;nbsp; dongle cannot, because dongle PYACI doesn&amp;#39;t support PB-GATT, it supports only PB-ADV?&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div class="quote-footer"&gt;&lt;/div&gt;
&lt;p&gt;Is your LPN broadcasting its Proxy advertisements at all time? Then that makes sense how the nRF Mesh app can connect to it.&amp;nbsp;The app talks to the LPN, and it is done through the LPN itself working as the Proxy.&lt;br /&gt;&amp;lt;Reply&amp;gt; Yes, my LPN is broadcasting proxy advertisement. then is it possible that I modify dongle firmware or PYACI to make dongle to communicate with LPN sensor through proxy connection?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The USB mesh dongle PYACI fail to connect to the provisioned LPN node after power cycle</title><link>https://devzone.nordicsemi.com/thread/441956?ContentTypeID=1</link><pubDate>Thu, 17 Aug 2023 21:50:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bf36f39-ffe9-4895-8eda-cb5a7c83bd4f</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi James,&lt;/p&gt;
&lt;p&gt;I previously thought that NCS does not yet have support for the Proxy Client, but it already did.&amp;nbsp;While this is largely inherited from the Zephyr RTOS and Nordic hasn&amp;#39;t actively worked on much, it might be what you are looking for.&lt;/p&gt;
&lt;p&gt;With that feature, the Bluetooth Mesh Shell can&amp;nbsp;connect to an LPN node&amp;#39;s Proxy Server just like the smartphone apps can.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Besides that, the Bluetooth Mesh Shell also supports the Friend feature, if it suited your need.&lt;/p&gt;
&lt;p&gt;Refer:&amp;nbsp;&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.1/zephyr/connectivity/bluetooth/api/mesh/shell.html#mesh-models-cfg-friend-val-off-on"&gt;bluetooth/api/mesh/shell.html#mesh-models-cfg-friend-val-off-on&lt;br /&gt;&lt;/a&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.1/zephyr/connectivity/bluetooth/api/mesh/shell.html#proxy"&gt;bluetooth/api/mesh/shell.html#proxy&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The USB mesh dongle PYACI fail to connect to the provisioned LPN node after power cycle</title><link>https://devzone.nordicsemi.com/thread/441704?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2023 18:02:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9150b656-3daf-4eec-b9fd-68b0cf2c3bdc</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi James,&lt;/p&gt;
[quote user="James He"]In my product structure there is not additional friendship node. so dongle cannot commminicate with provisioned lpn sensors? a friend node is necessary if dongle want to communicate with lpn node? is it possible that lpn works without friendship node?[/quote]
&lt;p&gt;You need a Friend Node to tell an LPN of what&amp;nbsp;the LPN missed while it was asleep. This communication only happens when the LPN wakes up and poll the Friend Node.&lt;/p&gt;
&lt;p&gt;You seem to be looking for a way to communicate with an LPN&amp;nbsp;&lt;em&gt;anytime the dongle/PC wants&lt;/em&gt;. Is that right? That perhaps is not possible.&amp;nbsp;&lt;/p&gt;
[quote user="James He"]I test and find that Nordic App &amp;#39;nrf mesh&amp;#39; can connect the provisioned lpn sensor over PB-GATT, but&amp;nbsp; dongle cannot, because dongle PYACI doesn&amp;#39;t support PB-GATT, it supports only PB-ADV?[/quote]
&lt;p&gt;Is your LPN broadcasting its Proxy advertisements at all time? Then that makes sense how the nRF Mesh app can connect to it.&amp;nbsp;The app talks to the LPN, and it is done through the LPN itself working as the Proxy.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The USB mesh dongle PYACI fail to connect to the provisioned LPN node after power cycle</title><link>https://devzone.nordicsemi.com/thread/441524?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2023 08:08:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc8b5087-6344-4996-8828-ffb9b26de9b2</guid><dc:creator>James He</dc:creator><description>&lt;p&gt;Hi Hieu&lt;/p&gt;
&lt;p&gt;if I change to use mesh shell with nRF Connect SDK, I still face the problem that PC USB dongle cannot connect the provisioned LPN node?&lt;/p&gt;
&lt;p&gt;my product strcuture is: there are dozens of LPN sensors and one PC mesh dongle these two types of devices. this mesh dongle collects light value from each lpn sensor node over mesh, then dongle uses these info to control adjusting other lamps lightness. now I want to save power in sensors,so I configure sensors as LPN node.&lt;/p&gt;
&lt;p&gt;In my product structure there is not additional friendship node. so dongle cannot commminicate with provisioned lpn sensors? a friend node is necessary if dongle want to communicate with lpn node? is it possible that lpn works without friendship node?&lt;/p&gt;
&lt;p&gt;I test and find that Nordic App &amp;#39;nrf mesh&amp;#39; can connect the provisioned lpn sensor over PB-GATT, but&amp;nbsp; dongle cannot, because dongle PYACI doesn&amp;#39;t support PB-GATT, it supports only PB-ADV?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;James&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The USB mesh dongle PYACI fail to connect to the provisioned LPN node after power cycle</title><link>https://devzone.nordicsemi.com/thread/441402?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2023 13:23:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd6b1b5f-a7dd-4d75-b891-93eb235f9142</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi James,&lt;/p&gt;
&lt;p&gt;For Bluetooth Mesh&amp;nbsp;projects, we really recommend the nRF Connect SDK over the nRF5 SDK for Mesh. Therefore, before we begin, I must ask: Instead of the PyACI script, is it possible for you to move to &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.1/zephyr/connectivity/bluetooth/api/mesh/shell.html"&gt;the Mesh Shell solution on the nRF Connect SDK&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>