espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.71k stars 7.3k forks source link

Pairing / Bonding error with CC2640R2F (IDFGH-5283) #7046

Open twomas opened 3 years ago

twomas commented 3 years ago

Environment

Problem Description

Interoperability issue with TI CC2640R2F TI is central and trying to connect towards ESP peripheral configured with "just works" Pairing fails every time. It seems that it takes so much time to answer the Pairing Random Packet from frame 461 to 2794 So the question is about this delay. Why it takes almost 10 seconds?

Debug Logs

See cfa file in TI3_5_Stack_Dongle_ESP_PairingFailure.zip

TI3_5_Stack_Dongle_ESP_PairingFailure.zip

TI3_5_Stack_Dongle_ESP_PairingFailure

xiewenxiang commented 3 years ago

I have test this issue with TI CC2640R2F:

But the reason for the pairing fail seems to lie on the TI(CC2640R2F) device side, Although sometimes ESP32 is a little slower to respond, it is also within the protocol(30s), this does not result in a pairing fail.

I have done a number of tests , and provided capture logs, found that the failure should be because the CC2640R2F repeated retransmission.

Sometimes, ESP32 send response a bit slower. We will further analyze the reasons and give you a timely reply ASAP.

1 2 3 4 5

xiewenxiang commented 3 years ago

Hi @twomas

We have made a further analysis for this problem. In order to avoid the loss of the packet, we did the test in the shielding box. Please check the attachment.

The packet where the problem starts is on frame#301:

The following is still all the case of retransmission, you can check the attachment, So maybe TI needs to take a look at this issues.

xiewenxiang commented 3 years ago

capture_6.zip

esp-zhp commented 1 year ago

Have you resolved your issue?