This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to increase credit in L2CAP

Hello,

MCU: nRF52832;

SDK: 15.3;

Project: examples\ble_peripheral\experimental\ble_app_ots

nrf52832 receive data from app, communication by L2CAP, I want to increase throughput to 40kBps.

Now the iphone 8/xr can reach, but iphone 11/12 only 28kBps

//-------------------------------

1: Can I increase throughput by increase L2CAP Credit? How can I increase credit?  I try this define "#define BLE_L2CAP_CREDITS_DEFAULT (1)", but it seems no useful.

2: Iphone 8 can reach 40kBps, Why iphone 11/12 can't reach? I found there many abnormal communication. The btt file is the log of communication.

#define MAX_ALLOCATED_OBJECT_SIZE 2048
#define L2CAP_RX_MPS      2048
#define L2CAP_TX_MPS      40
#define L2CAP_RX_MTU      2048 

 iphone11.bttiphone8.btt

Parents Reply Children
No Data
Related