<?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>Where can I get service data?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24980/where-can-i-get-service-data</link><description>My phone is like beacon that transmit service data.
(I checked service data in different phone.) 
 scandata.png 
 So, I want to recieve service data, service UUID with PCA10040(nRF52832) observer(central) mode. 
 I use SDK13.0.0 examples\ble_cnetral</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Sep 2017 08:51:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24980/where-can-i-get-service-data" /><item><title>RE: Where can I get service data?</title><link>https://devzone.nordicsemi.com/thread/98372?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2017 08:51:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:659a8490-f9e2-47fe-aad6-85a93366d4c3</guid><dc:creator>Jim</dc:creator><description>&lt;p&gt;Thanks, Petter Myhre!
I was able to solve the questions thanks to you.
I am very grateful for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Where can I get service data?</title><link>https://devzone.nordicsemi.com/thread/98373?ContentTypeID=1</link><pubDate>Mon, 11 Sep 2017 10:15:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b954c1f8-8b66-4b2e-b237-60c7b3bc24e9</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;What is strange about it? Are you familiar with the advertising data format? And how to decode it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Where can I get service data?</title><link>https://devzone.nordicsemi.com/thread/98371?ContentTypeID=1</link><pubDate>Mon, 11 Sep 2017 09:41:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:beccf928-72a5-4ba2-bfab-273362895d15</guid><dc:creator>Jim</dc:creator><description>&lt;p&gt;So I checked p_adv_report-&amp;gt;data using UART, but only strange data was checked.&lt;/p&gt;
&lt;p&gt;Strange data: 11 07 9EC DC 24 0E E5 A9 E0 93 F3 A3 B5 01 00 40 6E 00 00 00 00 00 00 00 00 00 00 00 00 00 (HEX)&lt;/p&gt;
&lt;p&gt;How I used to check&lt;/p&gt;
&lt;p&gt;for(int8_t i=0;i&amp;lt;BLE_GAP_ADV_MAX_SIZE;i++)
{
app_uart_put(p_adv_report-&amp;gt;data[i]);
}&lt;/p&gt;
&lt;p&gt;Is this wrong?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Where can I get service data?</title><link>https://devzone.nordicsemi.com/thread/98370?ContentTypeID=1</link><pubDate>Mon, 11 Sep 2017 07:50:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4547e32b-426e-4fc7-9ea8-f177c7185614</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;In your case you should be able to find the advertising data in p_adv_report-&amp;gt;data&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Where can I get service data?</title><link>https://devzone.nordicsemi.com/thread/98369?ContentTypeID=1</link><pubDate>Mon, 11 Sep 2017 01:57:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a610edcf-fd6b-42ed-b7a5-55dd30216da0</guid><dc:creator>Jim</dc:creator><description>&lt;p&gt;Where are my advertising data stored?
Is that p_adv_report?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Where can I get service data?</title><link>https://devzone.nordicsemi.com/thread/98366?ContentTypeID=1</link><pubDate>Fri, 08 Sep 2017 10:49:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd575207-bf8a-4f17-a315-17d75202ddcc</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I see. Then you will first have to parse the advertising data, and then pass it to the UART.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Where can I get service data?</title><link>https://devzone.nordicsemi.com/thread/98367?ContentTypeID=1</link><pubDate>Fri, 08 Sep 2017 09:36:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76d1bf83-b391-452c-8de4-91ad1869cc84</guid><dc:creator>Jim</dc:creator><description>&lt;p&gt;Sorry, Petter.
My English is not good enough, so you are having difficulty understanding.
I want to send service data from nRF52 to an external MCU.
The sending method tries to use UART.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Where can I get service data?</title><link>https://devzone.nordicsemi.com/thread/98364?ContentTypeID=1</link><pubDate>Fri, 08 Sep 2017 09:14:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fe23fd1-5e54-462b-9549-94f504a0b383</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I still don&amp;#39;t understand. You want to send service data and service UUID over UART to the nRF52? And then compare them to service data and service UUID received in advertisement? If they match you &amp;quot;control hardware&amp;quot;? What does that mean?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Where can I get service data?</title><link>https://devzone.nordicsemi.com/thread/98368?ContentTypeID=1</link><pubDate>Fri, 08 Sep 2017 03:25:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc314a91-ea34-44b5-9526-ea9d3e40b422</guid><dc:creator>Jim</dc:creator><description>&lt;p&gt;I wnat to transmit service data, service uuid  with UART.
If UART data equal to set service data , I control hardware.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Where can I get service data?</title><link>https://devzone.nordicsemi.com/thread/98365?ContentTypeID=1</link><pubDate>Thu, 07 Sep 2017 10:38:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92a12a3f-4159-4eb8-945e-c2b60433b5b9</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;You don&amp;#39;t know where to store them? I&amp;#39;m not sure I understand what you mean. What are you trying to do with the service data and the service UUID?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>