<?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>Facing problem in advertising packet formation.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24776/facing-problem-in-advertising-packet-formation</link><description>Hello,
I want to make beacon with my uuids. I am referring to code ble_app_beacon code from sdk 12.2.2
I have made changes according to my requirements in my code.
I am using nrf connect app. My challenge is I want to get one more field in (Raw data</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 06 Sep 2017 04:08:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24776/facing-problem-in-advertising-packet-formation" /><item><title>RE: Facing problem in advertising packet formation.</title><link>https://devzone.nordicsemi.com/thread/97558?ContentTypeID=1</link><pubDate>Wed, 06 Sep 2017 04:08:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94b4fc72-390e-4f6a-a4e2-ca7cbf7c9773</guid><dc:creator>Newbie</dc:creator><description>&lt;p&gt;Hi,
Somehow I was able to figure out my problem.
Thanks for help though.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Facing problem in advertising packet formation.</title><link>https://devzone.nordicsemi.com/thread/97559?ContentTypeID=1</link><pubDate>Fri, 01 Sep 2017 12:02:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:315cadba-a130-4252-92d5-56c676e5cd69</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;When I tried your code &lt;code&gt;sd_ble_gap_device_name_set()&lt;/code&gt; returned error 7 because you have not initialized the variable &amp;#39;sec_mode&amp;#39;. You can initialize it with e.g.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;BLE_GAP_CONN_SEC_MODE_SET_OPEN(&amp;amp;sec_mode);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Is this your problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Facing problem in advertising packet formation.</title><link>https://devzone.nordicsemi.com/thread/97557?ContentTypeID=1</link><pubDate>Wed, 30 Aug 2017 08:43:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e63a74ba-6b7f-4802-a470-d60b50bc8e98</guid><dc:creator>Newbie</dc:creator><description>&lt;p&gt;Hello Martin,
I can add extra bytes in&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define APP_BEACON_UUID                 0xA1,0x02,0x04, 0x2F, 0x64, 0x01, \
                                                            0x3A, 0x03, 0x4A, 0x00, \
                                                           0x3E, 0x01,0x02,0x03
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;By changing the length in&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define APP_BEACON_INFO_LENGTH          0x0B 
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;So I don&amp;#39;t think advertisement packet is full.
Can you try at your end by adding few extra bytes and test it. I have tested it and its working.
Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Facing problem in advertising packet formation.</title><link>https://devzone.nordicsemi.com/thread/97556?ContentTypeID=1</link><pubDate>Wed, 30 Aug 2017 07:20:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8747f280-3b39-4a71-8202-87f84bc4b653</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;It looks like your advertising packet is full. It can only hold 31 bytes. &lt;a href="https://devzone.nordicsemi.com/question/37952/setting-tx_power_level/#37997"&gt;Here is an explanation of how it works.&lt;/a&gt; You can consider to move some of the data over to the scan response packet and effectively double your advertising payload capacity.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>