Dear experts,
I'm using nrf52832 with softdevice s132 v2 for BLE central products developing. According to the specification of s132 v2: We should run some code to get the app_ram_base
address from calling sd_ble_enable()
. Yes, I can get the value. And after I changed the value CENTRAL_LINK_COUNT
which assigned to p_ble_enable_params->gap_enable_params.central_conn_count
then the value of app_ram_base
also is changed accordingly. When I set CENTRAL_LINK_COUNT to 8, and set 4 of them as HIGH bandwidth, and other 4 of then as LOW bandwidth as below. I got the value of app_ram_base
as 0x20003be8.
ble_enable_params.common_enable_params.p_conn_bw_counts->rx_counts.mid_count = 0;
ble_enable_params.common_enable_params.p_conn_bw_counts->rx_counts.low_count = 4;
ble_enable_params.common_enable_params.p_conn_bw_counts->tx_counts.high_count = 4;
ble_enable_params.common_enable_params.p_conn_bw_counts->tx_counts.mid_count = 0;
ble_enable_params.common_enable_params.p_conn_bw_counts->tx_counts.low_count = 4;```
But after I set 8 of them as HIGH bandwidth links and none as LOW bandwidth links, I still get the same value 0x20003be8 for `app_ram_base`.
``` ble_enable_params.common_enable_params.p_conn_bw_counts->rx_counts.high_count = 8;
ble_enable_params.common_enable_params.p_conn_bw_counts->rx_counts.mid_count = 0;
ble_enable_params.common_enable_params.p_conn_bw_counts->rx_counts.low_count = 0;
ble_enable_params.common_enable_params.p_conn_bw_counts->tx_counts.high_count = 8;
ble_enable_params.common_enable_params.p_conn_bw_counts->tx_counts.mid_count = 0;
ble_enable_params.common_enable_params.p_conn_bw_counts->tx_counts.low_count = 0;```
Looks like value of `app_ram_base` is just changed according to total link counter is changed, but has no thing to do with the links bandwidth difference. This is not the same as the specification mentions that the RAM usage of softdevice will be changed according to bandwidth changing. It confuses me a lot. Is any misunderstanding I made? Anyone can help me to understand it correctly?
Thanks!