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.

CC2642R: CC264x Passcode Entry authentication GAPBondMgr_PasscodeRsp

Part Number: CC2642R

Tool/software:

Hi TI,

I am using the "Passcode Entry" authentication type to pair a CC2642 (peripheral) with a smartphone.

I noticed a feature between GAPBondMgr and BLE Stack have some limitations.

The "GAPBondMgr_PasscodeRsp" function does not respect the number of digits in the "passcode" variable.
For example, if the passcode is an integer 1234, in practice the value sent by GAPBondMgr and BLE Stack to be compared will be "001234".

On the smartphone, it is not possible to complete the pairing using "1234", it is only possible to use "001234".

Alternatively, instead of using "GAPBondMgr_PasscodeRsp", I tested using "GAP_PasskeyUpdate" which in practice allows sending in string format,
however, if the passkey is "1234", in practice the value sent by GAPBondMgr and BLE Stack to be compared will still be "001234".
And on the smartphone it is only possible to pair using "001234".

This feature with a fixed number of digits is bad in practice, because in general, end users and customers of products used to entering standard 4-digit passwords like "0000" or "1234" at first pairing, also smartphone's OS pop-up recommend this passes options.

The SDKs available up to the time of this post have this feature, does TI have any activity underway or intend to improve this feature?

Thank you.