<?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>Is their any chance to update manufacture field independently</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15196/is-their-any-chance-to-update-manufacture-field-independently</link><description>Hi, In my project I need to measure current values for every sec and update those values to advertising data. So, I take manufacture field in advertising data to update the current values my advertising update function is shown below 
 static void updateAdData</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Jul 2016 11:35:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15196/is-their-any-chance-to-update-manufacture-field-independently" /><item><title>RE: Is their any chance to update manufacture field independently</title><link>https://devzone.nordicsemi.com/thread/58012?ContentTypeID=1</link><pubDate>Mon, 18 Jul 2016 11:35:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45825967-05e1-460a-a8ab-65b6e0aac264</guid><dc:creator>atune</dc:creator><description>&lt;p&gt;ble_advertising.h isn&amp;#39;t really suited for your use case methinks. You should probably write your own library to handle initialization and writing the manuf data, or modify ble_advertising to provide a function to only change the manuf data. You always need to have the &lt;code&gt;advdata&lt;/code&gt; information handy anyway, but you can write just the advertisement or scan response data with &lt;code&gt;ble_advdata_set&lt;/code&gt; (which uses &lt;code&gt;sd_ble_gap_adv_data_set&lt;/code&gt; after parsing the bytearray from the provided &lt;code&gt;ble_advdata_t&lt;/code&gt; structs).&lt;/p&gt;
&lt;p&gt;You &lt;em&gt;can&lt;/em&gt; use &lt;code&gt;ble_advdata_set&lt;/code&gt; with your current setup, it will change the advertisement data just fine. However whenever you use &lt;code&gt;ble_advertising_start&lt;/code&gt;, ble_advertising will overwrite the adv/sr data with the values you wrote at init.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>