Hello.
I would like to receive the passkey value that the user entered when pairing Bluetooth and modify it.
Originally, it was said that if you enter "0000", you have to enter 6 digits according to the regulations to enable Bluetooth pairing.
So if I type "0000" I want to add "00" and make it "000000".
But I'm still a beginner, so I'd like to know where I can get the value and modify it.
You want to modify passkey and use it in the function below that you want to compare with static_passkey.