Hi all,
After spending some time, I figured out a way to write continuously
using `ble_gattc_write_no_rsp_flat`. I created different task and added
1 sec delay. But with MTU = 512 and delay = 1sec, throughput seems to be
pretty low. Am I missing on something obvious here? How can I achieve
better throughput numbers ? Is there any way I can avoid using 1 second
delay ?
Apart from this, I have observed that these `conn->outstanding_pkts` of
`struct ble_hs_conn` do not get decremented even though I see the values
reflected on GATTS characteristic and host receives HCI packet
'BLE_HCI_EVCODE_NUM_COMP_PKTS,'. Please feel free to share any pointers
which may help me build my understanding further.
Regards
Prasad
Regards
Prasad
On 17/05/19 4:35 PM, prasad wrote:
Hi all,
Is it possible to continuously write GATT CHAR value using
`ble_gattc_write_no_rsp_flat`? I understand we can handle this using
`ble_gattc_write_flat` by creating task and using semaphore. However I
think `ble_gattc_write_no_rsp_flat` should provide better throughput,
so just wanted to understand if there is any way we can use this
function to continuously write to GATT characteristic ?
Regards
Prasad