You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/09/26 12:16:46 UTC
[GitHub] [mynewt-nimble] rymanluk opened a new issue #586: l2cap coc: Add
timer guard on the receiver side
rymanluk opened a new issue #586: l2cap coc: Add timer guard on the receiver side
URL: https://github.com/apache/mynewt-nimble/issues/586
In current implementation L2CAP CoC server returns credits when complete SDU is received.
Once SDU is received user gets notification and we required from the user to call `ble_l2cap_recv_ready()` with new buffer for data - this is the moment when we give but credits to the other side.
Problem here is when for some reason part of the SDU is lost. In such a case server stays in incorrect state.
To fix it we need some timer guard for incoming LE Frames which should be stopped when complete SDU is received. If we start missing LE Frames we, buffers should be flashed and already used credits shall be returned.
We might consider using ble_hs_timer
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services