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.

CC2640F2F 能够发送超过20个字节的数据, 60个字节发送正常,当发送长度设置成100, 或者更大的时候,手机端连上后就收不到数据了



我是在simplelink_cc2640r2_sdk_ble_example_pack_1_40_00_50  这个sdk的这个目录下的

C:\ti\simplelink_cc2640r2_sdk_ble_example_pack_1_40_00_50\examples\rtos\CC2640R2_LAUNCHXL\ble5apps\heart_rate

heart_rate例程上调试的。

修改PDU代码如下:

uint16_t cxnHandle; //Request max supported size
uint16_t requestedPDUSize = 251;
uint16_t requestedTxTime = 2120;

GAPRole_GetParameter(GAPROLE_CONNHANDLE, &cxnHandle); //This API is documented in hci.h

HCI_LE_SetDataLenCmd(cxnHandle, requestedPDUSize, requestedTxTime);

BLE5.0 发送大于20字节数据, 除了设定pdu的长度外,还有哪些其他要注意的么?

现在困惑的是,既然能够发送大于20字节的,为啥达到80字节这个长度就不行了呢?