<?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>Question about &amp;quot;Mapping of IO capabilities to key generation method&amp;quot;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87430/question-about-mapping-of-io-capabilities-to-key-generation-method</link><description>Hi All, 
 I would like to know how Nordic&amp;#39;s pairing mode corresponds to the bluetooth specification. 
 
 If my smartphone(initiator) is keyboard display,and my slave(responder) is display only. 
 
 The comparison to the table is to use the passkey entry</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 May 2022 08:15:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87430/question-about-mapping-of-io-capabilities-to-key-generation-method" /><item><title>RE: Question about "Mapping of IO capabilities to key generation method"</title><link>https://devzone.nordicsemi.com/thread/368930?ContentTypeID=1</link><pubDate>Mon, 23 May 2022 08:15:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b94f3d1d-59e0-435a-ab96-afdd753e6496</guid><dc:creator>kai19960504</dc:creator><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;According to Einar&amp;#39;s analysis, the final answer is organized here :&lt;/p&gt;
&lt;p&gt;1. As long as the IO Capability of Initiator / Responder follows Table2.8, the configuration will happen&amp;nbsp; &amp;nbsp; &amp;nbsp; automatically.&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;Table2.8 tells you the security level that IO Capability can achieve, which defines the security of Link.&lt;/p&gt;
&lt;p&gt;3. sec_xxx represents security level which defines the security of access characteristics.&lt;/p&gt;
&lt;p&gt;4. Each characteristics can have a different security level.&lt;/p&gt;
&lt;p&gt;5. The security level of the link must be the same or higher than the security level to access the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;characteristics&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;6. Encryption of the BLE link always happens the same way as long as encryption is used, regardless of how the pairing is performed.&lt;/p&gt;
&lt;p&gt;7. The sniffer trace shows that the sniffer cannot interpret the packets after the link becomes encrypted, which means it does not have the LTK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about "Mapping of IO capabilities to key generation method"</title><link>https://devzone.nordicsemi.com/thread/368908?ContentTypeID=1</link><pubDate>Mon, 23 May 2022 06:02:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b86d001-e9be-4cdf-9b4a-36b402dfeaef</guid><dc:creator>kai19960504</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;I have already know what you say,thank you!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about "Mapping of IO capabilities to key generation method"</title><link>https://devzone.nordicsemi.com/thread/368728?ContentTypeID=1</link><pubDate>Fri, 20 May 2022 07:37:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17f67d99-0e66-4c85-8843-8939305cbbad</guid><dc:creator>Einar Thorsrud</dc:creator><description>[quote user="kai19960504"]My encryption means that Sniffer will send this message : Encrypted packet decrypted incorrectly (bad MIC),you can see the red frame,so I define it as data encryption.[/quote]
&lt;p&gt;I believe we are talking about the same thing. (Encryption of the BLE link always happens the same way as long as encryption is used, regardless of how the pairing is performed.). The sniffer trace shows that the sniffer cannot interpret the packets after the link becomes encrypted, which means it does not have the LTK (either because you used LESC pairing of the sniffer did not listen in on the pairing procedure). Note that if you are using legacy pairing and you sniff the pairing the sniffer will get the LTK and can decode the packets even if the link is encrypted, so simply seeing that the sniffer can decode the packets does not show that the link is not encrypted. Instead, you need to see if if encryption is started (you se the LL packets right before the sniffer no longer can decode the packet in your sniffer trace), or look at the&amp;nbsp;&lt;/p&gt;
[quote user="kai19960504"]Q1: regarding the encryption description in the code and my understanding from the experiment, are they mean the same things as the screenshot?[/quote]
&lt;p&gt;I don&amp;#39;t understand the question, to be honest. As mentioned before, the configuration on the characteristics configure the security level required on the link in order to be able to access the characteristics. This does not control if the link is encrypted or not. (You can for instance pair and have an encrypted link even if all characteristics are open, there is nothing in the spec that prevents that, even if it would be unusual.)&lt;/p&gt;
[quote user="kai19960504"]Q2: according to my experiment, I&amp;#39;m confused why &amp;quot;Data Encryption&amp;quot; doesn&amp;#39;t work with the configuration in red as the table?[/quote]
&lt;p&gt;I am not sure I understand the table. In what way does encryption not work? You can pair and encrypt the link without any I/O capabilities or any other requirements, as long as both peers support pairing and one of them initiates it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about "Mapping of IO capabilities to key generation method"</title><link>https://devzone.nordicsemi.com/thread/368708?ContentTypeID=1</link><pubDate>Fri, 20 May 2022 05:38:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21e61ccd-7cd2-44a2-b81f-064bbab15ad3</guid><dc:creator>kai19960504</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure we&amp;#39;re talking about the encryption is same or not.&lt;/p&gt;
&lt;p&gt;My encryption means that Sniffer will send this message : Encrypted packet decrypted incorrectly (bad MIC),you can see the red frame,so I define it as data encryption.&lt;/p&gt;
&lt;p&gt;&lt;img style="height:auto;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x0/__key/communityserver-discussions-components-files/4/pastedimage1653011255582v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Q1: regarding the encryption description in the code and my understanding from the experiment, are they mean the same things as the screenshot?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/_0B4E098F_.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Q2: according to my experiment, I&amp;#39;m confused why &amp;quot;Data Encryption&amp;quot; doesn&amp;#39;t work with the configuration in red as the table?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1653025092621v2.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about "Mapping of IO capabilities to key generation method"</title><link>https://devzone.nordicsemi.com/thread/368641?ContentTypeID=1</link><pubDate>Thu, 19 May 2022 13:36:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77c40cf5-df3c-444d-80f2-814f52d6f8dc</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="kai19960504"]1. As long as the IO Capability of Initiator / Responder follows Table2.8, the configuration will happen&amp;nbsp; &amp;nbsp; &amp;nbsp; automatically.[/quote]
&lt;p&gt;Yes.&lt;/p&gt;
[quote user="kai19960504"]2.&amp;nbsp;Table2.8 tells you the security level that IO Capability can achieve, which defines the security of Link.[/quote]
&lt;p&gt;Yes.&lt;/p&gt;
[quote user="kai19960504"]3. sec_xxx represents security level which defines the security of access characteristics.[/quote]
&lt;p&gt;Yes.&lt;/p&gt;
[quote user="kai19960504"]4. Each characteristics can have a different security level.[/quote]
&lt;p&gt;Yes.&lt;/p&gt;
[quote user="kai19960504"]5. The security level of the link must be the same or higher than the security level to access the &lt;span&gt;characteristics&lt;/span&gt;.[/quote]
&lt;p&gt;Yes.&lt;/p&gt;
[quote user="kai19960504"]Why is data encrypted using the security level for just works?[/quote]
&lt;p&gt;Just works is the term for pairing without any MITM protection (no passkey or numeric comparison). But as long as you pair, there will be a&amp;nbsp;procedure that results in an encryption key (LTK) that is used to encrypt the link. If you don&amp;#39;t want encryption, then do not pair or bond and set the characteristic security to open (SEC_OPEN).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about "Mapping of IO capabilities to key generation method"</title><link>https://devzone.nordicsemi.com/thread/368483?ContentTypeID=1</link><pubDate>Thu, 19 May 2022 01:31:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b5e1c81-9447-41f0-95f5-39da9ca7e346</guid><dc:creator>kai19960504</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;Based on my experiment, I am more clear about your explanation before.&lt;/p&gt;
&lt;p&gt;But still want to ask questions.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s what I&amp;#39;ve done with your answer, please help me confirm :&lt;/p&gt;
&lt;p&gt;1. As long as the IO Capability of Initiator / Responder follows Table2.8, the configuration will happen&amp;nbsp; &amp;nbsp; &amp;nbsp; automatically.&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;Table2.8 tells you the security level that IO Capability can achieve, which defines the security of Link.&lt;/p&gt;
&lt;p&gt;3. sec_xxx represents security level which defines the security of access characteristics.&lt;/p&gt;
&lt;p&gt;4. Each characteristics can have a different security level.&lt;/p&gt;
&lt;p&gt;5. The security level of the link must be the same or higher than the security level to access the &lt;span&gt;characteristics&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here is my implementation of the problem :&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/87430/question-about-mapping-of-io-capabilities-to-key-generation-method/365685#365685"]With passkey entry you will hav MITM, so up to SEC_MITM can be used, and the characteristic can be accessed. You can also use SEC_JUST_WORKS for instance, if you do not want to&amp;nbsp;require MITM protection in order to access that specific characteristic. [/quote]
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1652923394737v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Why is data encrypted using the security level for just works?&lt;/p&gt;
&lt;p&gt;(The encryption I am talking about is as follows : Sniffer cannot sniff during data transmission)&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1652923604770v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about "Mapping of IO capabilities to key generation method"</title><link>https://devzone.nordicsemi.com/thread/366335?ContentTypeID=1</link><pubDate>Thu, 05 May 2022 01:16:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:476df20b-082c-42f2-b0b8-31832778a529</guid><dc:creator>kai19960504</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m going to do some experiments first maybe to understand what you mean, it will take a while.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about "Mapping of IO capabilities to key generation method"</title><link>https://devzone.nordicsemi.com/thread/366158?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 10:14:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:642937b1-2002-4a2b-8694-4d6103a3a248</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;No. If you require higher security level on the characteristics than what you end up with on the link after pairing (based on IO capabilities), then you will not be able to access the characteristics.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about "Mapping of IO capabilities to key generation method"</title><link>https://devzone.nordicsemi.com/thread/366081?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 00:23:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59d698ed-a90b-4422-9169-79cd0993cc64</guid><dc:creator>kai19960504</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;So you mean that the security level set by the characteristic is preferably higher than the IO capability,right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about "Mapping of IO capabilities to key generation method"</title><link>https://devzone.nordicsemi.com/thread/366037?ContentTypeID=1</link><pubDate>Tue, 03 May 2022 14:55:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e8ed9d3-48af-429f-90a5-6c1fddbe5f69</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Kai,&lt;/p&gt;
&lt;p&gt;It goes back to what I have attempted to describe:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The security level of the link depends on the IO-capabilities of the peers (and if LESC is supported). The highest possible given the combined support is used.&lt;/li&gt;
&lt;li&gt;Each characteristic can requier separate specific security levels (from 1.) for each characteristic (and even separate for reading and writing).&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Tese two concepts are closely related. You need to understand the concepts in order to work with this, and it is basically as I have deescribed. If you need more understanding of this you can read up on Bluetooth security in general as this is a generic concept ant not specific to Nordic.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about "Mapping of IO capabilities to key generation method"</title><link>https://devzone.nordicsemi.com/thread/365888?ContentTypeID=1</link><pubDate>Tue, 03 May 2022 07:32:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7500c9e3-24ac-45d7-b3ab-29b25d82506c</guid><dc:creator>kai19960504</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/87430/question-about-mapping-of-io-capabilities-to-key-generation-method/365848#365848"]If the level you got from pairing/bonding is the same or higher as you have specified for a given characteristic, then you can read/write it. If it is lower, then you cannot.[/quote]
&lt;p&gt;Could you please elaborate a little more on what this means?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about "Mapping of IO capabilities to key generation method"</title><link>https://devzone.nordicsemi.com/thread/365878?ContentTypeID=1</link><pubDate>Tue, 03 May 2022 06:47:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63a76e56-8d32-47e1-b3a1-9b168113ea11</guid><dc:creator>Einar Thorsrud</dc:creator><description>[quote user="kai19960504"]&amp;quot;the level you got from pairing/bonding&amp;quot; - Do you mean this part of the picture?[/quote]
&lt;p&gt;No, that is where you set the security requirement for a specific characteristic. Here you set it to open so that it can be accessed even with an unencrypted link (no pairing needed for that specific characteristic to be used).&lt;/p&gt;
[quote user="kai19960504"]or here?[/quote]
&lt;p&gt;These defines are used further down in the examples main.c and &amp;nbsp;is input to the peer manager, and configures if it should support bonding etc. Here you also set IO capabilities to none, so just works (or no pairing at all) is the only posibility.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about "Mapping of IO capabilities to key generation method"</title><link>https://devzone.nordicsemi.com/thread/365861?ContentTypeID=1</link><pubDate>Tue, 03 May 2022 02:41:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35779f5a-bf66-416d-9b12-c1c067c6949b</guid><dc:creator>kai19960504</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/87430/question-about-mapping-of-io-capabilities-to-key-generation-method/365848#365848"]If the level you got from pairing/bonding is the same or higher as you have specified for a given characteristic, then you can read/write it. If it is lower, then you cannot.[/quote]
&lt;p&gt;&amp;quot;the level you got from pairing/bonding&amp;quot; - Do you mean this part of the picture?&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1651545539518v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;or here?&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1651545656937v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about "Mapping of IO capabilities to key generation method"</title><link>https://devzone.nordicsemi.com/thread/365848?ContentTypeID=1</link><pubDate>Mon, 02 May 2022 19:48:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0176964c-ffa5-4d3b-9791-80266e7fa37f</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Almost. These are closely related, but not the exact same thing. Note that these are general Bluetooth concepts, so this is not related specifically to Nordic.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The table tells you which security level you can achieve with the given combined I/O capabilities of the peers. This defines the security you get on the link after pairing/bonding. This is one thing.&lt;/p&gt;
&lt;p&gt;The security_req_t type however, is associated with characteristics and define the security level&amp;nbsp;required for reading and/or writing to that specific characteristic. That does not have to be the same. If the level you got from pairing/bonding is the same or higher as you have specified for a given characteristic, then you can read/write it. If it is lower, then you cannot.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about "Mapping of IO capabilities to key generation method"</title><link>https://devzone.nordicsemi.com/thread/365811?ContentTypeID=1</link><pubDate>Mon, 02 May 2022 14:01:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0970bb2-4367-4cdb-b996-8c663fd927db</guid><dc:creator>kai19960504</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;So table2-8 just tells you what security mode would normally be used for the IO &lt;span&gt;capability&amp;nbsp;&lt;/span&gt;of the two peers.&lt;/p&gt;
&lt;p&gt;In fact, the security mode to be used can be customized through security_req_t.&lt;/p&gt;
&lt;p&gt;It is right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about "Mapping of IO capabilities to key generation method"</title><link>https://devzone.nordicsemi.com/thread/365685?ContentTypeID=1</link><pubDate>Mon, 02 May 2022 06:43:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49b7976e-e6b1-42ed-9a16-12ba70ed0cda</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;That depends. This is set per characteristic, and can be different for the different characteristics you have in your product. With passkey entry you will hav MITM, so up to SEC_MITM can be used, and the characteristic can be accessed. You can also use SEC_JUST_WORKS for instance, if you do not want to&amp;nbsp;require MITM protection in order to access that specific characteristic. So there is no direct one-to-one mapping here.&lt;/p&gt;
&lt;p&gt;However, if you make both peers or one of them is a phone or a device you know will have full I/O capabilities, then you know that you will always have passkey entry, and you could just as well set SEC_MITM for all characteristics.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about "Mapping of IO capabilities to key generation method"</title><link>https://devzone.nordicsemi.com/thread/365674?ContentTypeID=1</link><pubDate>Mon, 02 May 2022 04:36:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d64b68b-0fe3-4444-a931-16462eb92d22</guid><dc:creator>kai19960504</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/87430/question-about-mapping-of-io-capabilities-to-key-generation-method/365565#365565"]For each characteristic you define which security level you need in order to allow access to that characteristic. As long as the link has same or higher level, the peer is allowed to operate on the characteristic. (There are separate configurations for different operations, so it is for instance possible to require no security on say writing, but required MITM for reading. Or require just works for some characteristics, and MITM for others, etc.)[/quote]
&lt;p&gt;sorry i don&amp;#39;t quite understand.&lt;/p&gt;
&lt;p&gt;If both peers final match is &amp;quot; Passkey Entry&amp;quot;,which enum should i choose in security_req_t?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about "Mapping of IO capabilities to key generation method"</title><link>https://devzone.nordicsemi.com/thread/365565?ContentTypeID=1</link><pubDate>Fri, 29 Apr 2022 11:28:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60e395f9-9565-4814-9a8c-be48f38d8ddd</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Kai,&lt;/p&gt;
&lt;p&gt;Both peers are configured with what they support of I/O capabilities, and with that input the table you refer to defines which (if any)&amp;nbsp;pairing method that will be used. This follows the Bluetooth specification and happens automatically based on the configuration.&lt;/p&gt;
[quote user=""]&lt;p&gt;So which one should I choose for the settings in the program?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;For each characteristic you define which security level you need in order to allow access to that characteristic. As long as the link has same or higher level, the peer is allowed to operate on the characteristic. (There are separate configurations for different operations, so it is for instance possible to require no security on say writing, but required MITM for reading. Or require just works for some characteristics, and MITM for others, etc.)&lt;/p&gt;
&lt;p&gt;Br,&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>