<?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>Getting rcvd Pairing Failed:Numeric Comparison Failed during pairing process</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117771/getting-rcvd-pairing-failed-numeric-comparison-failed-during-pairing-process</link><description>Hi, 
 
 I am using a nrf52840 dongle for sniffing the bluetooth connection between 2 devices. These are the wireshark logs 
 What I could see is it initiates the pairing with secured connection then key exchange is happening and fails during the comparison</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 Jan 2025 14:41:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117771/getting-rcvd-pairing-failed-numeric-comparison-failed-during-pairing-process" /><item><title>RE: Getting rcvd Pairing Failed:Numeric Comparison Failed during pairing process</title><link>https://devzone.nordicsemi.com/thread/519597?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2025 14:41:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f71eb6b-b01e-4a92-a202-b78bcb6423c2</guid><dc:creator>Elfving</dc:creator><description>[quote user="Elfving"]&lt;p&gt;Make sure that the BlueZ version supports LESC pairing. And you mentioned you&amp;#39;re trying to do Just Works pairing with NoInputNoOutput, but if the sniffed packets indicate a numeric comparison failure&amp;nbsp;it might be a mismatch in the pairing methods between the devices.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;This gives the impression of both - ie. different approaches, hence the crash.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting rcvd Pairing Failed:Numeric Comparison Failed during pairing process</title><link>https://devzone.nordicsemi.com/thread/519566?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2025 13:19:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51cef04c-b23d-4455-92c3-49c5cef22198</guid><dc:creator>prashaanth</dc:creator><description>&lt;p&gt;Atleast can you guide me like which approach is being taken here for the pairing process. Is it passkey mechanism or numeric comparison mechanism?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting rcvd Pairing Failed:Numeric Comparison Failed during pairing process</title><link>https://devzone.nordicsemi.com/thread/517937?ContentTypeID=1</link><pubDate>Fri, 10 Jan 2025 12:47:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0c0e56a-0eb0-4ba3-8547-fb0f68d8e527</guid><dc:creator>Elfving</dc:creator><description>[quote user="prashaanth"]How to enable the justworks pairing method?&lt;br /&gt;[/quote]
&lt;p&gt;I won&amp;#39;t be able to help you regarding getting that working with BlueZ. Try stack overflow or BlueZ directly.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting rcvd Pairing Failed:Numeric Comparison Failed during pairing process</title><link>https://devzone.nordicsemi.com/thread/517728?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2025 13:55:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1bcaee6-3d23-4bd2-b8cb-ca166a2fb8c2</guid><dc:creator>prashaanth</dc:creator><description>&lt;p&gt;I could observe that when I do a default-agent on bluetoothctl&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1736430561568v1.png" /&gt;&lt;br /&gt;&lt;br /&gt;How to enable the justworks pairing method?&lt;br /&gt;&lt;br /&gt;Then I try to pair the device I don&amp;#39;t see the numeric comparison issue and it says Sent pairing DHKey check but later there are no logs regarding the security.&lt;br /&gt;&lt;br /&gt;I am using the latest bluez which is 5.78. I am attaching the bt monitor logs for your reference. Attaching my sniffing logs once I made the default-agent to be on&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/without_5F00_numeric_5F00_key_5F00_issue.pcapng"&gt;devzone.nordicsemi.com/.../without_5F00_numeric_5F00_key_5F00_issue.pcapng&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/btmon_5F00_logs.txt"&gt;devzone.nordicsemi.com/.../btmon_5F00_logs.txt&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting rcvd Pairing Failed:Numeric Comparison Failed during pairing process</title><link>https://devzone.nordicsemi.com/thread/517453?ContentTypeID=1</link><pubDate>Wed, 08 Jan 2025 12:00:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e93c374d-a777-4b04-a865-339ec3c7eb55</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Make sure that the BlueZ version supports LESC pairing. And you mentioned you&amp;#39;re trying to do Just Works pairing with NoInputNoOutput, but if the sniffed packets indicate a numeric comparison failure&amp;nbsp;it might be a mismatch in the pairing methods between the devices.&lt;/p&gt;
&lt;p&gt;Are there any error logs with info on any of the devices?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting rcvd Pairing Failed:Numeric Comparison Failed during pairing process</title><link>https://devzone.nordicsemi.com/thread/517195?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2025 11:40:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbd4cc25-9bd1-478d-bb6b-17218616a093</guid><dc:creator>prashaanth</dc:creator><description>&lt;p&gt;It is not a nrf I am filtering out for my device mac address in wireshark logs so if you see the slave is my device (which is having bluetooth 4 with bluez 5.55 version) mac address and master is the app so I am trying to sniff the bluetooth layer. When I sniff I see the packets says numeric comparison failure. There is the key exchange happenign but it fails in the numeric comparison of the keys.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What could be the possibility here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting rcvd Pairing Failed:Numeric Comparison Failed during pairing process</title><link>https://devzone.nordicsemi.com/thread/517173?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2025 10:29:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4420b016-7993-4e8b-9273-7a47335dabab</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What is running on the embedded device? Have you checked that you can get a working connection with other&amp;nbsp;SW running on it, or with a different app? Is it an nRF?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>