<?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>Change advertising data in Mesh proxy / dfu / provisioner</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67646/change-advertising-data-in-mesh-proxy-dfu-provisioner</link><description>What is the best way to change advertising data for each advertising packet in Mesh SDK&amp;#39;s each of proxy / dfu / provisioner? 
 
 Using Mesh SDK 4.1, it would be ideal to be able to: 
 1. Have a callback after transmit of advertising packet 
 2. Have easy</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 Nov 2020 09:37:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67646/change-advertising-data-in-mesh-proxy-dfu-provisioner" /><item><title>RE: Change advertising data in Mesh proxy / dfu / provisioner</title><link>https://devzone.nordicsemi.com/thread/277992?ContentTypeID=1</link><pubDate>Mon, 02 Nov 2020 09:37:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:671c3bbf-044f-4a37-b6f5-63c12daf0771</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;If you are planning to do non-connectable advertising you can use the mesh stack to send your advertising packet (in addition to mesh packet and connectable Proxy advertising packet).&lt;/p&gt;
&lt;p&gt;Please have a look at the beaconing example. In the example we send a beaconing advertising packet in addition to mesh packets. You can choose the number of repeats (can set to 1) and receive the call back (advertiser_tx_complete_cb_t)&amp;nbsp; when it&amp;#39;s finished sending.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change advertising data in Mesh proxy / dfu / provisioner</title><link>https://devzone.nordicsemi.com/thread/277680?ContentTypeID=1</link><pubDate>Thu, 29 Oct 2020 19:28:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23a7680c-d5c3-4020-8cae-159cbf9e2442</guid><dc:creator>iva2k</dc:creator><description>&lt;p&gt;It needs to be non-connectable. The data is telemetry / debug nature. We want to be able to send small stream of data out in advertising/beaconing type packets as soon as possible as device powers on, and provide insight into what device firmware is doing. So each new advertising packet will have new chunk of data from a queue. It will be off in all devices by default, but the ones that have issues can be turned on at power-on. Advertising packets will be received and decoded by another device altogether, not by mesh. Our initial idea was to insert few bytes into active advertising packets (not the mesh payload ones), but it looks like needs redesigning the whole mesh layers stack to do it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change advertising data in Mesh proxy / dfu / provisioner</title><link>https://devzone.nordicsemi.com/thread/277573?ContentTypeID=1</link><pubDate>Thu, 29 Oct 2020 10:47:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90498b48-db8b-4c05-8032-6b376716bc0c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can use mesh to send advertising packet but it would be non-connectable as the mesh stack can&amp;#39;t handle a connection. It uses the softdevice for that.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you give some more information about your application requirements ? which data you want to change and does it need to be connectable advertising ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change advertising data in Mesh proxy / dfu / provisioner</title><link>https://devzone.nordicsemi.com/thread/277504?ContentTypeID=1</link><pubDate>Thu, 29 Oct 2020 03:49:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01940de3-0bc4-4f35-98d8-d8f8d1efee83</guid><dc:creator>iva2k</dc:creator><description>&lt;p&gt;Thanks, that confirms what I concluded looking at mesh layers code.&lt;/p&gt;
&lt;p&gt;So to send some dynamic data out (which should be outside of mesh), is it possible to use advertiser.c layer directly? Will it work if it is called before mesh_init() is called?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change advertising data in Mesh proxy / dfu / provisioner</title><link>https://devzone.nordicsemi.com/thread/277361?ContentTypeID=1</link><pubDate>Wed, 28 Oct 2020 11:00:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e8627e2-b7af-43a6-9d02-2ecebc155aa2</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Ilya,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In our Mesh SDK the mesh stack doesn&amp;#39;t handle the connectable advertising. It&amp;#39;s handled by the softdevice.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Currently there is no way to receive an event for each advertising packet. You can setup a notification when the radio is active&amp;amp;inactive but if it&amp;#39;s a mesh application it&amp;#39;s more complex to monitor if it&amp;#39;s the advertising activity or not.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;The easiest solution if you don&amp;#39;t have a very short advertising interval is to use a timer to change the advertising data periodically.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>