<?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>Data advertisement in Ble_App_Uart</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60615/data-advertisement-in-ble_app_uart</link><description>I want to advertise a data in ble_app_uart continuously after equal interval of time. Can you please give me some clue. I don&amp;#39;t want to use beacon here</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 Apr 2020 08:47:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60615/data-advertisement-in-ble_app_uart" /><item><title>RE: Data advertisement in Ble_App_Uart</title><link>https://devzone.nordicsemi.com/thread/246715?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2020 08:47:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:473e365b-c792-4d5c-a6b2-92fda983f0f3</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The ble_app_uart example would be a good starting point for this. But you need to reconfigure the advertising parameters so that it advertises in non-connectable mode before you restart advertising (if you want it to advertise as a beacon).&amp;nbsp;&lt;/p&gt;
[quote user="manoj.hiwarkar"]And in beacon is it possible to change the major and minor values over the air.?[/quote]
&lt;p&gt;&amp;nbsp;No, the beacon example advertises in non-connectable mode. Steps you should implement:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Advertise in connectable mode&lt;/li&gt;
&lt;li&gt;Provide a service that let&amp;#39;s you write data to a characteristic.&lt;/li&gt;
&lt;li&gt;Reconfigure the advertising parameters and restart advertising with the data that was written to the characteristic.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data advertisement in Ble_App_Uart</title><link>https://devzone.nordicsemi.com/thread/246513?ContentTypeID=1</link><pubDate>Fri, 24 Apr 2020 12:25:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fa49cb3-45fd-476c-bad8-d41f55dff876</guid><dc:creator>Manoj Hiwarkar</dc:creator><description>&lt;p&gt;See actually I have to receive the data via bluetooth once and start advertising it continuously. Will it work like this?&amp;nbsp; Shall I try this with beacon code or uart code? And in beacon is it possible to change the major and minor values over the air.?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data advertisement in Ble_App_Uart</title><link>https://devzone.nordicsemi.com/thread/246510?ContentTypeID=1</link><pubDate>Fri, 24 Apr 2020 12:16:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a14faf50-cbd9-4b15-bcbc-cb66ced1caf7</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It should be defined at the top of the file. I&amp;#39;m using SDK 16.0 and it looks like this:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-3c4e42f5e6154a488a688c90e4450757/pastedimage1587730668534v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data advertisement in Ble_App_Uart</title><link>https://devzone.nordicsemi.com/thread/246507?ContentTypeID=1</link><pubDate>Fri, 24 Apr 2020 12:12:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7986f6e5-e793-448c-81f0-e5832a50998b</guid><dc:creator>Manoj Hiwarkar</dc:creator><description>&lt;p&gt;I am not able to find&amp;nbsp;&lt;span&gt;APP_ADV_DURATION and there are lot of&amp;nbsp;ble_evt_handler. Where exactly?. I am using SDK 13 by the way.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data advertisement in Ble_App_Uart</title><link>https://devzone.nordicsemi.com/thread/246505?ContentTypeID=1</link><pubDate>Fri, 24 Apr 2020 12:07:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38eabf98-5731-45ec-8513-a8ab511bcf8c</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you want to advertise continuously in the ble_app uart example then you can set&amp;nbsp;APP_ADV_DURATION to 0. The peripheral will then advertise continuously until a central connects to it. If you wish to continue advertising after a connection then you would have to call advertising_start() in the BLE_GAP_EVT_CONNECTED event in the ble_evt_handler.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note: You would have to increase the link count in the sdk_config.h file if you wish to connect to more centrals simultaneously.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>