<?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>How to set the device to non connectable advertising mode?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/896/how-to-set-the-device-to-non-connectable-advertising-mode</link><description>Hi,
We modified the ble_app_hrs code to work with accelerometer peripheral, and we have created some custom characteristics with custom uuid&amp;#39;s. Now we need to set the device in non connectable advertisement mode, and after completing some operation we</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Nov 2013 11:16:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/896/how-to-set-the-device-to-non-connectable-advertising-mode" /><item><title>RE: How to set the device to non connectable advertising mode?</title><link>https://devzone.nordicsemi.com/thread/4371?ContentTypeID=1</link><pubDate>Fri, 15 Nov 2013 11:16:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75a38a11-55b8-4c04-beca-dc475b96ffe0</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;You don&amp;#39;t give a lot of information, but setting the .type of a ble_gap_adv_params_t structure to BLE_GAP_ADV_TYPE_ADV_NONCONN_IND is the correct way to advertise non-connectable. I assume that you check the error code of your adv_start call. What error do you get back?&lt;/p&gt;
&lt;p&gt;You should also be aware that there are further limitations on the allowed advertising intervals when advertising non-connectable, mainly that the interval must be at least 100 ms.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>