Pairing works only on some android phones

Hi,

I am modifying the peripheral_uart code to set a fixed pairing method so that I will have to enter a pre-defined passkey in my nrf connect application on my android. It works fine with my android. So I assume my callbacks and workflows are all fine. However, when I try to pair from some other phones, it does not work anymore. I am not even prompted for a passkey in other phone. In some phones, pairing fails with an error message on central (android) side with message 'Couldn't pair with Nordic_UART_Service. Make sure that it's ready to pair' . After this, every attempt to pairing fails without any messages. For some other phones, we do not even see a message. The central says 'Bonding..' and then says 'Not bonded'.

The logs in the peripheral side does not say much either.

I cannot use Just Works or fixed passkey for pairing here. I am using NCS V2.1.0 and nrf52832DK

have anyone faced this kind of problem ? Any help would be appreciated. Thank you

Parents Reply Children
Related