<?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>Inserting data at scan request packet</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11696/inserting-data-at-scan-request-packet</link><description>Hello, this question is similar to this questions (Scan request packet, answered by John DeWitt and Aryan) 
 I&amp;#39;m using 
 
 
 IAR EWARM 7.20 
 
 
 PCA10001 V 2.0.0 (Changed the MCU to QFAAH00 Revision 3) 
 
 
 (I replaced the MCU to a QFAAH00</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Feb 2016 03:06:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11696/inserting-data-at-scan-request-packet" /><item><title>RE: Inserting data at scan request packet</title><link>https://devzone.nordicsemi.com/thread/44211?ContentTypeID=1</link><pubDate>Thu, 04 Feb 2016 03:06:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65fec65f-0984-43d7-8002-709661068c90</guid><dc:creator>MANGO</dc:creator><description>&lt;p&gt;Alright, I used &lt;code&gt;sd_ble_gap_address_set&lt;/code&gt; like this&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ble_gap_addr_t addr = {
0x01,
{0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF}
};
err_code = sd_ble_gap_address_set(BLE_GAP_ADDR_CYCLE_MODE_NONE, &amp;amp;addr);
APP_ERROR_CHECK(err_code);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and it worked. I set the scanning parameter to active scanning,&lt;/p&gt;
&lt;p&gt;so the Sniffer program captured the changed address.&lt;/p&gt;
&lt;p&gt;Thanks a million!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inserting data at scan request packet</title><link>https://devzone.nordicsemi.com/thread/44210?ContentTypeID=1</link><pubDate>Wed, 03 Feb 2016 11:46:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ada7f939-d299-45bb-b5c2-21b926f4e864</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;2)you use sd_ble_gap_address_set API to change device address. The documentation for it is very descriptive in ble_gap.h&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inserting data at scan request packet</title><link>https://devzone.nordicsemi.com/thread/44209?ContentTypeID=1</link><pubDate>Wed, 03 Feb 2016 10:53:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:624679b3-fb8e-42f6-8526-9d1faa575554</guid><dc:creator>MANGO</dc:creator><description>&lt;p&gt;Thanks for your reply. Okay, but how?&lt;/p&gt;
&lt;p&gt;I want to change my central device&amp;#39; address.&lt;/p&gt;
&lt;p&gt;Also, what about number 2?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inserting data at scan request packet</title><link>https://devzone.nordicsemi.com/thread/44208?ContentTypeID=1</link><pubDate>Wed, 03 Feb 2016 10:41:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0736d1e0-b405-4867-a0b1-52982e6b2d60</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;You wrote&lt;/p&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;I want to insert data at that ScanA field like battery level or temperature values.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;p&gt;You cannot do that. What I meant to say was that you can change your device address and that will reflect in ScanA field, apart from that you cannot add anything else.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>