<?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</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19907/change-advertising-data</link><description>Simple question: 
 
 I successfully use ble_advertising_init () with adv_data, scan_data and adv_opts. 
 I include manufacturer data via scan_data.p_manuf_specific_data = &amp;amp;manuf_data . This also works well 
 
 Now I want to change my advertising</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 Mar 2017 12:41:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19907/change-advertising-data" /><item><title>RE: Change advertising data</title><link>https://devzone.nordicsemi.com/thread/77464?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2017 12:41:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5635f0dd-84d0-40ce-a51a-4681308e9fa6</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Not sure how this is related to your original question. But calling sd_ble_gatts_sys_attr_set with &amp;#39;null&amp;#39; as parameter initializes the attribute. The command is also used to restore the system attributes (e.g. cccd states) when reconnecting to a known/bonded device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change advertising data</title><link>https://devzone.nordicsemi.com/thread/77463?ContentTypeID=1</link><pubDate>Fri, 17 Mar 2017 15:06:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a3d07c2-c949-4ea5-8cc0-5bb07f2600fd</guid><dc:creator>oneguy</dc:creator><description>&lt;p&gt;Ok we found the answer:&lt;/p&gt;
&lt;p&gt;We have done what was suggested in &lt;a href="https://devzone.nordicsemi.com/question/38861/ble-nus-tx-cccd-discovery/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt; (i.e. added code for the BLE_GATTS_EVT_SYS_ATTR_MISSING event)&lt;/p&gt;
&lt;p&gt;2 questions remain:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;what exactly does &lt;code&gt;sd_ble_gatts_sys_attr_set&lt;/code&gt; do, seeing that all parameters are 0?&lt;/li&gt;
&lt;li&gt;why does my code work with Android/iOS apps, but not under windows?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Thank you for your help so far.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change advertising data</title><link>https://devzone.nordicsemi.com/thread/77462?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2017 09:55:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be696ecf-a4f2-42c7-af12-adc4f940cb9a</guid><dc:creator>oneguy</dc:creator><description>&lt;p&gt;Thank you jing&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change advertising data</title><link>https://devzone.nordicsemi.com/thread/77461?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2017 07:56:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:316b4a1a-858d-41c0-bc4a-4a0e32491413</guid><dc:creator>jing</dc:creator><description>&lt;p&gt;You can call sd_ble_gap_adv_data_set() to replace or clear your advertising packet and/or scan response packet even while advertising.  But unlike ble_advertising_init(), this API expects raw data from you.&lt;/p&gt;
&lt;p&gt;jing&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>