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.

RTOS/CC2541: CC2541 paired timeout setting.

Part Number: CC2541

Tool/software: TI-RTOS

In order to consider security, we consider BLE to establish a connection at the beginning of the connection, and the bluetooth side requires the phone to enter the matching password immediately.

Current debugging:

1. The Characteristic Value attribute is configured with GATT_PERMIT_AUTHEN_READ | GATT_PERMIT_AUTHEN_WRITE;

2.The pairing parameters are configured with GAPBOND_PAIRING_MODE_INITIATE;

Now the test establishes the BLE connection, and the mobile phone will receive the pairing request immediately, and the function is normal.

Question:

How to set the pairing timeout period of CC2541?