Closed Thalley closed 1 month ago
As the comment right above the assert indicates, the ISO_Interval must be equal to or an integer multiple of the SDU_Interval for unframed streams according to the specification. The correct fix for the issue is therefore to return an error instead of triggering an assert.
As the comment right above the assert indicates, the ISO_Interval must be equal to or an integer multiple of the SDU_Interval for unframed streams according to the specification. The correct fix for the issue is therefore to return an error instead of triggering an assert.
Wouldn't it be possible to actually support this use case? Or is it a simple case where the parameters wouldn't work in this case?
I guess if using both 10ms and 7.5ms for a single CIS, then the ISO interval would need to be 30ms which wouldn't work with the supplied maximum transport latency, right?
Would the above parameters work if using framed
or if it was 2 CIS instead of 1?
You are right about the 30ms ISO interval being in conflict with the transport latency. However, I don't know if the controller would figure out that option in the first place. Two CISes should not change anything, because the CISes in a CIG have the same ISO interval. Framed should work.
Did another test setting the maximum transport latency to 100 in both directions, but still kept 7.5ms SDU interval in P to C and 10ms in C to P with the same assert.
The same parameters work with other controllers such as the Nordic SDC
Describe the bug When create a CIG the application can choose to have difference SDU intervals and maximum transport latency in each direction, e.g. 10ms SDU interval from central to peripheral and 7.5ms SDU interval from peripheral to central.
However doing this seems to trigger an assert.
To Reproduce Steps to reproduce the behavior:
Expected behavior Expect the controller to either work with different values for each direction, or at the very least it should return an error. It should not assert.
Impact Annoyance as this is a arguably a corner case for most use cases.
Logs and console output
Environment (please complete the following information):
Additional context