Getting rcvd Pairing Failed:Numeric Comparison Failed during pairing process

Hi,

I am using a nrf52840 dongle for sniffing the bluetooth connection between 2 devices. These are the wireshark logs secure_pairing_app.pcapng

What I could see is it initiates the pairing with secured connection then key exchange is happening and fails during the comparison. Where exactly can I debug to identify this issue?

I am trying to do justworks pairing, noinputnooutput. Please pour your suggestions here. 

Additional information:
My peripheral is based on ARM platform and it's an embedded device. My Master device is the app which initiates the connection.

Parents Reply Children
  • 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.

    What could be the possibility here?

  • Make sure that the BlueZ version supports LESC pairing. And you mentioned you're trying to do Just Works pairing with NoInputNoOutput, but if the sniffed packets indicate a numeric comparison failure it might be a mismatch in the pairing methods between the devices.

    Are there any error logs with info on any of the devices?

    Regards,

    Elfving

Related