<?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>Device is not advertising full name</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58056/device-is-not-advertising-full-name</link><description>i am using BLE template from examples BLE Peripheral and adding some custom characteristics and not changing any advertisement data. But the device is advertising with only first 4 characters of the name. 
 Could you please suggest some ways to advertise</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 Mar 2020 11:39:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58056/device-is-not-advertising-full-name" /><item><title>RE: Device is not advertising full name</title><link>https://devzone.nordicsemi.com/thread/239511?ContentTypeID=1</link><pubDate>Thu, 12 Mar 2020 11:39:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b06d61af-da5b-4f0f-8408-13fa47db3c29</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;You&amp;#39;re welcome &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device is not advertising full name</title><link>https://devzone.nordicsemi.com/thread/238961?ContentTypeID=1</link><pubDate>Tue, 10 Mar 2020 00:58:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1dc83a9f-5109-4a51-9a4d-b0920db173e8</guid><dc:creator>paulorrfilho</dc:creator><description>&lt;p&gt;thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device is not advertising full name</title><link>https://devzone.nordicsemi.com/thread/235437?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2020 12:11:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:407f77ff-ce77-41a1-a315-5565c9962604</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Did you modify the&amp;nbsp;m_adv_uuids[] array to include your additional characteristics?&lt;/p&gt;
&lt;p&gt;Then there will be less room in the advertisement packet for the device name.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;A workaround to this is to put the list of UUID&amp;#39;s in the scan response packet rather than the advertise packet. Then you will have more room in the advertise packet, but the scanner needs to send a scan request to pick up the UUID list.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To do this simply change the advertising_init() function like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/**@brief Function for initializing the Advertising functionality.
 */
static void advertising_init(void)
{
    ret_code_t             err_code;
    ble_advertising_init_t init;

    memset(&amp;amp;init, 0, sizeof(init));

    init.advdata.name_type               = BLE_ADVDATA_FULL_NAME;
    init.advdata.include_appearance      = true;
    init.advdata.flags                   = BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE;
    init.srdata.uuids_complete.uuid_cnt = sizeof(m_adv_uuids) / sizeof(m_adv_uuids[0]);
    init.srdata.uuids_complete.p_uuids  = m_adv_uuids;

    init.config.ble_adv_fast_enabled  = true;
    init.config.ble_adv_fast_interval = APP_ADV_INTERVAL;
    init.config.ble_adv_fast_timeout  = APP_ADV_DURATION;

    init.evt_handler = on_adv_evt;

    err_code = ble_advertising_init(&amp;amp;m_advertising, &amp;amp;init);
    APP_ERROR_CHECK(err_code);

    ble_advertising_conn_cfg_tag_set(&amp;amp;m_advertising, APP_BLE_CONN_CFG_TAG);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>