used this API with S132 V3 to get available buffers to send. it worked fine. not find in new S140. how to do the same thing with S140?
used this API with S132 V3 to get available buffers to send. it worked fine. not find in new S140. how to do the same thing with S140?
This is in the migration guide for the softdevice. It's not deprecated, it's not required any more. You use sd_ble_cfg_set to set the minimum number of buffers for a given connection. Quoting
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.
There are tons of other API changes so I suggest you read the documentation to find out what they all are.
thanks for the quick response. it works by following the guide.