This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to bypass manually input android phone pin code

Other Parts Discussed in Thread: CC2564

I am using a MSP430 + cc2564 embedded device to communicate with an Android phone app. The code for the embedded device is based on the SPPLEDemo_Lite project, and I hard coded the pin code "0000" in the embedded device. The pairing process is successful, except the fact that I had to type in "0000" in the Android phone.

My question is: is there a way, e.g., disable the pin code or hard-code it in the Android phone app, to bypass the "manual type in 0000" step in the Android phone?

Thanks in advance,

  • Hi,

    I believe Android does have some auto pairing mechanism.
    You can check on some Android forum for more details.

    One option would be to enable Secure Simple Pairing on the CC256x side so you wouldn't have to go through typing the password on the remote.
    You can take a look at "SetPairabilityMode" & "ChangeSimplePairingParameters" in one of the sample apps for more details. Please also see "IO Capability Mapping to Authentication" in the BT specification.

    Regards,
    Gigi Joseph.