<?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>Not able to use Short name find function</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34231/not-able-to-use-short-name-find-function</link><description>Hello, 
 I don&amp;#39;t understand why the ble_advdata_short_name_find function never return a true value. I&amp;#39;m sure that I send a short name because I verified this on the nRF connect app and the short name length is 10 so I think that all parameters are good</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 30 Jul 2018 11:42:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34231/not-able-to-use-short-name-find-function" /><item><title>RE: Not able to use Short name find function</title><link>https://devzone.nordicsemi.com/thread/141889?ContentTypeID=1</link><pubDate>Mon, 30 Jul 2018 11:42:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8bff0b8-4126-4aa2-969b-125828e7a515</guid><dc:creator>vishal</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;Did you solve your problem we got same problem..&amp;nbsp;&lt;br /&gt;I am using&amp;nbsp;ble_advdata_short_name_find but not getting true value... for more details see&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/36981/find-short-name-in-advertising-packet-using-ble_advdata_short_name_find-getting-always-false"&gt;Here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to use Short name find function</title><link>https://devzone.nordicsemi.com/thread/131843?ContentTypeID=1</link><pubDate>Mon, 14 May 2018 10:34:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d2a9764-2b28-47c1-b46d-00143cc47dee</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I see. Then the only reason I can think of is the string you pass to&amp;nbsp;ble_advdata_short_name_find is of same length or longer than the short name. Is that the case? If so, it would not meet the criteria on line 682 in ble_advdata.c (SDK 15.0.0).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to use Short name find function</title><link>https://devzone.nordicsemi.com/thread/131734?ContentTypeID=1</link><pubDate>Fri, 11 May 2018 14:53:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05516474-c805-414a-b586-29d1e03ac00b</guid><dc:creator>Sylvain</dc:creator><description>&lt;p&gt;I don&amp;#39;t have a normal advertising name. I encode my name (short name) then I specify that my name is a short local name with the flag in my advertising data ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to use Short name find function</title><link>https://devzone.nordicsemi.com/thread/131718?ContentTypeID=1</link><pubDate>Fri, 11 May 2018 13:30:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be6d0eaa-756b-4b3f-b0b8-f7a774d856d3</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I do not see any issue with the way you call &lt;code&gt;ble_advdata_short_name_find()&lt;/code&gt;. What is the length of the normal advertising name (not the short name)? The reason I ask is the following note from the API documentation:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;If the shortened name in the Advertising data has the same length as the target name, this function will return false, since this means that the complete name is actually longer, thus different than the target name.&lt;/p&gt;
&lt;/blockquote&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>