<?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>DEVNAME maximum length</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23744/devname-maximum-length</link><description>Hello, 
 I am working on a project with STM32 master and nRF51822 slave connecting to Android/iOS mobile apps. 
 I send the advertising parameters from STM32 to my nRF51822 (the name is one of the parameters and I am sure I get the whole name in my</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Jul 2017 14:54:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23744/devname-maximum-length" /><item><title>RE: DEVNAME maximum length</title><link>https://devzone.nordicsemi.com/thread/93397?ContentTypeID=1</link><pubDate>Wed, 26 Jul 2017 14:54:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:844eca5b-e488-436d-bd16-99052d8abf6a</guid><dc:creator>Bayram ZAYET</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;thank you for answering, I got my answer through what you mentioned and refering to the SIG.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DEVNAME maximum length</title><link>https://devzone.nordicsemi.com/thread/93396?ContentTypeID=1</link><pubDate>Mon, 24 Jul 2017 14:44:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bbfb234-bb8c-4f80-8e33-ce2dca21ec22</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Show us whole payload of &lt;code&gt;ADV_xxx&lt;/code&gt; packet (and I guess you will find the answer when you will be pasting it here). Note that limit of 31 Bytes doesn&amp;#39;t apply to effective payload (like device name string) but to overall data. At least 2 Bytes get lost on GAP AD header (Length and Tag bytes) and in your case there are probably other AD objects (e.g. like Flags AD which are mandatory by BT SIG GAP layer specification). So no, you won&amp;#39;t be able to fit 31-byte device name string into BLE GAP formatted advertisement packet, at least not in BT SIG Core specification v4.0-4.2.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>