- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi cypress,
Since CYW20719 supports DLE ( data length extension ), how could I send a large number of data? Is there an API in CYW20719 SDK for this purpose?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Sorry but I got different view on this issue.
I think the max_mtu_size in wiced_bt_cfg.c is to change the size of the ATT packet in upper layer. But DLE is a feature provide by Link Layer and is meant to enlarge the Data Channel PDU. So changing max_mtu_size in wiced_bt_cfg.c won't be able to do this.
Fortunately there do exist some flags related to DLE. File '/20719-B1_Bluetooth/include/20719/stack/hcidefs.h' contains the "LE features encoding" settings and in this file you will find the following lines:
I think this are the flags controlling whether to enable DLE or not. But where to set the exact PDU payload size is questionable to me for now (May it be auto determined in the negotiation?).
This is the information I think would be helpful:
- Bluetooth® Low Energy Packet Types
- Maximizing BLE Throughput Part 2: Use Larger ATT MTU
- Maximizing BLE Throughput Part 3: Data Length Extension (DLE)
<<<<<<<<<<<<<>>>>>>>>>>>>>
Best Regards
C. L.
<<<<<<<<<<<<<>>>>>>>>>>>>>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi JiZh_4619191,
The maximum payload depends on the MTU size. You can set this size in application wiced_bt_cfg.c file using attribute max_mtu_size.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Sorry but I got different view on this issue.
I think the max_mtu_size in wiced_bt_cfg.c is to change the size of the ATT packet in upper layer. But DLE is a feature provide by Link Layer and is meant to enlarge the Data Channel PDU. So changing max_mtu_size in wiced_bt_cfg.c won't be able to do this.
Fortunately there do exist some flags related to DLE. File '/20719-B1_Bluetooth/include/20719/stack/hcidefs.h' contains the "LE features encoding" settings and in this file you will find the following lines:
I think this are the flags controlling whether to enable DLE or not. But where to set the exact PDU payload size is questionable to me for now (May it be auto determined in the negotiation?).
This is the information I think would be helpful:
- Bluetooth® Low Energy Packet Types
- Maximizing BLE Throughput Part 2: Use Larger ATT MTU
- Maximizing BLE Throughput Part 3: Data Length Extension (DLE)
<<<<<<<<<<<<<>>>>>>>>>>>>>
Best Regards
C. L.
<<<<<<<<<<<<<>>>>>>>>>>>>>