How I changed the PASSKEY in NRF52832??

I want to change static_passkey from "000000" to "0000".

But It doesn't work when I update changed code to board.

I changed like below pictures.(000000 -> 0000)

And this is the code of PASSKEY

Please help me.

Parents
  • Hello,
    You are correct. The passkey for Bluetooth pairing must indeed be 6 digits long. This is not just related to Android security regulations, but is a requirement specified in the Bluetooth standard itself.
    The passkey is always a 6-digit number, ranging from 000000 to 999999. Attempting to use a 4-digit passkey (like "0000") would not comply with the Bluetooth specification and thus would not work correctly for pairing.
    Regards,
    Swathy
Reply
  • Hello,
    You are correct. The passkey for Bluetooth pairing must indeed be 6 digits long. This is not just related to Android security regulations, but is a requirement specified in the Bluetooth standard itself.
    The passkey is always a 6-digit number, ranging from 000000 to 999999. Attempting to use a 4-digit passkey (like "0000") would not comply with the Bluetooth specification and thus would not work correctly for pairing.
    Regards,
    Swathy
Children
No Data
Related