<?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>nRF52840 dongle serial hex for interaction with interactive pyaci</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113394/nrf52840-dongle-serial-hex-for-interaction-with-interactive-pyaci</link><description>Hello developers, 
 
 Few months ago I started developing serial hex document for nRF52840 dongle which will be able to communicate with interactive pyaci so our company can provision and set the correct configurations in the mesh network of bluetooth</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Aug 2024 21:38:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113394/nrf52840-dongle-serial-hex-for-interaction-with-interactive-pyaci" /><item><title>RE: nRF52840 dongle serial hex for interaction with interactive pyaci</title><link>https://devzone.nordicsemi.com/thread/496724?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2024 21:38:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3c527cf-bf2b-416e-a2f5-96b35397b5b3</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi zanluka,&lt;/p&gt;
&lt;p&gt;Our apologies for the late follow up.&lt;/p&gt;
&lt;p&gt;As Maria said, it would be hard for us to&amp;nbsp;deep dive into your project to find what is wrong. A big part of the reason is that the PyACI script is a part of the nRF5 SDK solution, which is in maintenance mode. See&amp;nbsp;the note in the first page of the SDK documentation:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/struct_sdk/struct/sdk_mesh_latest.html"&gt;https://infocenter.nordicsemi.com/topic/struct_sdk/struct/sdk_mesh_latest.html&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I personally haven&amp;#39;t touched the PyACI script for many months. Our current solution for&amp;nbsp;a BT Mesh - PC kind of bridge is &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/connectivity/bluetooth/api/mesh/shell.html"&gt;Mesh Shell&lt;/a&gt; on the nRF Connect SDK. It provides a human-operable shell interface, which can be over UART or USB CDC ACM.&lt;/p&gt;
&lt;p&gt;Firstly, I would like to ask: How much effort has you put into the current project? Is it possible for you to switch to Mesh Shell now?&lt;/p&gt;
&lt;p&gt;Next. I see that your PDF documents describe the process for a demo. To do this demo,&amp;nbsp;must you use the PyACI script? You could easily provision the mesh devices with &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Mesh/GetStarted"&gt;the nRF Mesh mobile app&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Finally,&amp;nbsp;if I recall correctly, the PyACI script&amp;nbsp;just provides you&amp;nbsp;an interactive interface. It should connect with a COM port directly and not require any user configurations. Am I right to understand that you had to modify the script? Why is that?&lt;/p&gt;
&lt;p&gt;For reference, this is the log from my last time working with it, where I provisioned a few devices and bound an app key to them. I reached this point following the documentation in&amp;nbsp;&lt;em&gt;nrf5sdkformeshv500src\scripts\interactive_pyaci\doc&lt;/em&gt; and &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v5.0.0/md_scripts_interactive_pyaci_README.html"&gt;online documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;db = MeshDB(&amp;quot;database/example_database.json&amp;quot;)

p = Provisioner(device, db)
p.scan_start()
p.scan_stop()
p.provision(&amp;quot;b9ed5250206146188612adafdf9e29e7&amp;quot;, 0, &amp;quot;Sensor&amp;quot;, 0, 0)
p.provision(&amp;quot;f1f09dbd97e649818e0f62426819e67e&amp;quot;, 0, &amp;quot;Observer&amp;quot;, 0, 0)

cc = ConfigurationClient(db)
device.model_add(cc)

cc.publish_set(8, 0)
cc.composition_data_get()
cc.appkey_add(0)


cc.model_app_bind(db.nodes[0].unicast_address, 0, mt.ModelId(0x1100))
cc.model_publication_set(db.nodes[0].unicast_address, mt.ModelId(0x1100), mt.Publish(db.nodes[1].unicast_address, index=0, ttl=2, period=3000))
cc.model_publication_get(db.nodes[0].unicast_address, mt.ModelId(0x1100))


cc.model_app_bind(db.nodes[0].unicast_address, 0, mt.ModelId(0x1101))
cc.model_subscription_add(db.nodes[0].unicast_address, db.groups[0].address, mt.ModelId(0x1101))
cc.model_subscription_get(db.nodes[0].unicast_address, mt.ModelId(0x1101))



cc.publish_set(9, 1)
cc.composition_data_get()
cc.appkey_add(0)

cc.model_app_bind(db.nodes[1].unicast_address, 0, mt.ModelId(0x1102))

cc.model_subscription_add(db.nodes[1].unicast_address, db.groups[0].address, mt.ModelId(0x1102))
cc.model_subscription_get(db.nodes[1].unicast_address, mt.ModelId(0x1102))
cc.model_publication_set(db.nodes[1].unicast_address, mt.ModelId(0x1102), mt.Publish(db.nodes[1].unicast_address, index=0, ttl=2))
cc.model_publication_get(db.nodes[1].unicast_address, mt.ModelId(0x1102))&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 dongle serial hex for interaction with interactive pyaci</title><link>https://devzone.nordicsemi.com/thread/495636?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2024 12:51:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8a0f254-9a79-4572-924a-3954611de686</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello zanluka,&lt;/p&gt;
&lt;p&gt;I will begin by setting some expectations. Us Nordic support engineers will most likely not be able to deeply research your project, but we are able to help you with specific issues.&lt;/p&gt;
&lt;p&gt;Since your support ticket is public to the rest of the DevZone community anyone with insights on this are encouraged to help out.&lt;/p&gt;
&lt;p&gt;I will have a closer look on your ticket contents and a quick look through your project within the next couple of days.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>