<?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>I set IRK on Zephyr and it seems to keep the same mac address(after bonding), why?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101441/i-set-irk-on-zephyr-and-it-seems-to-keep-the-same-mac-address-after-bonding-why</link><description>Hi all, Since we dont need to worry about privacy I am trying to turn off the IRK. My setup: central side : pcb-ble-driver, typescript central. peripheral side: zephyr with ncs 2.2.0 we are moving from nrf5 to zephyr (ncs 2.2.0) and we are willing to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Aug 2023 12:18:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101441/i-set-irk-on-zephyr-and-it-seems-to-keep-the-same-mac-address-after-bonding-why" /><item><title>RE: I set IRK on Zephyr and it seems to keep the same mac address(after bonding), why?</title><link>https://devzone.nordicsemi.com/thread/439257?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2023 12:18:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d76ce05-32c9-4168-825f-15fe3bae21fc</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Ben,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think&amp;nbsp;can be a bug in LESC that it require privacy to allow LESC.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you capture a &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-sniffer-for-bluetooth-le"&gt;sniffer trace&amp;nbsp;&lt;/a&gt; ?&lt;/p&gt;
&lt;p&gt;Could you check if you can reproduce the issue using 2&amp;nbsp;samples in NCS ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please be aware that even with&amp;nbsp;&lt;span&gt;CONFIG_BT_PRIVACY&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;=y&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;but if you use BT_LE_ADV_OPT_USE_IDENTITY when advertising, the MAC address will not change.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I set IRK on Zephyr and it seems to keep the same mac address(after bonding), why?</title><link>https://devzone.nordicsemi.com/thread/438856?ContentTypeID=1</link><pubDate>Sun, 30 Jul 2023 07:54:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36b7ec5a-53d6-457b-aa4e-96fe9f3eef93</guid><dc:creator>BenSiso</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;br /&gt;We&amp;nbsp;have 2 products, the first one is central(build in typescript and using PC-BLE-DRIVER repo). The other product is build on softdevice(c).&lt;br /&gt;&lt;br /&gt;The two communicate with each other over ble.&lt;br /&gt;&lt;br /&gt;Since we dont need IRK, we set on central side:&amp;nbsp;&lt;br /&gt;&amp;quot;&lt;strong&gt;id: false&lt;/strong&gt;&amp;nbsp;/** Identity Resolving Key and Identity Address Information. */,&amp;quot;&lt;br /&gt;&lt;br /&gt;But sec level 4 not working (we are getting zero in the ltk array).&lt;br /&gt;&lt;br /&gt;Only when we set &lt;strong&gt;id:true&lt;/strong&gt; it working as expected.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;What we are doing wrong ?&lt;br /&gt;&lt;pre class="ui-code" data-mode="typescript"&gt;const secParamsCentral: SecurityParameters = {
      bond: true,
      mitm: true,
      lesc: true,
      keypress: false,
      // eslint-disable-next-line camelcase
      io_caps: this.adapter.driver.BLE_GAP_IO_CAPS_KEYBOARD_ONLY,
      oob: false,
      // eslint-disable-next-line camelcase
      min_key_size: 7,
      // eslint-disable-next-line camelcase
      max_key_size: 16,
      // eslint-disable-next-line camelcase
      kdist_own: {
        enc: true /** Long Term Key and Master Identification. */,
        id: true /** Identity Resolving Key and Identity Address Information. */,
        sign: false /** Connection Signature Resolving Key. */,
        link: false /** Derive the Link Key from the LTK. */,
      },
      // eslint-disable-next-line camelcase
      kdist_peer: {
        enc: true /** Long Term Key and Master Identification. */,
        id: true /** Identity Resolving Key and Identity Address Information. */,
        sign: false /** Connection Signature Resolving Key. */,
        link: false /** Derive the Link Key from the LTK. */,
      },
    };&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I set IRK on Zephyr and it seems to keep the same mac address(after bonding), why?</title><link>https://devzone.nordicsemi.com/thread/438757?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2023 13:01:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4e17ff0-b921-4971-997b-c50ed4f40fb5</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="BenSiso"]Already set to no by default, and I still receive the all zeroes LTK unless you set ID:true in the central (which is IRK I think)[/quote]
