This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Bonding fail and i don't know why

Hi All,

sometimes i have a problems with bonding: the Nordic APP said "Couldn't pair with xxxxxx because of an incorrect PIN or passkey".

Why i have this errors? What means?

i try to delete bonding information on both side (phone and nordic board) but continues to reject the passkey.

I would that if this errors occurs the bonding procedure can be done again.

Thanks, Anna

Parents
  • How often do you get the error? Are you able to connect sometimes?

    Is this the settings you have set in your application?

    sec_param.bond = true;
    sec_param.mitm = false;
    sec_param.lesc = 0;
    sec_param.keypress = 0;
    sec_param.io_caps = BLE_GAP_IO_CAPS_NONE;
    sec_param.oob = false;
    sec_param.min_key_size = 7;
    sec_param.max_key_size = 16;
    sec_param.kdist_own.enc = 1;
    sec_param.kdist_own.id = 1;
    sec_param.kdist_peer.enc = 1;
    sec_param.kdist_peer.id = 1;
    
Reply
  • How often do you get the error? Are you able to connect sometimes?

    Is this the settings you have set in your application?

    sec_param.bond = true;
    sec_param.mitm = false;
    sec_param.lesc = 0;
    sec_param.keypress = 0;
    sec_param.io_caps = BLE_GAP_IO_CAPS_NONE;
    sec_param.oob = false;
    sec_param.min_key_size = 7;
    sec_param.max_key_size = 16;
    sec_param.kdist_own.enc = 1;
    sec_param.kdist_own.id = 1;
    sec_param.kdist_peer.enc = 1;
    sec_param.kdist_peer.id = 1;
    
Children
No Data
Related