Other Parts Discussed in Thread: CC2564
Hello,
Our project uses STM32+CC2564. When using iSSPdemo to communicate with mobile phones above Iphone11, CC2564 will delay sending for 20ms, as shown in the attachment:
When we receive the data from the device, we will delay 1 ms to send it to the mobile phone, but when we receive the EVENT sent by CC2564, it will take about 27 ms for a new iPhone, and about 4 ms for a mobile phone below the iPhone X
- Configuration parameters:
#define IAP_NUMBER_OF_CONFIG_PARAMETERS 10
#define IAP2_PACKET_TRANSMISSION_ATTEMPTS_DEFAULT 5
#define IAP2_PACKET_TIMEOUT_DEFAULT 3000
#define IAP2_MAX_OUTSTANDING_PACKETS 127
#define IAP2_MAX_CUMULATIVE_ACKS 100
#define IAP2_SESSION_TYPE_FOR_EXTERNAL_ACCESSORY 0X01
#define IAP2_SUPPORTED_MESSAGE_DEFAULT 0X0D
#define IAP_NUMBER_OF_CONFIG_OPTIONAL_PARAMETERS 2
#define IAP_START_DELAY_VALUE (2000)
#define VENDOR_ID_VALUE 0x005E/* Bluetooth Company */
/* Identifier */
- IAP2_MAX_OUTSTANDING_PACKETS 和 IAP2_MAX_CUMULATIVE_ACKS The parameters have been modified, but the effect has not changed.
- MaximumFrameSize, TransmitBufferSize, ReceiveBufferSize I also wrote and corrected my mistakes, but they still remained unchanged。
- On Windows platform and Android platform, the communication time is about 9ms, and the effect is very good。
What caused this problem? Have you encountered it before?