<?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>Eddystone TLM + iBeacon UUID advertising issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71128/eddystone-tlm-ibeacon-uuid-advertising-issue</link><description>Hi, 
 I have an issue with broadcasting Eddystone TLM + iBeacon, my project is based ble_app_eddystone example and nRF5_SDK_17.0.0_9d13099, SOC is nRF52832. 
 Beacon advertise Eddystone UID +Eddystone TLM +Eddystone URL, works ok. 
 The customer need</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Feb 2021 13:29:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71128/eddystone-tlm-ibeacon-uuid-advertising-issue" /><item><title>RE: Eddystone TLM + iBeacon UUID advertising issue</title><link>https://devzone.nordicsemi.com/thread/292488?ContentTypeID=1</link><pubDate>Tue, 02 Feb 2021 13:29:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c64ecfc9-dfe8-44b3-8530-13f4a304dbf1</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello Susan,&lt;/p&gt;
[quote user="Susan_cfx"]Can&amp;nbsp;&amp;quot;manuf_specific_data.company_identifier&amp;quot;&amp;nbsp; and &amp;quot;manuf_specific_data.data.p_data &amp;quot; be combined into one fileld,&amp;nbsp; just&amp;nbsp;add two bytes of overhead ?&amp;nbsp;[/quote]
&lt;p&gt;Aha, it seems I misunderstood your question previously.&lt;br /&gt;Yes,&amp;nbsp;the manufacturing specific data is only 1 data field, so the overhead of this field is only 2 bytes total. You may populate the manufacturer specific data with whatever you would like.&lt;/p&gt;
[quote user="Susan_cfx"]&lt;p&gt;&lt;span&gt;&lt;strong&gt;I reference to the example&lt;/strong&gt; \nRF5_SDK_17.0.0_9d13099\examples\ble_peripheral\ble_app_beacon ,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It advertise 1 Bytes (flas) + 2 Bytes (manuf_specific_data.company_identifier) + 23Bytes (manuf_specific_data.data.p_data) , &lt;/span&gt;&lt;span&gt;add 2 Bytes for each&amp;nbsp;separate data field,&amp;nbsp; &amp;nbsp;so total&amp;nbsp; 26+2*3 = 32 Bytes,&amp;nbsp;&amp;nbsp;which also exceeds the limit 31 Bytes.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;No, this is not correct. The company identifier is part of the manufacturing data, and therefore does not require the 2 bytes overhead - placing the advertising on 30 bytes.&lt;br /&gt;The following three lines is the entire advertising payload of the ble_app_beacon:&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    advdata.name_type             = BLE_ADVDATA_NO_NAME;
    advdata.flags                 = flags;
    advdata.p_manuf_specific_data = &amp;amp;manuf_specific_data;&lt;/pre&gt;&lt;br /&gt;The company identifier is contained within the manufacturer specific data.&lt;br /&gt;&lt;br /&gt;Please do not hesitate to ask if anything still should be unclear!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Eddystone TLM + iBeacon UUID advertising issue</title><link>https://devzone.nordicsemi.com/thread/292424?ContentTypeID=1</link><pubDate>Tue, 02 Feb 2021 10:11:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad73b1d5-2844-4530-a8f8-e76b7452a1e0</guid><dc:creator>Susan_cfx</dc:creator><description>&lt;p&gt;Hi Karl,&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As you said both company identifier and manufacturer specific data need to add 2bytes,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;the total data I try to fit into the advertising is&amp;nbsp;1 B&lt;/span&gt;&lt;span&gt;ytes (flags) +2 Bytes (manuf_specific_data.company_identifier) +23 Byte(manuf_specific_data.data.p_data)+ 2 Bytes overhead*3 &lt;strong&gt;,&lt;/strong&gt;&amp;nbsp;total 32Bytes.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt; I reference to the example&lt;/strong&gt; \nRF5_SDK_17.0.0_9d13099\examples\ble_peripheral\ble_app_beacon ,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It advertise 1 Bytes (flas) + 2 Bytes (manuf_specific_data.company_identifier) + 23Bytes (manuf_specific_data.data.p_data) , &lt;/span&gt;&lt;span&gt;add 2 Bytes for each&amp;nbsp;separate data field,&amp;nbsp; &amp;nbsp;so total&amp;nbsp; 26+2*3 = 32 Bytes,&amp;nbsp;&amp;nbsp;which also exceeds the limit 31 Bytes.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Can&amp;nbsp;&amp;quot;manuf_specific_data.company_identifier&amp;quot;&amp;nbsp; and &amp;quot;manuf_specific_data.data.p_data &amp;quot; be combined into one fileld,&amp;nbsp; just&amp;nbsp;add two bytes of overhead ?&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Susan&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Eddystone TLM + iBeacon UUID advertising issue</title><link>https://devzone.nordicsemi.com/thread/292401?ContentTypeID=1</link><pubDate>Tue, 02 Feb 2021 09:10:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f8fcab0-81aa-4227-b81b-a2fac4f1f420</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello Susan,&lt;/p&gt;
