Part Number: CC2640R2F
Other Parts Discussed in Thread: CC2540
Tool/software: Code Composer Studio
Hello,
I have been studying how to extend the length of the data that is to be transmitted via BLE.
I have been through these references:
- http://software-dl.ti.com/simplelink/esd/simplelink_cc2640r2_sdk/3.30.00.20/exports/docs/blestack/ble_user_guide/html/ble-stack-common/link-layer-cc2640.html
- https://punchthrough.com/maximizing-ble-throughput-part-3-data-length-extension-dle-2
After going through these links I have a question.
I am using an Android app "BLE Scanner".
I added the following lines of code in my "Project Zero" Application.
uint16_t cxnHandle; //Request max supported size uint16_t requestedPDUSize = 50; uint16_t requestedTxTime = 422; GAPRole_GetParameter(GAPROLE_CONNHANDLE, &cxnHandle); //This API is documented in hci.h HCI_LE_SetDataLenCmd(cxnHandle, requestedPDUSize, requestedTxTime);
And I have set the MaxPDU size to 50.
So the question I have is that, do I need to modify the Android app too? "Both the master and the slave must support the LE Data Packet Length Extension Link Layer feature" .(given in above link)
I don't know what should I do for able to receive the transmitted 50 Bytes of data in the connection interval. The Receiving end being the Android App.