Holger Hans Peter Freyther
2c60c8b62a
misc: Ignore some of the auto generated filee
2012-11-15 17:03:07 +01:00
Holger Hans Peter Freyther
1c95d092e6
gsm04.11: Beging with message handling for GSM 04.11 (SMS)
...
It is not clear of how much parsing/handling code can be shared with
the GSM04.08 code. There are also a lot less IEs to handle for SMS so
we might not need the fixed size/data holder classes.
2012-11-15 17:02:36 +01:00
Holger Hans Peter Freyther
c7bd5a49d2
gsm: Be able to parse the MM Information into undecoded data
...
Add a very simple test that can decode the MM Information as sent
by OpenBSC as part of the Location Updating Procedure.
2012-10-26 22:33:16 +02:00
Holger Hans Peter Freyther
d184d13546
gsm: Add the messgae types for the two TMSI operations
2012-10-26 21:10:32 +02:00
Holger Hans Peter Freyther
396233cc54
gsm: Add the TMSI Reallocation Command and Complete message type
...
Add the message types for TMSI reallocation and command and a smoke
test to create instances of these classes.
2012-10-26 21:02:57 +02:00
Holger Hans Peter Freyther
f1b24c5237
sccp: Provide an event once the connection is confirmed
2012-10-21 15:31:20 +02:00
Holger Hans Peter Freyther
e2c35a5d93
gsm48: Add ClassmarkChange message to the list of messages we can generate
...
Add ClassmarkChange as some MSCs require early classmark sending and
this message can now easily be constructed.
2012-10-21 13:11:43 +02:00
Holger Hans Peter Freyther
eb859ad14e
gsm48: Use category and not comment in these methods.
2012-09-09 17:08:16 +02:00
Holger Hans Peter Freyther
048b1c0109
gsm48: Allow to store TMSI/IMEI/IMEISV as MI IE as well
...
The encoding is the same for IMSI, IMEI and IMEISV. The coding for
the TMSI is left 'open'. When decoding/recoding the right thing should
happen. For setting a plain TMSI some more work is required.
2012-09-09 17:03:47 +02:00
Holger Hans Peter Freyther
1f9262eef0
gsm: Add selectors to set the CM Service Type for the CM Service Request
2012-09-04 15:04:28 +02:00
Holger Hans Peter Freyther
0b2592d9a6
gsm48: Add GSM48CCEmergencySetup to the messages that can be created
2012-09-03 14:32:12 +02:00
Holger Hans Peter Freyther
83fb82c3b0
gsm: Be able to parse the GSM 48 RR Channel Release
2012-08-28 10:31:20 +02:00
Holger Hans Peter Freyther
fcfcfdbc59
gsm: Provide access to timeslot and subslot number
2012-08-28 10:31:19 +02:00
Holger Hans Peter Freyther
d130ebaa5e
gsm48: Decode the Request Reference IE
2012-08-24 15:31:27 +02:00
Holger Hans Peter Freyther
7658a3ca59
gsm48: Introduce a pragma for a min/max of values as pragmas
...
With all changes and cleanups we have 80 lines of code more
than before using the TLV description. Mostly new empty lines
and comments
2012-08-24 15:23:57 +02:00
Holger Hans Peter Freyther
2ad7b7a690
gsm48: Introduce a variabled sized TLV and use it
2012-08-24 15:06:18 +02:00
Holger Hans Peter Freyther
447eafe86d
gsm: Use the fixed size IE in more places and benefit from the pragma
2012-08-24 14:59:25 +02:00
Holger Hans Peter Freyther
26b62de909
gsm48: Use the fixed size IE class and kill >>#length
2012-08-24 14:57:00 +02:00
Holger Hans Peter Freyther
6673d85b4d
gsm48: Introduce a fixed value size IE class and start using it
2012-08-24 14:33:12 +02:00
Holger Hans Peter Freyther
202fcda0d5
gsm48: Use the gsmName pragma to set the default variable name
...
This is killing most of the increase in linesize when switching
to the TLVDescription. There will be some follow up cleanups.
2012-08-24 14:17:53 +02:00
Holger Hans Peter Freyther
7daf9816a6
gsm: Start using the gsmElementId pragma through out the code
2012-08-24 13:54:21 +02:00
Holger Hans Peter Freyther
3350a068d7
gsm48: Start using the gsmIeMask pragma in all classes
2012-08-24 13:44:48 +02:00
Holger Hans Peter Freyther
8ae28306b1
gsm48: Start parsing the GSM Immediate Assign Command
...
Introduce some pragmas to reduce the amount of code to write, parse
the immediate assign command. The restoctet parsing and writing is
a bit odd as this element consumes up to 11 bytes.
2012-08-24 13:39:50 +02:00
Holger Hans Peter Freyther
e180b60385
gsm48: Start using the TLVDescription from OsmoNetwork to describe messages
...
Use the Magritte like TLVDescription to describe the content of a
message with generic parsing and writing routines. This is just the
initial port to it. Direct calls to elementId should be elimiated
more code should be shared with the base class. This is an increase
in codesize due the various asTLVDescription routines.
2012-08-23 20:56:28 +02:00
Holger Hans Peter Freyther
a86670d002
gsm: Inherit GSM48MSG from the TLVParserBase without really using it
...
Begin the transformation to the TLVDescription to make the code more
clean and allow to parse the Immediate Assignment.
2012-08-23 20:51:25 +02:00
Holger Hans Peter Freyther
b095b0315a
gsm48: Add code to create the GSM48 Progress IE
...
The progress IE might be required to initiate alerting
on the phone. Write the code, add a very basic test.
2012-08-23 20:51:25 +02:00
Holger Hans Peter Freyther
94a4780b21
test: Explain which message type we are testing here
2012-08-23 20:51:24 +02:00
Holger Hans Peter Freyther
2e60faeacc
typo: Mandantory -> Mandatory (common typo of mine)
2012-08-03 11:00:08 +02:00
Holger Hans Peter Freyther
5c290fc82c
GSM48: Add two more 3G ies for call control messages
2012-05-04 06:51:48 +02:00
Holger Hans Peter Freyther
183bc09640
GSM48: Add the 23.048 IEs in the CC Setup message
...
Add a CC setup message from a 3G phone, add the IEs used for call
control setup.
2012-05-04 06:43:08 +02:00
Holger Hans Peter Freyther
9ebabca9a3
GSM: Add GSM RR messages, GSMRRCause and the GSM RR assignment complete message
...
Instead of knowing the base class we will ask the class if it is a
GSM baseclass, introduce all message types for GSM RR, add the GSMRRCause
IE and introduce the GSM Assignment Complete message including a testcase.
2012-04-27 12:07:57 +02:00
Holger Hans Peter Freyther
d3963c06be
gsm0808: Add the Classmark Update message type
2012-04-13 15:35:26 +02:00
Holger Hans Peter Freyther
7510f4ad01
streams: Move the GSM48 code over to Streams
2012-03-25 22:33:56 +02:00
Holger Hans Peter Freyther
8bdb0be6dc
streams: Switch BSSAP to use streams.
2012-03-25 21:50:02 +02:00
Holger Hans Peter Freyther
7b43f3eed2
streams: IEMessage is now working on streams all the way.
2012-03-25 18:52:54 +02:00
Holger Hans Peter Freyther
73f8b9a05c
streams: Take streams in IEMessage class>>#findIE:from:on:
2012-03-25 18:38:52 +02:00
Holger Hans Peter Freyther
59741ad281
streams: Move to streams in the signature, kill temporary variables
2012-03-25 18:38:52 +02:00
Holger Hans Peter Freyther
56fb27a189
streams: Move GSM0808 IE messages to a ReadStream
...
This is a temporary move to make the code work on ReadStream. The
code should remove the first skip of the read stream.
2012-03-25 18:38:52 +02:00
Holger Hans Peter Freyther
967e975649
streams: Make IEBase>>#length: work on streams
2012-03-25 18:38:46 +02:00
Holger Hans Peter Freyther
cac84ed1b6
streams: Move GSM0808.LAI to use a ReadStream.
2012-03-25 16:23:00 +02:00
Holger Hans Peter Freyther
57d1ae32b7
streams: Move the GSM48IE>>#parseFrom: to use streams.
2012-03-25 16:13:44 +02:00
Holger Hans Peter Freyther
f9546520d7
streams: Make GSM48IE>>#length: peek the stream.
...
Move from array to stream in the length: method.
2012-03-25 15:58:45 +02:00
Holger Hans Peter Freyther
cb2b8c62bd
bits: Test simple creation and setting of bits here
2011-11-24 15:16:26 +01:00
Holger Hans Peter Freyther
0cffe9f7ac
bearer: Create a generic GSMBitField helper, implement BearerCaps parsing
...
The single bearer cap octets are represented as classes and provide
getter/setter to the underlying byte. The BearerCapFrom.. provides a way
to parse and later generate the caps. Parse one example cap and dissect
it.
2011-11-23 17:18:28 +01:00
Holger Hans Peter Freyther
c115abccca
gsm: Deal with CC Capability being two byte instead of one
...
This is a spec violation... no idea how to deal properly with this
one right now.
2011-10-07 16:43:51 +02:00
Holger Hans Peter Freyther
5e71a9cb7e
gsm: Make the Beaerer Cap be appropriate for PCS1900 MO
2011-10-07 16:36:13 +02:00
Holger Hans Peter Freyther
3638685654
gsm: GSM48DataHolder validSize clarification
...
The data expressed is assumed to be always of at least LV,
and but the validSize does not include the size of the length.
Go through the subclasses to fix the sizes and provide a link
to the spec in the comment of each of the classes.
The BCD Called Number needs to have different sizes depending
on the direction of the CC Setup message, we can not express
such things right now.
2011-10-07 16:04:52 +02:00
Holger Hans Peter Freyther
9300d93087
misc: Work on categories for the GSM classes
2011-09-27 17:31:49 +02:00
Holger Hans Peter Freyther
66bbafcf37
gsm48: Parse the GSM48CCStatus message send by phones.
2011-06-28 18:51:11 +02:00
Holger Hans Peter Freyther
2a52048abf
gsm48: Pass the not consumed byte array as error string
2011-06-28 18:50:48 +02:00