<?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>Updating advertising data between iBeacons and AltBeacons</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64616/updating-advertising-data-between-ibeacons-and-altbeacons</link><description>I am able to switch between two beacon types i.e. iBeacon and a manufacturer&amp;#39;s specific beacon when they are both the same length. I am having trouble switching between an AltBeacon, 27 bytes in length and a 26-byte iBeacon. It seems to crash the SD.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Aug 2020 11:52:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64616/updating-advertising-data-between-ibeacons-and-altbeacons" /><item><title>RE: Updating advertising data between iBeacons and AltBeacons</title><link>https://devzone.nordicsemi.com/thread/265081?ContentTypeID=1</link><pubDate>Tue, 18 Aug 2020 11:52:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40c8a38a-a101-433c-9866-3fcd9176e766</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks for the update. So I guess the Altbeacon payload is 31 bytes when flags and length fields are included.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating advertising data between iBeacons and AltBeacons</title><link>https://devzone.nordicsemi.com/thread/264960?ContentTypeID=1</link><pubDate>Mon, 17 Aug 2020 23:14:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2330c6ee-a94e-44ec-a7c6-14b30764712a</guid><dc:creator>zkarim</dc:creator><description>&lt;p&gt;The length was modified to 30 for iBeacons.&amp;nbsp; Hence that AltBeacons were being truncated when I switched back to transmitting them.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating advertising data between iBeacons and AltBeacons</title><link>https://devzone.nordicsemi.com/thread/264959?ContentTypeID=1</link><pubDate>Mon, 17 Aug 2020 23:13:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83a5c8a8-9e16-42f0-830d-31c19d7e686a</guid><dc:creator>zkarim</dc:creator><description>&lt;p&gt;Yes, that worked perfectly.&amp;nbsp; Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating advertising data between iBeacons and AltBeacons</title><link>https://devzone.nordicsemi.com/thread/264737?ContentTypeID=1</link><pubDate>Mon, 17 Aug 2020 07:00:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a8d2e88-60d6-4ae7-ba95-59d959087437</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, the default length is 31. Please try to pass 31 as the input length when encoding the AltBeacon data, then check what the length of the encoded data becomes.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating advertising data between iBeacons and AltBeacons</title><link>https://devzone.nordicsemi.com/thread/264697?ContentTypeID=1</link><pubDate>Sat, 15 Aug 2020 18:58:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:148e3d26-14d3-41ab-b769-dde170b42200</guid><dc:creator>zkarim</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What is the default length?&amp;nbsp; Is it 31? I refresh it to the length of the block that I am encoding (24 for AltBeacon and 23 for iBeacon).&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Zia&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating advertising data between iBeacons and AltBeacons</title><link>https://devzone.nordicsemi.com/thread/263812?ContentTypeID=1</link><pubDate>Mon, 10 Aug 2020 12:09:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd981286-3424-4fdb-a621-905b2a43898a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Please make sure m_adv_data.adv_data.len is always re-initialized to the default length prior to calling&amp;nbsp;ble_advdata_encode().The p_len input for &lt;span&gt;&lt;a title="ble_advdata_encode" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.0/group__ble__sdk__lib__advdata.html?cp=7_1_6_2_7_25#ga8534b0db1e46d3cdd4db0dc593071b74"&gt;ble_advdata_encode&lt;/a&gt;&lt;/span&gt;() is also used to output the size of the encoded data, which may explain why data gets truncated when trying to encode the larger AltBeacon payload.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>