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

ble_gap_data_length_params_t range

Hi

We are trying to port our app from softdevice v3.0.0 to softdevice v5.0.0. We note that the data length and bandwidth configuration procedure has changed drastically, including the introduction of the sd_ble_gap_data_length_update() function. My question is regarding the tx/rx time parameters of the function: what is the valid range for these parameters? Is this related to the packet length used? if so, what is the dependency?

I've tried following the migration document pseudo code, but the tx/rx time used there is BLE_GAP_DATA_LENGTH_AUTO. Is there any other source/description that we can follow?

We are using nrf52832, with softdevice S132 v5.0.0.

Thanks

Parents Reply
  • I was a bit quick on the trigger regarding the max tx/rx time, sorry. Actually, you should just disregard them. They are not implemented. The only allowed value is BLE_GAP_DATA_LENGTH_AUTO, which is 0. You should only set the number of tx and rx octets, and they should be equal.

    I will try to explain the relationship between the usage of sd_ble_gap_data_length_update() and the event length, but I will need to get clarification on a few things first. Will probably give you an update here on Monday.

Children
No Data
Related