<?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>changing the layout of beacon</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45369/changing-the-layout-of-beacon</link><description>how to change nrf52832 beacon layout like this layout</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Mar 2019 15:12:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45369/changing-the-layout-of-beacon" /><item><title>RE: changing the layout of beacon</title><link>https://devzone.nordicsemi.com/thread/178745?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 15:12:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a1fa4c2-763d-468a-8223-dd594e7e2de2</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I would recommend you to take a look at the ble_app_beacon example in SDK 15.3. There, the advertising data set is configured through the function&amp;nbsp;&lt;em&gt;sd_ble_gap_adv_set_configure(..), &lt;/em&gt;where the data is provided as the second input parameter.&lt;/p&gt;
&lt;p&gt;The beacon data is put into the manufacturer specific data field (read more about it &lt;a href="https://devzone.nordicsemi.com/tutorials/b/bluetooth-low-energy/posts/ble-advertising-a-beginners-tutorial"&gt;here&lt;/a&gt;). In the beacon example you can see that the uint8_t array&amp;nbsp;&lt;em&gt;m_beacon_info&amp;nbsp;&lt;/em&gt;contains all the beacon data, and is later encoded an fed into the&amp;nbsp;&lt;em&gt;sd_ble_gap_adv_set_configure(..)&amp;nbsp;&lt;/em&gt;function. Thus, you have to modify the&amp;nbsp;&lt;em&gt;m_beacon_info &lt;/em&gt;array to change the layout, and remember to set the&amp;nbsp;APP_BEACON_INFO_LENGTH equal to the total size of the data in your new layout.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: changing the layout of beacon</title><link>https://devzone.nordicsemi.com/thread/178744?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 15:12:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:299b2278-be92-416e-815c-87bd528dfa3a</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I would recommend you to take a look at the ble_app_beacon example in SDK 15.3. There, the advertising data set is configured through the function&amp;nbsp;&lt;em&gt;sd_ble_gap_adv_set_configure(..), &lt;/em&gt;where the data is provided as the second input parameter.&lt;/p&gt;
&lt;p&gt;The beacon data is put into the manufacturer specific data field (read more about it &lt;a href="https://devzone.nordicsemi.com/tutorials/b/bluetooth-low-energy/posts/ble-advertising-a-beginners-tutorial"&gt;here&lt;/a&gt;). In the beacon example you can see that the uint8_t array&amp;nbsp;&lt;em&gt;m_beacon_info&amp;nbsp;&lt;/em&gt;contains all the beacon data, and is later encoded an fed into the&amp;nbsp;&lt;em&gt;sd_ble_gap_adv_set_configure(..)&amp;nbsp;&lt;/em&gt;function. Thus, you have to modify the&amp;nbsp;&lt;em&gt;m_beacon_info &lt;/em&gt;array to change the layout, and remember to set the&amp;nbsp;APP_BEACON_INFO_LENGTH equal to the total size of the data in your new layout.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>