<?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>Can we change BLE advertisement settings while ADV is ongoing, without stopping it?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17875/can-we-change-ble-advertisement-settings-while-adv-is-ongoing-without-stopping-it</link><description>I would like to advertise two different sets of data in parallel, such that one ADV packet is ongoing (say, A), and then I switch to the other packet (say, B) with different ADV settings.
I know that we can change ADV data on the fly, but I would like</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Nov 2016 13:43:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17875/can-we-change-ble-advertisement-settings-while-adv-is-ongoing-without-stopping-it" /><item><title>RE: Can we change BLE advertisement settings while ADV is ongoing, without stopping it?</title><link>https://devzone.nordicsemi.com/thread/68907?ContentTypeID=1</link><pubDate>Wed, 23 Nov 2016 13:43:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:279cfc7d-c90e-47ab-9c2f-4ed81d519e84</guid><dc:creator>Uday Agarwal</dc:creator><description>&lt;p&gt;Thanks Kristin.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can we change BLE advertisement settings while ADV is ongoing, without stopping it?</title><link>https://devzone.nordicsemi.com/thread/68906?ContentTypeID=1</link><pubDate>Wed, 23 Nov 2016 12:51:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bdf25d3-aad4-4dad-afc9-750a00063cd7</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Yes, advertising interval is set with sd_ble_gap_adv_start(..). You will therefore need to re-start advertising (sd_ble_gap_adv_start() ) to change the advertising timeout.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can we change BLE advertisement settings while ADV is ongoing, without stopping it?</title><link>https://devzone.nordicsemi.com/thread/68903?ContentTypeID=1</link><pubDate>Tue, 22 Nov 2016 09:25:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:761dc34c-0217-4524-b429-1fa587ea9b69</guid><dc:creator>Uday Agarwal</dc:creator><description>&lt;p&gt;I see this format of the API you mentioned:
*SVCALL(SD_BLE_GAP_ADV_DATA_SET, uint32_t, sd_ble_gap_adv_data_set(uint8_t const *p_data, uint8_t dlen, uint8_t const &lt;em&gt;p_sr_data, uint8_t srdlen));&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;This is it, right? I am using SDK 11.0.0_89a8197. This is just data; no other parameters.
Am I missing something?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can we change BLE advertisement settings while ADV is ongoing, without stopping it?</title><link>https://devzone.nordicsemi.com/thread/68905?ContentTypeID=1</link><pubDate>Tue, 22 Nov 2016 07:32:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:298b60b0-286f-4fb7-b0c2-e895e56d406d</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Yes, you can change adv timeout and adv  type as well, since they are also parameters in sd_ble_gap_adv_data_set(..). If setting a new timeout, I would recommend you to test how that timeout is applied, if the timer is reset when setting a new advertising timeout or if the counting is continued. For testing, new advertising data can be set upon a button push. You can then measure the time it takes for the advertiser to time out.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can we change BLE advertisement settings while ADV is ongoing, without stopping it?</title><link>https://devzone.nordicsemi.com/thread/68904?ContentTypeID=1</link><pubDate>Tue, 22 Nov 2016 07:06:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6434526b-cdb8-4740-ae95-7467a449c1f4</guid><dc:creator>Uday Agarwal</dc:creator><description>&lt;p&gt;Thanks Kristin, but I was looking to change advertisement settings (such as ADV timeout, or ADV type), not data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can we change BLE advertisement settings while ADV is ongoing, without stopping it?</title><link>https://devzone.nordicsemi.com/thread/68902?ContentTypeID=1</link><pubDate>Tue, 22 Nov 2016 07:02:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:685ef44f-8a4f-4854-bcca-661dacb1a028</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Yes, you can change advertising data  &amp;quot;on-the-fly&amp;quot;. While your device is advertising, you can call sd_ble_gap_adv_data_set(..) and the advertising data will change.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>