[quote user="Susan_cfx"]&lt;span&gt;the total data I try to fit into the advertising is&amp;nbsp;&lt;/span&gt;&lt;span&gt;3bytes (flags) +2(Length +Type)+2bytes (company_identifier) +23byte(m_beacon_ibeacon_payload) , &lt;strong&gt;total 30Bytes.&lt;/strong&gt;&lt;/span&gt;[/quote]
&lt;p&gt;Each data field requires two bytes of overhead, one for length and one for type. So in reality, you will need to add 2 bytes to every separate data field you include - in this case, both for company identifier and manufacturer specific data. Adding this to your included length calculation above leaves you at 34 bytes, which exceeds the limit.&amp;nbsp;&lt;br /&gt;To remedy this you could either try to remove the company identifier, or shave 3 bytes off the manufacturer specific payload.&lt;/p&gt;
[quote user="Susan_cfx"]I attached the code, please review for me, thank you.&amp;nbsp;[/quote]
&lt;p&gt;Which part in particular would you like me to have a look at?&lt;br /&gt;It is&amp;nbsp;&lt;em&gt;very hard&lt;/em&gt; to read the code you have just copied in between your logs. Your code is also cluttered with comments of non-included code. On a general note I strongly recommend removing scrap code immediately, and saving it elsewhere if necessary, to avoid cluttering up the code and decreasing readability.&lt;/p&gt;
[quote user="Susan_cfx"]if comment out five bytes in the payload, and don&amp;#39;t include flags[/quote]
&lt;p&gt;Please be advised that the flags may only be omitted in the case that the advertising is non-connectable, otherwise it violates the BLE specification. This is of course not an issue for you now that you are creating a beacon, but I mention it for future reference.&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/18947/ad-flags-needed-in-every-advertising-packet#:~:text=Yes%2C%20you%20need%20to%20have,bits%20are%20non%2Dzero%E2%80%9D."&gt;Please see the answer by my colleague in this ticket&lt;/a&gt;&amp;nbsp;for further details.&lt;/p&gt;
[quote user="Susan_cfx"]It seems that when broadcasting eddystone UID +TLM+ URL + ibeacon, the length of ble_advdata_manuf_data_t is limited,&amp;nbsp;&lt;strong&gt; can the length of ble_advdata_manuf_data_t be set?&lt;/strong&gt;[/quote]
&lt;p&gt;As mentioned you need to add 2 bytes of overhead to each data field of your advertising. Please account for this in your calculations of the manufacturer specific data length limit, and let me know if the limit then is as expected.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Eddystone TLM + iBeacon UUID advertising issue</title><link>https://devzone.nordicsemi.com/thread/292375?ContentTypeID=1</link><pubDate>Tue, 02 Feb 2021 07:32:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16e6fa8a-4865-4e7b-8dcb-7cf8883143ca</guid><dc:creator>Susan_cfx</dc:creator><description>&lt;p&gt;Hi Karl,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;the total data I try to fit into the advertising is&amp;nbsp;&lt;/span&gt;&lt;span&gt;3bytes (flags) +2(Length +Type)+2bytes (company_identifier) +23byte(m_beacon_ibeacon_payload) , &lt;strong&gt;total 30Bytes.&lt;/strong&gt; I attached the code, please review for me, thank you.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/beacon_5F00_ibeacon.c"&gt;devzone.nordicsemi.com/.../beacon_5F00_ibeacon.c&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2451.beacon_5F00_adv.c"&gt;devzone.nordicsemi.com/.../2451.beacon_5F00_adv.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I do more test,&amp;nbsp;if comment out five bytes in the payload, and don&amp;#39;t include flags&amp;nbsp;, &lt;strong&gt;reduce the total data to 22 Bytes, it can advertising iBeacon + Eddystone UID+ TLM+URL ,&amp;nbsp; no error.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;00&amp;gt; &amp;lt;info&amp;gt; beacon_slot_parser: ES_FRAME_TYPE_UID&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; beacon_slot_parser: ES_FRAME_TYPE_TLM&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; beacon_slot_parser: ES_FRAME_TYPE_URL&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; beacon_slot_parser: BEACON_FRAME_TYPE_IBEACON&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; beacon_main: Enter main loop&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; beacon_ibeacon: sizeof_my_maunf: 12&lt;br /&gt;00&lt;span&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; beacon_adv: &lt;strong&gt;sizeof_manuf : 12&lt;/strong&gt;&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; beacon_adv:&lt;strong&gt; encode data length: 22&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;typedef struct {&lt;br /&gt; uint8_t id; /**&amp;lt; Packet ID; Equal to 2 for an iBeacon */&lt;br /&gt; uint8_t len; /**&amp;lt; Length of the remaining data in the payload */&lt;br /&gt; uint8_t uid[16]; /**&amp;lt; Beacon UID */&lt;br /&gt;&amp;nbsp;//uint8_t major_0; /**&amp;lt; Beacon major ID */ &lt;br /&gt;// uint8_t major_1;&lt;br /&gt;// uint8_t minor_0; /**&amp;lt; Beacon minor ID */&lt;br /&gt;// uint8_t minor_1;&lt;br /&gt;// uint8_t tx; /**&amp;lt; Tx power received at 1 meter in dBm */&lt;br /&gt;}__attribute__((packed)) beacon_ibeacon_payload_t;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;/* The advertisement payload */&lt;br /&gt;static beacon_ibeacon_payload_t m_beacon_ibeacon_payload = {&lt;/p&gt;
&lt;p&gt;.id = BEACON_IBEACON_DEVICE_TYPE,&lt;br /&gt; .len = BEACON_IBEACON_ADV_DATA_LENGTH,&lt;br /&gt; .uid = BEACON_IBEACON_DEFAULT_UUID,&lt;br /&gt;//.major_0 =BEACON_IBEACON_DEFAULT_MAJOR_0_VALUE,&amp;nbsp;&lt;br /&gt;&amp;nbsp;//.major_1 =BEACON_IBEACON_DEFAULT_MAJOR_1_VALUE,&lt;br /&gt;//.minor_0 = BEACON_IBEACON_DEFAULT_MINOR_0_VALUE,&lt;br /&gt;//.minor_1 = BEACON_IBEACON_DEFAULT_MINOR_1_VALUE,&lt;br /&gt;&amp;nbsp;//.tx = BEACON_IBEACON_DEFAULT_MEASURED_RSSI,&lt;br /&gt;};&lt;/p&gt;
&lt;p&gt;/* Manufacturer data struct. This is passed on to the advertisement module. */&lt;br /&gt;static ble_advdata_manuf_data_t m_beacon_ibeacon_manuf_data = {&lt;br /&gt; .company_identifier = BEACON_IBEACON_DEFAULT_COMPANY_IDENTIFIER,&lt;br /&gt; .data.p_data = (uint8_t *) &amp;amp;m_beacon_ibeacon_payload,&lt;br /&gt; .data.size = sizeof(beacon_ibeacon_payload_t),&lt;br /&gt;};&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;static void m_beacon_adv_fill_proprietary_data(uint8_t type, ble_gap_adv_data_t * const p_adv_data)&lt;br /&gt;{&lt;br /&gt; ble_advdata_t adv_data;&lt;br /&gt; ret_code_t err_code;&lt;/p&gt;
&lt;p&gt;static ble_advdata_manuf_data_t manuf_data;&lt;/p&gt;
&lt;p&gt;// Build and set advertising data.&lt;br /&gt; memset(&amp;amp;adv_data, 0, sizeof(adv_data));&lt;/p&gt;
&lt;p&gt;switch(type) {&lt;br /&gt; case CFX_BEACON_FRAME_TYPE_IBEACON:&lt;br /&gt; adv_data.name_type = BLE_ADVDATA_NO_NAME;&lt;br /&gt; // adv_data.flags = BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE;&lt;/p&gt;
&lt;p&gt;cfx_beacon_ibeacon_get_advertisement_data(&amp;amp;manuf_data);&lt;br /&gt; adv_data.p_manuf_specific_data = &amp;amp;manuf_data;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;NRF_LOG_INFO(&amp;quot;sizeof_manuf %d&amp;quot;, sizeof(ble_advdata_manuf_data_t));&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;break;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;/*add for sdk17*/&lt;br /&gt; err_code = ble_advdata_encode(&amp;amp;adv_data, p_adv_data-&amp;gt;adv_data.p_data, &amp;amp;p_adv_data-&amp;gt;adv_data.len);&lt;br /&gt; &lt;strong&gt;NRF_LOG_INFO(&amp;quot;encode data length: %d&amp;quot;, p_adv_data-&amp;gt;adv_data.len);&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;APP_ERROR_CHECK(err_code);&lt;br /&gt; p_adv_data-&amp;gt;scan_rsp_data.p_data = NULL;&lt;br /&gt; p_adv_data-&amp;gt;scan_rsp_data.len = 0;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;strong&gt;I print sizeof( m_beacon_ibeacon_manuf_data ) and sizeof( ble_advdata_manuf_data_t ), why it always is 0x12,18Bytes ?&amp;nbsp;&amp;nbsp;no matter how many beacon_ibeacon_payload_t is set.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;00&amp;gt; &amp;lt;info&amp;gt; cbeacon_slot_parser: ES_FRAME_TYPE_UID&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; beacon_slot_parser: ES_FRAME_TYPE_TLM&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; beacon_slot_parser: ES_FRAME_TYPE_URL&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; beacon_slot_parser: CFX_BEACON_FRAME_TYPE_IBEACON&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; beacon_main: Enter main loop&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; beacon_ibeacon: sizeof_my_maunf: 12&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; beacon_adv: &lt;strong&gt;sizeof_manuf : 12&lt;/strong&gt;&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; beacon_adv:&lt;strong&gt; encode data length: 0&lt;/strong&gt;&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;error&amp;gt; app: ERROR 12 [NRF_ERROR_DATA_SIZE] at ../../../../../communication/cfx_beacon_adv.c:191&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; PC at: 0x0003656D&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;error&amp;gt; app: End of error report&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;----------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;if I configure the beacon to only advertise iBeacon, the log is as follows, no erro.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;00&amp;gt; &amp;lt;info&amp;gt; cfx_beacon_slot_parser: CFX_BEACON_FRAME_TYPE_IBEACON&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; cfx_beacon_ibeacon: sizeof_my_maunf:&amp;nbsp; 12&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; cfx_beacon_adv: &lt;strong&gt;sizeof_manuf : 12&amp;nbsp; , why it still is 12?&lt;/strong&gt;&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; cfx_beacon_adv: &lt;strong&gt;encode data length: 27&lt;/strong&gt;&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; cfx_beacon_ibeacon: sizeof_my_maunf: 0x12&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;It seems that when broadcasting eddystone UID +TLM+ URL + ibeacon, the length of ble_advdata_manuf_data_t is limited,&amp;nbsp;&lt;strong&gt; can the length of ble_advdata_manuf_data_t be set?&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thank you in advance.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Susan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Eddystone TLM + iBeacon UUID advertising issue</title><link>https://devzone.nordicsemi.com/thread/292264?ContentTypeID=1</link><pubDate>Mon, 01 Feb 2021 14:04:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:442d0e2d-b328-4a53-bc71-7707434bcce8</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello Susan,&lt;/p&gt;
[quote user=""]&lt;p&gt;00&amp;gt; &amp;lt;info&amp;gt; beacon_main: Enter main loop&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;error&amp;gt; app: ERROR 12 [NRF_ERROR_DATA_SIZE] at ../../../../../communication/beacon_adv.c:85&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; PC at: 0x0003607F&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;error&amp;gt; app: End of error report&lt;/p&gt;
&lt;p&gt;I attached code of&amp;nbsp;&amp;nbsp;&lt;span&gt;es_adv_frame.c and beacon_adv.c and sdk_config.h , please help me analyze, why eddystoneTLM + ibeacon&amp;nbsp; slot failed ?&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;It seems that you are getting an NRF_ERROR_DATA_SIZE returned from your&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.0.2%2Fgroup__ble__sdk__lib__advdata.html&amp;amp;anchor=ga8534b0db1e46d3cdd4db0dc593071b74"&gt;ble_advdata_encode&amp;nbsp;&lt;/a&gt;call.&lt;br /&gt;The ble_advdata_encode API Reference says the following about the error:&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td colspan="1" rowspan="1"&gt;NRF_ERROR_DATA_SIZE&lt;/td&gt;
&lt;td colspan="1" rowspan="1"&gt;If the operation failed because not all the requested data could fit into the provided buffer or some encoded AD structure is too long and its length cannot be encoded with one octet.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Could you verify that the contents of your adv_data is in line with the requirements of the ble_advdata_encode function?&lt;br /&gt;For instance, how long is the total data you are trying to fit into the advertising?&lt;br /&gt;You may not exceed the 31 byte limit, and you must also remember to account for overhead for each datafield.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>