<?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>Configure TLM Frame type by default in Eddystone beacon - SDK 12.2.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19421/configure-tlm-frame-type-by-default-in-eddystone-beacon---sdk-12-2-0</link><description>Hi, in the current project I&amp;#39;m working on, I need to develop an Eddystone beacon with UID and TLM frames configured by default. Based on the experimental_eddystone example, there is only one slot (slot 0) for configuring a default frame type. I successfully</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Aug 2017 06:28:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19421/configure-tlm-frame-type-by-default-in-eddystone-beacon---sdk-12-2-0" /><item><title>RE: Configure TLM Frame type by default in Eddystone beacon - SDK 12.2.0</title><link>https://devzone.nordicsemi.com/thread/75378?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2017 06:28:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8283b12c-405c-49be-8d89-4ea401677e4e</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi ankitjain96,&lt;/p&gt;
&lt;p&gt;Please create a &lt;a href="https://devzone.nordicsemi.com/questions/ask/"&gt;new question&lt;/a&gt; on Devzone for your issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure TLM Frame type by default in Eddystone beacon - SDK 12.2.0</title><link>https://devzone.nordicsemi.com/thread/75379?ContentTypeID=1</link><pubDate>Sat, 29 Jul 2017 08:56:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa8b3362-c828-4b9b-8030-eeda560579b7</guid><dc:creator>ankitjain96</dc:creator><description>&lt;p&gt;I am unable to get my UID. I am getting ID Namespace as 0X0000000000000000, ID Instance as 0X000000000000, Reserved as 0X0000. What else changes should be made?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure TLM Frame type by default in Eddystone beacon - SDK 12.2.0</title><link>https://devzone.nordicsemi.com/thread/75381?ContentTypeID=1</link><pubDate>Thu, 16 Feb 2017 14:42:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:099ad6e7-413e-43c1-8187-681ec762b83b</guid><dc:creator>Gustavo Velasco-Hern&amp;#225;ndez</dc:creator><description>&lt;p&gt;Sure @plutok-oleg, I have edited my previous answer showing modifications I made.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure TLM Frame type by default in Eddystone beacon - SDK 12.2.0</title><link>https://devzone.nordicsemi.com/thread/75377?ContentTypeID=1</link><pubDate>Thu, 16 Feb 2017 14:16:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e333bfd1-4fd7-4066-99fa-44f739b97929</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;I can confirm that this bug will be fixed in the next SDK release.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure TLM Frame type by default in Eddystone beacon - SDK 12.2.0</title><link>https://devzone.nordicsemi.com/thread/75380?ContentTypeID=1</link><pubDate>Thu, 16 Feb 2017 14:01:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67750628-0517-4e94-a4a1-b81bcf31ff6f</guid><dc:creator>Plutok Oleg</dc:creator><description>&lt;p&gt;Hi @Gustavo, can you show how to configure the 2 slots - UID and TLM ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure TLM Frame type by default in Eddystone beacon - SDK 12.2.0</title><link>https://devzone.nordicsemi.com/thread/75376?ContentTypeID=1</link><pubDate>Fri, 10 Feb 2017 15:11:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:726bf8a9-e313-4203-a1ac-ba929e06ed96</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Great that you figured it out! and thank you for adding the answer here. I will report this misleading name to the Eddystone developers. I have converted your comment into an answer and given you an up-vote.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure TLM Frame type by default in Eddystone beacon - SDK 12.2.0</title><link>https://devzone.nordicsemi.com/thread/75375?ContentTypeID=1</link><pubDate>Fri, 10 Feb 2017 12:35:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97adbd3f-50fe-4d56-9e9a-aaf4e594951c</guid><dc:creator>Gustavo Velasco-Hern&amp;#225;ndez</dc:creator><description>&lt;p&gt;Hi @sigurdon, I was using a function to update temperature and voltage values but advertising packet was not filled. Also, the name of the defines you mentioned (APP_CONFIG_TLM_&lt;var&gt;_INTERVAL_SECONDS) are misleading because the interval is not in seconds but in advertising tries instead. That works on the example because advertising interval is set to 1 second. This caused the delay in updating my variables values. BTW, I already successfully configured both slots, 0 and 1 to UID and TLM frame types, respectively. Should I close this question without an answer or should I convert this comment into answer?&lt;/var&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;EDIT (Solution):&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I added this line to es_app_config.h:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define APP_ENABLE_TLM_BY_DEFAULT    1    // Enable a TLM frame in slot 0 by default
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and this to es_slot.c, after this conditional &lt;code&gt;if (err_code == FDS_ERR_NOT_FOUND)&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;if (err_code == FDS_ERR_NOT_FOUND)
{
	// Factory reset or initial boot, load default data
	memcpy(&amp;amp;m_reg.slots[default_uid_slot], p_default_slot, sizeof(*p_default_slot));
	es_slot_reg_update_slot_list_info_on_add(&amp;amp;m_reg, default_uid_slot, p_default_slot-&amp;gt;adv_frame.type, true);

#if APP_ENABLE_TLM_BY_DEFAULT == 1
    es_slot_reg_update_slot_list_info_on_add(&amp;amp;m_reg, default_tlm_slot, ES_FRAME_TYPE_TLM, true);
	m_reg.slots[default_tlm_slot].adv_frame.type = ES_FRAME_TYPE_TLM;
	memcpy(&amp;amp;m_reg.slots[default_tlm_slot].adv_frame.frame, &amp;amp;m_reg.slots[default_tlm_slot].adv_frame.type, 1);
	m_reg.slots[default_tlm_slot].adv_frame.length = ES_TLM_LENGTH;
#endif
}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure TLM Frame type by default in Eddystone beacon - SDK 12.2.0</title><link>https://devzone.nordicsemi.com/thread/75374?ContentTypeID=1</link><pubDate>Fri, 10 Feb 2017 09:47:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:484826d3-6bcb-454d-98eb-2832f5e769b1</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Have you tried adjusting the values &lt;code&gt;es_app_config.h&lt;/code&gt;. E.g:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define APP_ETLM_DELAY_MS                      300    //!&amp;lt; The delay that is introduced between advertisement slots of type eTLM.
#define APP_CONFIG_TLM_TEMP_INTERVAL_SECONDS  (30)   //!&amp;lt; How often should the temperature of the beacon be updated when TLM slot is configured.
#define APP_CONFIG_TLM_VBATT_INTERVAL_SECONDS (30)  //!&amp;lt; How often should the battery voltage of the beacon be updated when TLM slot is configured.
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure TLM Frame type by default in Eddystone beacon - SDK 12.2.0</title><link>https://devzone.nordicsemi.com/thread/75373?ContentTypeID=1</link><pubDate>Fri, 03 Feb 2017 16:58:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee95c7db-ab97-4d57-929c-8c17f8bc228f</guid><dc:creator>Gustavo Velasco-Hern&amp;#225;ndez</dc:creator><description>&lt;p&gt;In our custom app, we removed the configuration service but previously we tested the Eddystone example in our custom board and everything worked fine. We successfully configured up to 3 slots using &amp;quot;nRF Beacon for Eddystone&amp;quot; app. For this reason I guess that the issue could be related with a misconfiguration in the code we added for setting the 2nd slot as TLM frame type.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure TLM Frame type by default in Eddystone beacon - SDK 12.2.0</title><link>https://devzone.nordicsemi.com/thread/75372?ContentTypeID=1</link><pubDate>Fri, 03 Feb 2017 15:28:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fef5e0e-43b0-4d53-928b-9f470e51d2ec</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Unfortunately, there is no easy way to configure more default slots than 1. You are only seeing the TLM frame issue on a custom board, but on the nRF52-DK everything works?&lt;/p&gt;
&lt;p&gt;Could you try to configure the slots on the custom board using &amp;quot;&lt;a href="https://play.google.com/store/apps/details?id=no.nordicsemi.android.nrfbeacon.nearby"&gt;nRF Beacon for Eddystone&lt;/a&gt;&amp;quot;, and see if the issue is still present then ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>