Hi,
Central
pConnectionEvent ->:0 gConnEvtConnected_c
Connected!
pConnectionEvent ->:2 gConnEvtSlaveSecurityRequest_c
pConnectionEvent ->:19 gConnEvtLeDataLengthChanged_c
pConnectionEvent ->:3 gConnEvtPairingResponse_c
pConnectionEvent ->:27 gConnEvtPairingAlreadyStarted_c
pConnectionEvent ->:5 gConnEvtPasskeyRequest_c
pConnectionEvent ->:11 gConnEvtEncryptionChanged_c
pConnectionEvent ->:9 gConnEvtKeysReceived_c
pConnectionEvent ->:8 gConnEvtKeyExchangeRequest_c
pConnectionEvent ->:12 gConnEvtPairingComplete_c
Peripheral
pConnectionEvent ->:0 gConnEvtConnected_c
Connected!
pConnectionEvent ->:1 gConnEvtPairingRequest_c
pConnectionEvent ->:19 gConnEvtLeDataLengthChanged_c
pConnectionEvent ->:7 gConnEvtPasskeyDisplay_c
pConnectionEvent ->:11 gConnEvtEncryptionChanged_c
pConnectionEvent ->:8 gConnEvtKeyExchangeRequest_c
pConnectionEvent ->:9 gConnEvtKeysReceived_c
pConnectionEvent ->:12 gConnEvtPairingComplete_c
This is the normal process.
You stopped at gConnEvtLeDataLengthChanged_c. But this case doesn't handled by mcu. So the problem may happens to the before message. Please debug the peripheral function 'Gap_AcceptPairingRequest', check if it accepts the paring request. The hci timeout is because after the 'gConnEvtLeDataLengthChanged_c', the master and slave doesn't send info to each other.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 days after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------