<?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>Unique Multi Peripheral Advertiser Names and MAC Address</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122924/unique-multi-peripheral-advertiser-names-and-mac-address</link><description>Nordic Support, 
 My product uses the nRF52840 chip and nRF52 SDK 17.1. I have a feature request to support hosting multiple peripheral connections, each with a unique advertising name and, if possible, a distinct MAC address. This feature will enable</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 Jul 2025 06:30:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122924/unique-multi-peripheral-advertiser-names-and-mac-address" /><item><title>RE: Unique Multi Peripheral Advertiser Names and MAC Address</title><link>https://devzone.nordicsemi.com/thread/542466?ContentTypeID=1</link><pubDate>Tue, 15 Jul 2025 06:30:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:885f559c-34fc-410b-8b31-3237ce60c3dd</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Matt,&lt;/p&gt;
&lt;p&gt;You cannot remove services at runtime without disabling/enabling the Softdevice (not recommended).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think attempting to remove the services might be an overkill for this problem. Instead advertise for Conn B that only NUS is available and leave the HID in your GATT database but enforce attribute level security like for example any attempt to do read/Write on HID handles on connection B would return Not Permitted error. This you can easily do by implementing some check in&amp;nbsp;BLE_GATTS_EVT_RW_AUTHORIZE_REQUEST event handling, just make sure that HID attributes have authentication enabled. For Connection A, you allow this read/Write.&lt;/p&gt;
&lt;p&gt;I am also not 100% sure that the BLE HID library is tested for two simultaneous connections. One of my colleagues made a &lt;a href="https://jimmywongiot.com/2020/01/14/ble-hid-multiple-peripherl-example-on-nordic-nrf52-series/"&gt;blog for multiperipheral HID&lt;/a&gt; which might be of some use here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unique Multi Peripheral Advertiser Names and MAC Address</title><link>https://devzone.nordicsemi.com/thread/542441?ContentTypeID=1</link><pubDate>Mon, 14 Jul 2025 20:12:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eeff245c-5c29-4343-9511-28bd07c1ed94</guid><dc:creator>matt_wilson</dc:creator><description>&lt;p&gt;Suheel,&lt;/p&gt;
&lt;p&gt;Thank you for your quick feedback. From your response, it appears I can advertise one connection at a time and connect my devices sequentially, renaming each device for each advertisement. This will work fine and do not have to advertise in parallel. I would like one connection to host both the HID service and NUS (Conn A), while the other connection hosts only NUS (Conn B). Utilizing HID requires pairing and bonding the connection. For Connection B, I want to avoid bonding and solely host NUS. I&amp;#39;m having difficulty understanding how to remove the HID service when advertising and managing Connection B. I would think I need a reverse functionality for&amp;nbsp;sd_ble_gatts_service_add.&lt;/p&gt;
&lt;p&gt;Lastly, although I haven&amp;#39;t tested it yet, is it possible to host two parallel connections with the HID service and send key commands to both devices simultaneously? Are there any conflicts I should be aware of? I know each connection will have to be paired and bonded.&lt;/p&gt;
&lt;p&gt;Thank you...&lt;/p&gt;
&lt;p&gt;- Matt W.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unique Multi Peripheral Advertiser Names and MAC Address</title><link>https://devzone.nordicsemi.com/thread/542437?ContentTypeID=1</link><pubDate>Mon, 14 Jul 2025 19:17:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77542cdd-d7e4-4f85-97c8-b2a9ea6d5e8a</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;On the nRF52840 with the nRF5 SDK and SoftDevice, you can only have one active advertiser at a time. You can shuffle between different names or services quite fast but you cannot truly broadcast two distinct names or use two separate MACs in parallel. If true multi-advertising is a hard requirement, you’d need to switch to the nRF Connect SDK SPLIT controller where the controller can handle multiple advertising sets concurrently.&lt;/p&gt;
[quote user=""]More questions to follow based on response.[/quote]
&lt;p&gt;If you have different questions not related to the main description of this thread, I recommend you open a different thread to keep the thread clean.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>