smalltalk
/
osmo-st-gsm
Archived
1
0
Fork 0
Commit Graph

111 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 9bd9a9e3b6 Add a routine to just expand from 7bit packing to unpacked
Modernize the tests. Use #[] if we want a ByteArray and use
>>#asert:equals: to see what is going on.
2014-07-29 17:13:27 +02:00
Holger Hans Peter Freyther 854d244d69 gsm: Be able to parse a GSM CC Progress message 2014-06-20 18:34:45 +02:00
Holger Hans Peter Freyther 00ee3d0ea0 gsm0808: Be able to parse a ciphering mode complete with layer3 contents 2014-06-05 10:53:52 +02:00
Holger Hans Peter Freyther ce4840a077 tests: Add a testcase of some encoding issue i suspected
I added a testcase because I suspected a decoding issue but
it turns out that this was not the case..
2013-10-08 16:09:49 +02:00
Holger Hans Peter Freyther 7b76b7bf06 gsm: Add DST IE to the MM Information message 2013-09-13 11:06:28 +02:00
Holger Hans Peter Freyther 9b0a1c23d0 gsm: Fully parse the GSM48 Channel Mode Modify message
Add the element id for the MultiRate Configuration to fully parse
this message.
2013-08-27 17:48:02 +02:00
Holger Hans Peter Freyther 73dbc2941c gsm: Introduce the minimal Ciphering Mode Complete class 2013-08-27 17:43:26 +02:00
Holger Hans Peter Freyther 4721872838 gsm: Create a Ciphering Mode Command (complete is still missing)
Create a ciphering mode command and be able to parse it.
2013-08-27 17:29:03 +02:00
Holger Hans Peter Freyther 5b48038ca8 tests: Move the GSNNumberDigit Test to a dedicated test class
This makes jump to test work on Pharo
2013-08-14 15:50:10 +02:00
Holger Hans Peter Freyther 129f45c879 misc: Fix the categories to ease porting to Pharo 2013-03-31 12:34:17 +02:00
Holger Hans Peter Freyther 97e0ffa6a8 gsm: Provide decoding for Handover Reference and ARFCN... 2012-12-25 10:51:34 +01:00
Holger Hans Peter Freyther f653a23da5 gsm: Provide access to the cell description.. 2012-12-25 10:43:07 +01:00
Holger Hans Peter Freyther 6cdfbc77fb gsm: Add the handover command with the usual stubs for the IEs 2012-12-25 10:11:56 +01:00
Holger Hans Peter Freyther dd93a5c1b1 gsm: Be able to handle the channel mode modify and channel mode modify ack
Split the channel description and packet description in two classes
while adding the channel mode modify.
2012-12-23 11:52:54 +01:00
Holger Hans Peter Freyther be139c87ef gsm: Fix and test the TMSI parsing and storing
Go for the easiest option and special case the TMSI handling.
2012-11-24 13:45:04 +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 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 83fb82c3b0 gsm: Be able to parse the GSM 48 RR Channel Release 2012-08-28 10:31:20 +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 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 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 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 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 59741ad281 streams: Move to streams in the signature, kill temporary variables 2012-03-25 18:38:52 +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 66bbafcf37 gsm48: Parse the GSM48CCStatus message send by phones. 2011-06-28 18:51:11 +02:00
Holger Hans Peter Freyther 7b2c7f3abb gsm: Test encoding the content of the Called BCD Number..
Add a helper to create the content of the data, verify that
it is doing what is supposed to happen, transform the NumberDigit
code to emit things on streams.
2011-06-25 16:22:48 +02:00
Holger Hans Peter Freyther fee39fff36 gsm: Test decoding the Called Number of a CC Setup message 2011-06-25 15:58:08 +02:00
Holger Hans Peter Freyther 1266abafa0 bssmap: Add code to ease creating a ChannelType IE 2011-06-25 09:13:29 +02:00
Holger Hans Peter Freyther f8e669904d bssmap: Add selector to create a CIC IE with the right thing. 2011-06-24 23:21:37 +02:00
Holger Hans Peter Freyther b638473ac8 bssmap: Introduce a helper to set the CIC 2011-06-24 23:19:11 +02:00
Holger Hans Peter Freyther dbea609d06 sccp: Reorder functions, document, explain what kind of locking is used 2011-06-21 21:47:07 +02:00
Holger Hans Peter Freyther 61ed86368d sccp: Create a SCCPConnection on a handler, then open it
Change the way a SCCPConnection is created, this way the connection
only registers with the handler to get a srcRef generated and then
can open the connection.
2011-06-15 21:17:58 +02:00
Holger Hans Peter Freyther f4f6563254 sccp: Remove the blocking interface from the SCCP code. 2011-06-15 18:39:05 +02:00
Holger Hans Peter Freyther 47d3ad3ad9 gsm: Implement 7bit decoding for USSD and test the CR cases
When CR is the last byte and it ended on a word boundary we
will remove it (it was added to avoid the clash with '@') but
if we have added a CR with a padding of a single 0 bit we will
keep this additional CR.
2011-04-01 01:39:53 +02:00
Holger Hans Peter Freyther 9ce4aebeb2 GSM: Add basic decoding support to byte array 2011-04-01 01:29:32 +02:00
Holger Hans Peter Freyther a18ba2fb2e GSM: Add USSD Encoding rules from the manual 2011-03-31 21:06:47 +02:00
Holger Hans Peter Freyther 60f1e3ec05 GSM: Add very simple encoding routine 2011-03-31 19:18:10 +02:00