On Tue, Jan 28, 2014 at 03:15:06PM +0100, Jacob Erlbeck wrote:
Dear Andras,
could you please have a look at the code, the branch by Jacob and the outstanding issues.
The initial SABM message (not the retransmitted one after T200) has a non-zero length and ends with 3 bytes that have been taken from the end of the RSL EST REQ message. The MS does not answer to this. Interestingly the second SABM message that gets sent after T200 (2s) has a length field of 0 and no trailing garbage.
This is a very subtle bug. In the end SMS transfer works but it needed one timeout/retransmission cycle for it to work. It was also non obvious to find as lapd_core/lapdm use two/three different ways to describe the payload size (it is the kind of problems I want to avoid with the trx_id in libosmo-abis).
Jacob will be out of office this week but you might catch up with him next week to resolve the defects/invariant violations.
cheers holger