<?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>ble name for OTA buttonless dfu</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107662/ble-name-for-ota-buttonless-dfu</link><description>I have a product that has 2 radios. The advertisement name on one is the product serial number. I am now using this to update its firmware through DFU. 
 I recently added multiprotocol for the other chip so that I can update it via Ble. Ideally I would</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Jan 2024 11:03:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107662/ble-name-for-ota-buttonless-dfu" /><item><title>RE: ble name for OTA buttonless dfu</title><link>https://devzone.nordicsemi.com/thread/466191?ContentTypeID=1</link><pubDate>Fri, 26 Jan 2024 11:03:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a71f6c1-6a25-41ff-8755-a2ed615e137a</guid><dc:creator>Susheel Nuguru</dc:creator><description>[quote user="AndrewDF"]The architecture is as follows: a NRF52840 that uses multiprotocol (zigbee and ble) and a NRF52811 that was intended to be the primary ble interface. These chips share data via UART. Both chips now use butonless dfu for OTA updates. Which means there are now two ble advertisers[/quote]
&lt;p&gt;If you want to do a DFU via only one chip and&amp;nbsp;do not want to display the advertiser name of the other then it should be possible. Which SDK version are you using? The advertiser do not need to contain the name of the device, so at the time of DFU, you can communicate to the other core to advertise info other than device name.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;in nRF5SDK&lt;/p&gt;
&lt;p&gt;you can have something like below&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void advertising_init(void)
{
    uint32_t      err_code;
    ble_advdata_t advdata;
    uint8_t       flags = BLE_GAP_ADV_FLAG_BR_EDR_NOT_SUPPORTED;

    ble_advdata_manuf_data_t manuf_specific_data;

    manuf_specific_data.company_identifier = APP_COMPANY_IDENTIFIER;

    manuf_specific_data.data.p_data = (uint8_t *) m_beacon_info;
    manuf_specific_data.data.size   = APP_BEACON_INFO_LENGTH;

    // Build and set advertising data.
    memset(&amp;amp;advdata, 0, sizeof(advdata));

    advdata.name_type             = BLE_ADVDATA_NO_NAME;
    advdata.flags                 = flags;
    advdata.p_manuf_specific_data = &amp;amp;manuf_specific_data;

    // Initialize advertising parameters (used when starting advertising).
    memset(&amp;amp;m_adv_params, 0, sizeof(m_adv_params));

    m_adv_params.properties.type = BLE_GAP_ADV_TYPE_NONCONNECTABLE_NONSCANNABLE_UNDIRECTED;
    m_adv_params.p_peer_addr     = NULL;    // Undirected advertisement.
    m_adv_params.filter_policy   = BLE_GAP_ADV_FP_ANY;
    m_adv_params.interval        = NON_CONNECTABLE_ADV_INTERVAL;
    m_adv_params.duration        = 0;       // Never time out.

    err_code = ble_advdata_encode(&amp;amp;advdata, m_adv_data.adv_data.p_data, &amp;amp;m_adv_data.adv_data.len);
    APP_ERROR_CHECK(err_code);

    err_code = sd_ble_gap_adv_set_configure(&amp;amp;m_adv_handle, &amp;amp;m_adv_data, &amp;amp;m_adv_params);
    APP_ERROR_CHECK(err_code);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;In our NCS&lt;/p&gt;
&lt;p&gt;you just do not populate the advertising or response data with the name when calling&amp;nbsp;bt_le_adv_start&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble name for OTA buttonless dfu</title><link>https://devzone.nordicsemi.com/thread/465687?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2024 21:30:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55a996d8-d0cb-42bd-8293-0aa946e6f4fa</guid><dc:creator>AndrewDF</dc:creator><description>&lt;p&gt;The architecture is as follows: a NRF52840 that uses multiprotocol (zigbee and ble) and a NRF52811 that was intended to be the primary ble interface. These chips share data via UART. Both chips now use butonless dfu for OTA updates. Which means there are now two ble advertisers. The 52811 functions as both the address to use the DFU and its primary function. The addition of softdevice 140 to 52840 adds an additional ble name that I would like to be hidden, exposed only to the DFU updater.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble name for OTA buttonless dfu</title><link>https://devzone.nordicsemi.com/thread/465674?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2024 18:12:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acb40634-0669-45fb-be49-2e5d3387bd4b</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Andrew,&lt;/p&gt;
[quote user=""]I recently added multiprotocol for the other chip so that I can update it via Ble. Ideally I would have the is new ble name be only visible to my app as it will be confusing to the user if there were two products that identified similarly.&amp;nbsp;[/quote]
&lt;p&gt;It is a bit unclear about your architecture based on your limited description. I am also not sure which SDK version you are using, but DFU and running your application do not normally happen at the same time.&lt;/p&gt;
&lt;p&gt;Can you show me in the schematics how the two radios? If your product have two cores then will each core be controlling the radio individually? If so you can have a different name for each radio transmission. If I misunderstood your description, then my apologies and I request you to be more descriptive on your setup on how you initiate a firmware update and how your two radios are used and controlled by which core of your product. Also which core will be running Nordic solution based firmware? Assuming there are two cores.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>