&lt;p&gt;I think I missed the question in your previous message.&lt;/p&gt;
&lt;p&gt;Is the problem that you were unable to disable IRK?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I set IRK on Zephyr and it seems to keep the same mac address(after bonding), why?</title><link>https://devzone.nordicsemi.com/thread/438309?ContentTypeID=1</link><pubDate>Wed, 26 Jul 2023 13:36:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:281a960f-0989-409f-b476-a6c9d15fbd61</guid><dc:creator>BenSiso</dc:creator><description>&lt;p&gt;&lt;span&gt;We would like to use zephyr with ble security level 4 but without IRK. Is it possible in zephyr?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I set IRK on Zephyr and it seems to keep the same mac address(after bonding), why?</title><link>https://devzone.nordicsemi.com/thread/436995?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2023 11:58:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f195e7ef-c0df-4c9b-bb7c-ffd79bc39c63</guid><dc:creator>BenSiso</dc:creator><description>&lt;div id="1689670876.086239" class="c-virtual_list__item c-virtual_list__item--initial-activeitem" data-qa="virtual-list-item" data-item-key="1689670876.086239"&gt;
&lt;div class="c-message_kit__background c-message_kit__background--hovered p-message_pane_message__message c-message_kit__message" data-qa="message_container" data-qa-unprocessed="false" data-qa-placeholder="false"&gt;
&lt;div class="c-message_kit__hover c-message_kit__hover--hovered" data-qa-hover="true"&gt;
&lt;div class="c-message_kit__actions c-message_kit__actions--above"&gt;
&lt;div class="c-message_kit__gutter"&gt;
&lt;div class="c-message_kit__gutter__right" data-qa="message_content"&gt;
&lt;div class="c-message_kit__blocks c-message_kit__blocks--rich_text"&gt;
&lt;div class="c-message__message_blocks c-message__message_blocks--rich_text" data-qa="message-text"&gt;
&lt;div class="p-block_kit_renderer" data-qa="block-kit-renderer"&gt;
&lt;div class="p-block_kit_renderer__block_wrapper p-block_kit_renderer__block_wrapper--first"&gt;
&lt;div class="p-rich_text_block" dir="auto"&gt;
&lt;div class="p-rich_text_section"&gt;Hi Sigurd&lt;br /&gt;Already set to no by default, and I still receive the all zeroes LTK unless you set ID:true in the central (which is IRK I think)&lt;br /&gt;thank you,&lt;br /&gt;ben&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div id="1689670877.655039" class="c-virtual_list__item" data-qa="virtual-list-item" data-item-key="1689670877.655039"&gt;
&lt;div class="c-message_kit__background p-message_pane_message__message c-message_kit__message" data-qa="message_container" data-qa-unprocessed="false" data-qa-placeholder="false"&gt;
&lt;div class="c-message_kit__hover" data-qa-hover="true"&gt;
&lt;div class="c-message_kit__actions c-message_kit__actions--above"&gt;
&lt;div class="c-message_kit__gutter"&gt;
&lt;div class="c-message_kit__gutter__left"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I set IRK on Zephyr and it seems to keep the same mac address(after bonding), why?</title><link>https://devzone.nordicsemi.com/thread/435761?ContentTypeID=1</link><pubDate>Tue, 11 Jul 2023 13:48:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bb29605-bd5c-4d72-8f28-bda5ff856dc5</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;&lt;span&gt;CONFIG_BT_PRIVACY&lt;/span&gt;&lt;span&gt;&lt;/span&gt; is not required for security level 4.&lt;br /&gt;This should be possible in Zephyr.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I set IRK on Zephyr and it seems to keep the same mac address(after bonding), why?</title><link>https://devzone.nordicsemi.com/thread/435539?ContentTypeID=1</link><pubDate>Mon, 10 Jul 2023 15:13:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c927e4e1-33b6-4aa9-ab9e-5949c8e60c3e</guid><dc:creator>BenSiso</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;br /&gt;We would like to use zephyr with ble security level 4 but without IRK. Is it possible in zephyr?&lt;br /&gt;Our central is using PC-BLE-DRIVER-JS (typescript) as mention above.&lt;br /&gt;&lt;br /&gt;**The difference from the other case is that I am not asking about the IRK logic / howto etc.&lt;br /&gt;thank you,&lt;br /&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I set IRK on Zephyr and it seems to keep the same mac address(after bonding), why?</title><link>https://devzone.nordicsemi.com/thread/434497?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2023 14:25:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77034b17-55e1-4d15-934f-785a2330b6c3</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Ben,&lt;/p&gt;
&lt;p&gt;I see that you also got case &amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/100675/how-does-identity-resolving-key-work-why-does-lesc-only-work-when-irk-is-set-to-true-zephyr"&gt;How does Identity Resolving Key work? Why does LESC only work when IRK is set to true(zephyr)?&lt;/a&gt; which seems similar to me.&lt;/p&gt;
&lt;p&gt;Can you shortly explain how this ticket is different? I think that will help me better provide you help.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>