Hi,
I'm designing a BLE peripheral that sends two kinds of data to the central: time critical high priority message data and low priority streaming data. Low priority data should only be sent if there's enough bandwidth and must not be sent at the expense of high priority data. Latency/throughput should be kept as low/high as possible.
I'm using a large MTU to maximize throughput. For minimizing latency, I'm using a short connection interval combined with sending batched data on radio notifications as described in [this post](devzone.nordicsemi.com/.../optimizing-ble-midi-with-regards-to-timing-1293631358). So far, this looks like a promising approach.
It's less clear to me how to determine how much low priority data to send depending on the link quality, so as to not interfere with the delivery of high priority data. Any pointers to reading material, example code etc would be much appreciated.