We used sd_ble_tx_buffer_count_get() to get maximum tx message can be sent in nrf51. However, this api is removed from nrf52840.
Is it equal to the setting of NRF_SDH_BLE_GAP_EVENT_LENGTH? If not, does nrf52840 has api with the same function?
We used sd_ble_tx_buffer_count_get() to get maximum tx message can be sent in nrf51. However, this api is removed from nrf52840.
Is it equal to the setting of NRF_SDH_BLE_GAP_EVENT_LENGTH? If not, does nrf52840 has api with the same function?
Hi,
The API was updated in s140_nrf52840_5.0.0 version. From the migration guide document:
"The SV call sd_ble_tx_packet_count_get() is removed. Instead, the application can now configure packet counts per link, using the SV call sd_ble_cfg_set() with the cfg_id parameter set to BLE_CONN_CFG_GATTC and BLE_CONN_CFG_GATTS."
sd_ble_tx_buffer_count_get was renamed to sd_ble_tx_packet_count_get() in an earlier softdevice update.
regards
Jared
Hi,
The API was updated in s140_nrf52840_5.0.0 version. From the migration guide document:
"The SV call sd_ble_tx_packet_count_get() is removed. Instead, the application can now configure packet counts per link, using the SV call sd_ble_cfg_set() with the cfg_id parameter set to BLE_CONN_CFG_GATTC and BLE_CONN_CFG_GATTS."
sd_ble_tx_buffer_count_get was renamed to sd_ble_tx_packet_count_get() in an earlier softdevice update.
regards
Jared