From a57c26261c051a3211887b8bbb9a640182090366 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 27 Nov 2010 13:59:16 +0100 Subject: 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. --- BSSMAP.st | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'BSSMAP.st') diff --git a/BSSMAP.st b/BSSMAP.st index fa55c8c..43bb14a 100644 --- a/BSSMAP.st +++ b/BSSMAP.st @@ -1,6 +1,10 @@ IEBase subclass: GSM0808IE [ + + GSM0808IE class >> length: aByteArray [ + ^ (aByteArray at: 2). + ] ] Object subclass: GSM0808Helper [ -- cgit v1.2.3