Hi,
I have seen some posts from
and
about the bulk data transfer. But I have some confusions which I want to clarify before implementation.
I need to actually send large amount of data from server to client in minimum possible time.
hakon suggest to send 6 packets (6 calls to sd_ble_gatts_hvx) per connection interval? How can I adjust my transfer in between connection interval?
Is it something he just mentioned as an example? Can anyone explain this?
Also I have gone through Ole Code Snippet but have some questions in that as well:
- what is m_rr_interval_enabled and its use?
- When is BLE_EVT_TX_COMPLETE event raised?
Let's say, I have an array of 1024 bytes which I want to send into 64 chunks of 16 bytes (assume characteristic has length of 16 bytes).
Should I just call sd_ble_gatts_hvx 64 times in a while loop without waiting for anything? Will that work?
When is BLE_EVT_TX_COMPLETE
event raised in that case?
Thanks