<?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 it possible to send some user  data during advertising mode ?? if so how ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/2958/is-it-possible-to-send-some-user-data-during-advertising-mode-if-so-how</link><description>hi, i need to send some temperature value during advertising mode along with the ble name and address .is it possible ? if so how !</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Jul 2014 18:29:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/2958/is-it-possible-to-send-some-user-data-during-advertising-mode-if-so-how" /><item><title>RE: Is it possible to send some user  data during advertising mode ?? if so how ?</title><link>https://devzone.nordicsemi.com/thread/11237?ContentTypeID=1</link><pubDate>Thu, 10 Jul 2014 18:29:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e6e695b-fbdc-4f06-bd36-22aee8797f47</guid><dc:creator>Nikita</dc:creator><description>&lt;p&gt;It works fine for me to periodically update data with ble_advdata_set as John DeWitt  suggested. Show your code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to send some user  data during advertising mode ?? if so how ?</title><link>https://devzone.nordicsemi.com/thread/11240?ContentTypeID=1</link><pubDate>Wed, 09 Jul 2014 10:37:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da946a6d-3ce6-4cfb-9f67-434259b5fbce</guid><dc:creator>hrg</dc:creator><description>&lt;p&gt;thankyu !! pls chk the above comment dat i posted recently &amp;amp; pls reply .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to send some user  data during advertising mode ?? if so how ?</title><link>https://devzone.nordicsemi.com/thread/11236?ContentTypeID=1</link><pubDate>Wed, 09 Jul 2014 07:59:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbddf56c-71a7-4c7d-a30f-ac30ad7c68f4</guid><dc:creator>hrg</dc:creator><description>&lt;p&gt;still i coudnt get tempeature values in scanned response .it is showing always 00 !!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to send some user  data during advertising mode ?? if so how ?</title><link>https://devzone.nordicsemi.com/thread/11239?ContentTypeID=1</link><pubDate>Tue, 08 Jul 2014 12:18:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d7b45be-5334-415c-90ac-825387d26c5f</guid><dc:creator>John</dc:creator><description>&lt;p&gt;Yes you can call:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/**@brief Stop advertising (GAP Discoverable, Connectable modes, Broadcast Procedure).
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;&lt;/li&gt;
&lt;li&gt;@return @ref NRF_SUCCESS The BLE stack has stopped advertising.&lt;/li&gt;
&lt;li&gt;@return @ref NRF_ERROR_INVALID_STATE Invalid state to perform operation (most probably not in advertising state).
*/
SVCALL(SD_BLE_GAP_ADV_STOP, uint32_t, sd_ble_gap_adv_stop(void));&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;However, I don&amp;#39;t believe you have to stop and restart advertising to update data in the advertising packet. You just need to call ble_advdata_set any time you want to update your advertising data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to send some user  data during advertising mode ?? if so how ?</title><link>https://devzone.nordicsemi.com/thread/11238?ContentTypeID=1</link><pubDate>Tue, 08 Jul 2014 04:04:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0938ef3b-dc9e-406a-9c12-3cff7b0adb79</guid><dc:creator>hrg</dc:creator><description>&lt;p&gt;The thing is i use an external mcu to get the thermometer readings and transfer it to blr through uart . i want to display this value as scanned response data . now am not getting values ! it is always showing 00 !!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to send some user  data during advertising mode ?? if so how ?</title><link>https://devzone.nordicsemi.com/thread/11234?ContentTypeID=1</link><pubDate>Mon, 07 Jul 2014 05:38:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:196a4d66-3a2a-452d-b851-a85dce50a554</guid><dc:creator>hrg</dc:creator><description>&lt;p&gt;Thankyu nikitha&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to send some user  data during advertising mode ?? if so how ?</title><link>https://devzone.nordicsemi.com/thread/11233?ContentTypeID=1</link><pubDate>Wed, 02 Jul 2014 08:20:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a14d8dcd-ce97-48d8-a0a1-889f3c84cac4</guid><dc:creator>Nikita</dc:creator><description>&lt;p&gt;I don&amp;#39;t quite get it. You say that the data in advertising packets does not change? To change the data in advertising packets you need to reinitialize advertising, i.e. 1. Stop advertising. 2. Initialize advertising with new data. 3. Start advertising..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to send some user  data during advertising mode ?? if so how ?</title><link>https://devzone.nordicsemi.com/thread/11232?ContentTypeID=1</link><pubDate>Wed, 02 Jul 2014 06:41:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29baad99-f474-4858-878d-7d7abcb3adb7</guid><dc:creator>hrg</dc:creator><description>&lt;p&gt;i have a doubt ! unfortunately am not gettin the same temperature hex values in the scanned response data !!! it is showing some other value !! it doesnt match with the value obtained after pairing! is both the values r same or different ??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to send some user  data during advertising mode ?? if so how ?</title><link>https://devzone.nordicsemi.com/thread/11235?ContentTypeID=1</link><pubDate>Tue, 01 Jul 2014 15:08:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4aa8035-751a-46dc-9955-4bc34190a0fb</guid><dc:creator>Nikita</dc:creator><description>&lt;p&gt;It depends on data purpose. To send some user data in advertising packet you can either:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Send it as manufacturer specific data field.&lt;/li&gt;
&lt;li&gt;Send it as data related to one of your services in service data field.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to send some user  data during advertising mode ?? if so how ?</title><link>https://devzone.nordicsemi.com/thread/11231?ContentTypeID=1</link><pubDate>Tue, 01 Jul 2014 12:57:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67735e35-ab20-409e-bfd5-d27331b42432</guid><dc:creator>hrg</dc:creator><description>&lt;p&gt;but under scanned response its showing Service Data !.how to customize this label ??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to send some user  data during advertising mode ?? if so how ?</title><link>https://devzone.nordicsemi.com/thread/11230?ContentTypeID=1</link><pubDate>Tue, 01 Jul 2014 12:06:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:022da14a-944e-40c0-a26d-ad76fa542fe0</guid><dc:creator>hrg</dc:creator><description>&lt;p&gt;Bingo !! thankyou very much  :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to send some user  data during advertising mode ?? if so how ?</title><link>https://devzone.nordicsemi.com/thread/11229?ContentTypeID=1</link><pubDate>Tue, 01 Jul 2014 10:02:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:127ebd0e-0ab3-4472-a957-fd307a0ce6cb</guid><dc:creator>Nikita</dc:creator><description>&lt;p&gt;Like &lt;a href="https://devzone.nordicsemi.com/question/12846/adding-service_data-to-advertising-custom-service/?answer=12850#post-id-12850"&gt;this&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>