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?