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.

Numeric Comparison

I want to do Numeric Comparison

I am using the simplelink_cc13x2_26x2_sdk_5_10_00_48.

I refer to the help below.
https://software-dl.ti.com/simplelink/esd/simplelink_cc13x2_26x2_sdk/5.10.00.48/exports/docs/ble5stack/ble_user_guide/html/ble-stack-5.x/gapbondmngr-cc13x2_26x2.html

Looking at the Numeric Comparison part, it is described as follows

Looking at 3
GAPBondMgr_PasscodeRsp (connHandle, SUCCESS, B_APP_DEFAULT_PASSCODE);
Do I need this?

In the sequence below, GAPBondMgr_PasscodeRsp () is only once, so I don't think it is necessary to execute GAPBondMgr_PasscodeRsp () in SimpleCentral_processPasscode (). 

Is this wrong?

Another question , I think that if I don't execute GAPBondMgr_PasscodeRsp () when doing Numeric Comparison, I get an authentication error due to a timeout. Is this wrong?

If I get a timeout error, how long is it? Can I change the time?

Best Regards.

  • Hi,

    The sequence presented in the image should be followed. GAPBondMgr_PasscodeRsp() is required.

    You can refer to the simple_peripheral and simple_central examples for more details.

    Best regards,

  • Hi  

    Thank you for your reply.

    In the help, GAPBondMgr_PasscodeRsp () is called when RIGHT_KEY is pressed, but if GAPBondMgr_PasscodeRsp () is not sent, will an authentication error (timeout error) occur?

    If I get a timeout error, how long is it? Also, can that time be configured?

    Best Regards.

  • Hi,

    As long as GAPBondMgr_PasscodeRsp is not executed, pairing cannot complete and the link should not be considered as authenticated.

    In case of a timeout, the event GAPBOND_PAIRING_STATE_COMPLETE with status bleTimeout will be passed by the stack. Default timeout duration is 30 seconds and cannot be modified.

    Best regards,