<?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>nRF5 bluetooth name length limit shorter with SDK12 than with SDK8?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18978/nrf5-bluetooth-name-length-limit-shorter-with-sdk12-than-with-sdk8</link><description>In our earlier projects with nRF51 and SDK 8 we used to have bluetooth device names of length 13 or 14 characters. However, when using nRF52 and SDK 12 I noticed that the code taken from SDK examples now limits the Bluetooth name to a maximum of 12 characters</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Jan 2017 08:40:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18978/nrf5-bluetooth-name-length-limit-shorter-with-sdk12-than-with-sdk8" /><item><title>RE: nRF5 bluetooth name length limit shorter with SDK12 than with SDK8?</title><link>https://devzone.nordicsemi.com/thread/73349?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2017 08:40:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97ce90b2-9282-4eac-88ea-43cbc18bbc1e</guid><dc:creator>Jarmo</dc:creator><description>&lt;p&gt;Yep, I really agree the code is overcomplicated. To understand what is going on there, I have used this web site: &lt;a href="http://www.argenox.com/a-ble-advertising-primer/"&gt;www.argenox.com/.../&lt;/a&gt;. ..The API to set BLE things should not be that complicated. I have understood the corresponding MBED API is much more easy.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5 bluetooth name length limit shorter with SDK12 than with SDK8?</title><link>https://devzone.nordicsemi.com/thread/73346?ContentTypeID=1</link><pubDate>Mon, 16 Jan 2017 14:28:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d259c221-e778-49d7-b2b4-7885d78a2c8f</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;An advertising packet contains 28 bytes of usable data (31 with flags). If you extend this limit the device name will be shorten. If you need to have the whole device name, you will need to reduce some of the other data you have in the advertising packet. You will need to take a look at the &lt;code&gt;advertising_init()&lt;/code&gt; function. Maybe you can put some of the other data into the scan response packet?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5 bluetooth name length limit shorter with SDK12 than with SDK8?</title><link>https://devzone.nordicsemi.com/thread/73350?ContentTypeID=1</link><pubDate>Mon, 16 Jan 2017 14:10:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6297718-27e1-4317-930b-0bb48ff00140</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;Yes, examples are now really overcomplicated. ble_advertising library is completely useless and makes all the advertising data preparation really hard to understand. At least for me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5 bluetooth name length limit shorter with SDK12 than with SDK8?</title><link>https://devzone.nordicsemi.com/thread/73348?ContentTypeID=1</link><pubDate>Mon, 16 Jan 2017 13:59:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:692ab95e-1512-47ec-922c-45a42600f10d</guid><dc:creator>Jarmo</dc:creator><description>&lt;p&gt;Yeah, I know how it works, but the code provided with SDK isn&amp;#39;t very readable (those ~900 main.c lines that are included with all those BLE examples). So it would help if somebody who wrote that mess could find the reason and probably hint how to get more room for the BLE name. Sorry, I am again frustrated :(&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5 bluetooth name length limit shorter with SDK12 than with SDK8?</title><link>https://devzone.nordicsemi.com/thread/73347?ContentTypeID=1</link><pubDate>Fri, 13 Jan 2017 10:09:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97c9552a-5c16-49db-aa76-995949045f75</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;I don&amp;#39;t know about examples, but SDK has nothing to device name. It would be softdevice that could matter, but it does not anyway. There is limit of whole advertising packet, there is no limit for device name field specifically. You got probably some more of other data in advertising packet, so You cannot set the name as long as it was before. You just need to tailor Your advertising packet properly...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>