<?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>nrf51822 advertising interval in Connectable undirected mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12169/nrf51822-advertising-interval-in-connectable-undirected-mode</link><description>Hi, 
 i am using nrf51822 for my application. 
 i am using connectable undirected mode with 40 ms advertising interval but when i am seeing the device data in the nrf master control panel app,it is showing advertised interval as N/A. 
 plz explain</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 29 Feb 2016 12:56:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12169/nrf51822-advertising-interval-in-connectable-undirected-mode" /><item><title>RE: nrf51822 advertising interval in Connectable undirected mode</title><link>https://devzone.nordicsemi.com/thread/46054?ContentTypeID=1</link><pubDate>Mon, 29 Feb 2016 12:56:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e50ea010-6ea0-47c5-9c34-53e176ab179e</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Could you  use &lt;a href="https://www.nordicsemi.com/eng/nordic/download_resource/26386/14/52395504"&gt;the sniffer&lt;/a&gt;, and catch what is actually being transferred over the air? And then upload the sniffer trace here?&lt;/p&gt;
&lt;p&gt;If you run your application in debug mode, and set a break point in app_error_handler(..), is there an error at any point?  When debugging the application, I would recommend you to set &amp;quot;DEBUG&amp;quot; in &amp;quot;options for target --&amp;gt; C/C++ --&amp;gt; Define&amp;quot;. By doing so, the chip will not reset when in app_error_handler, instead it will go  into an infinity loop.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 advertising interval in Connectable undirected mode</title><link>https://devzone.nordicsemi.com/thread/46053?ContentTypeID=1</link><pubDate>Mon, 29 Feb 2016 10:06:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:835317be-34b5-4892-9c9a-09f7100615df</guid><dc:creator>shanky</dc:creator><description>&lt;p&gt;yes i also tried with one of your example settings,&lt;/p&gt;
&lt;p&gt;adv_params.type        = BLE_GAP_ADV_TYPE_ADV_IND;
adv_params.p_peer_addr = NULL;
adv_params.fp          = BLE_GAP_ADV_FP_ANY;
adv_params.interval    = APP_ADV_INTERVAL; //64(40ms)
adv_params.timeout     = APP_ADV_TIMEOUT_IN_SECONDS;   //0(No timeout)&lt;/p&gt;
&lt;p&gt;these are the settings of advertising.&lt;/p&gt;
&lt;p&gt;when i tried with non connectable mode it is working fine for that i gave 200 ms but when i  set connectable mode for that value is not updating as per interval time(40 ms).for my application i need to connect with  central.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 advertising interval in Connectable undirected mode</title><link>https://devzone.nordicsemi.com/thread/46052?ContentTypeID=1</link><pubDate>Mon, 29 Feb 2016 09:24:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25560672-8050-44ac-879d-49b8c0556082</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;What are your advertising settings? Do you see the same problem if you copy the advertising settings from one of our examples to your application?&lt;/p&gt;
&lt;p&gt;If you do what shibshab suggests, use the sniffer, do you see that your device is advertising correctly?&lt;/p&gt;
&lt;p&gt;For continuous advertising, with not timeout, the timeout parameters should be set to &amp;#39;0&amp;#39;.
If you don&amp;#39;t want any centrals to connect to your device, you should set the advertising type to &amp;#39;non connectable&amp;#39;, BLE_GAP_ADV_TYPE_ADV_NONCONN_IND.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 advertising interval in Connectable undirected mode</title><link>https://devzone.nordicsemi.com/thread/46051?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2016 13:32:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a005b88b-d481-479f-bb3e-f72f711cf786</guid><dc:creator>shanky</dc:creator><description>&lt;p&gt;Thanks for reply&lt;/p&gt;
&lt;p&gt;the problem is i am getting data only 1 time after that data it is not updating for that i need to reopen the app then only i am able to see the data.but  i need continuous advertising.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 advertising interval in Connectable undirected mode</title><link>https://devzone.nordicsemi.com/thread/46050?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2016 12:57:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:787a19f0-e2cc-4120-aef2-607ff84966d7</guid><dc:creator>shibshab</dc:creator><description>&lt;p&gt;Not a question to your answer, but might be helpful: Why do you need to see the advertising interval in the Master Control Panel app? You can get more precise data if you use the &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF-Sniffer"&gt;nRF-Sniffer&lt;/a&gt;. The sniffer will allow you to see each individual ADV packet in Wireshark, along with metadata, such as the interval between them. This will of course require that you have a spare nRF51822.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>