<?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 URL</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/31158/eddystone-url</link><description>Hi everyone, I&amp;#39;m trying to understand Eddystone example in NRF5 SDK. I&amp;#39;m successfully run example ble_app_eddystone. I also edit Eddystone URL from mobile app. I don&amp;#39;t know what function is called in NRF5 SDK when mobile send new URL. Please help me figure</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 23 Mar 2018 08:31:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/31158/eddystone-url" /><item><title>RE: Eddystone URL</title><link>https://devzone.nordicsemi.com/thread/125662?ContentTypeID=1</link><pubDate>Fri, 23 Mar 2018 08:31:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95c91767-6448-4424-b8da-bfd102769f1d</guid><dc:creator>ketil</dc:creator><description>&lt;p&gt;Hi Nijat,&lt;/p&gt;
&lt;p&gt;Do you want to create a custom service? In that case I recommend the &lt;a href="https://github.com/bjornspockeli/custom_ble_service_example"&gt;Custom Service Tutorial&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Ketil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Eddystone URL</title><link>https://devzone.nordicsemi.com/thread/125247?ContentTypeID=1</link><pubDate>Wed, 21 Mar 2018 02:01:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de05a387-1149-4f1d-ae78-b328ef883332</guid><dc:creator>Nijat</dc:creator><description>&lt;p&gt;Hi, Ketil, I came out a question after seeing this thread.&lt;/p&gt;
&lt;p&gt;Can we create or configure a service using code? I mean what is the&amp;nbsp;&lt;span&gt;es_gatts_handle_write() used for ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am thinking we only can create&amp;nbsp;Service and Characteristics using tools like MCP.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Eddystone URL</title><link>https://devzone.nordicsemi.com/thread/123201?ContentTypeID=1</link><pubDate>Wed, 07 Mar 2018 09:45:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e62af19b-53c6-4ec4-ab22-558a620cafee</guid><dc:creator>ketil</dc:creator><description>&lt;p&gt;Hi Tran,&lt;/p&gt;
&lt;p&gt;The documentation for the Eddystone example in SDK 14.2 is &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v14.2.0%2Fble_sdk_app_es.html&amp;amp;cp=4_0_0_4_2_2_9"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;More detailed documentation on functions and structs&amp;nbsp;is available in the source code.&lt;/p&gt;
&lt;p&gt;To answer your question, all write requests are handled by the &lt;em&gt;es_gatts_handle_write()&lt;/em&gt; function. For the URL the sequence looks like this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;es_gatts_handle_write()&lt;/li&gt;
&lt;li&gt;es_gatts_write_handle_unlocked_write()
&lt;ol&gt;
&lt;li&gt;case BLE_UUID_ESCS_RW_ADV_SLOT_CHAR:&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;es_slot_on_write()&lt;/li&gt;
&lt;li&gt;configure_slot()
&lt;ol&gt;
&lt;li&gt;case ES_FRAME_TYPE_URL:&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Ketil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Eddystone URL</title><link>https://devzone.nordicsemi.com/thread/123152?ContentTypeID=1</link><pubDate>Wed, 07 Mar 2018 02:29:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d66dbd9-668f-44eb-aca2-ae0bc9450a00</guid><dc:creator>huybk213</dc:creator><description>&lt;p&gt;Thank you Ketil for your help,&lt;br /&gt;&lt;br /&gt;I&amp;#39;m currently using NRF5 SDK newest version 14.2.0&lt;br /&gt;Eddystone example i&amp;#39;m working is ble_app_eddystone.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;I want to find the function which was called when mobilephone send new URL. I&amp;#39;m reading document at&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Fble_sdk_app_eddystone.html&amp;amp;resultof=%22Experimental%3a%22%20%22experiment%22%20%22Eddystone%22%20%22eddyston%22%20%22Beacon%22%20%22beacon%22%20%22Application%22%20%22applic%22%20"&gt;here&lt;/a&gt;, but i cannot find that function.&lt;br /&gt;&lt;br /&gt;Please help me, thank you!&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Eddystone URL</title><link>https://devzone.nordicsemi.com/thread/123027?ContentTypeID=1</link><pubDate>Tue, 06 Mar 2018 11:00:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2aebc5a-d520-4260-a0da-ad72b4c9571d</guid><dc:creator>ketil</dc:creator><description>&lt;p&gt;Hi Tran,&lt;/p&gt;
&lt;p&gt;If you are looking specifically for information regarding Eddystone URLs we have &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/ble_sdk_app_eddystone.html"&gt;a simpler Eddystone example&lt;/a&gt; which was available in earlier SDKs. This will show you how to format the advertisement packet.&lt;/p&gt;
&lt;p&gt;Please let me know if you find this example helpful. If not I can take a closer look at the complete Eddystone example which you are currently working with.&lt;/p&gt;
&lt;p&gt;Ketil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>