主题中讨论的其他器件: CC2340R5、 CC2650、CC2651R3
您好!
我正在使用、
LP-EM-CC2340R5
示例代码 -"data_stream_LP_EM_CC2340R5_freertos_ticlang"、用于接收 BLE 数据包。
SDK - simplelink_lowpower_f3_sdk_7_40_00_64、 编译器 - TI Clang v3.2.0。 LTS
---------------------------------------------------------------------------------------------------------------------
固件中的参数如下、
#define DSS_MAX_DATA_IN_LEN 240
// Maximum number of BLE HCI PDUs. If the maximum number connections (above) // is set to 0 then this number should also be set to 0. #define MAX_NUM_PDU 5 // Maximum size in bytes of the BLE HCI PDU. Valid range: 27 to 255 // The maximum ATT_MTU is MAX_PDU_SIZE - 4. #define MAX_PDU_SIZE 255
// Pass parameter updates to the app for it to decide. #define DEFAULT_PARAM_UPDATE_REQ_DECISION GAP_UPDATE_REQ_ACCEPT_ALL // Pass parameter updates to the app for it to decide. #define DEFAULT_SEND_PARAM_UPDATE_REQ // Delay (in ms) after connection establishment before sending a parameter update requst #define SEND_PARAM_UPDATE_DELAY 6000 // Minimum connection interval (units of 1.25ms) if automatic parameter update // request is enabled #define DEFAULT_DESIRED_MIN_CONN_INTERVAL 8 // Maximum connection interval (units of 1.25ms) if automatic parameter update // request is enabled #define DEFAULT_DESIRED_MAX_CONN_INTERVAL 8 // Peripheral latency to use if automatic parameter update request is enabled #define DEFAULT_DESIRED_PERIPHERAL_LATENCY 0 // Supervision timeout value (units of 10ms) if automatic parameter update // request is enabled #define DEFAULT_DESIRED_CONN_TIMEOUT 1000
我有我们自己的 Android 应用、可将93.75KB 的图像数据发送到 BLE 外设-
1) CC2340R5蓝垫、 需要42秒 以便接收此数据。
2) 2)我还拥有基于 CC2650的 BLE 外设、 需要24秒 实现
#define MAX_PDU_SIZE 255 (与 CC2340R5相同)。
一开始我们以为 CC2650需要很长时间、因此使用 CC2340R5进行尝试、假设它的数据发送速度更快(由于它的 BLE 版本5.3更高)
但结果是相反的、我们 在 CC2340R5中获得更慢的速度。
我们可以将这个时间从10秒减少还是减少到更短?
请指导我如何在 CC2340R5中提高数据传输速度
谢谢!
德尼亚尼什瓦尔 Salve