diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-11-27 13:59:16 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-11-27 14:00:26 +0100 |
commit | a57c26261c051a3211887b8bbb9a640182090366 (patch) | |
tree | cdfd4cdef8975a4c9b8643ebfb0efbc449ea644d /BSSMAP.st | |
parent | 6389190fb64acba85bf92870c3b0162093d8d93e (diff) |
Messages: Prepare to parse TV and TLV messages
Ask the BSSMAP type for the size of the payload. This does
not include the Tag and the Length field. BSSMAP and GSM48
behave a bit differently here. The support for T might still
be a bit broken.
Diffstat (limited to 'BSSMAP.st')
-rw-r--r-- | BSSMAP.st | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,6 +1,10 @@ IEBase subclass: GSM0808IE [ <category: 'osmo-message'> <comment: 'Base class of IEs for GSM0808'> + + GSM0808IE class >> length: aByteArray [ + ^ (aByteArray at: 2). + ] ] Object subclass: GSM0808Helper [ |