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

302 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 31b900a5ab a3a8: Don't assume it is called .so...
Fix it for darwin where shared libraries are called dylib
2015-04-17 11:50:30 -04:00
Holger Hans Peter Freyther ab3b8e23fd messages: Use self error: here as well 2014-08-20 23:21:29 +02:00
Holger Hans Peter Freyther fb5ddd43bb gsm: Use "self error:" instead of Exception signal
The issue is that [] on: Error do: [] will not handle the
Exception. Use the plain self error handling.
2014-08-20 23:14:42 +02:00
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 77d1ac2eab misc: Ease porting to pharo
In Pharo ByteArray does not inherit from Array but directly from
the ArrayedCollection class. Move the extensions one level up.
2014-07-29 17:04:06 +02:00
Holger Hans Peter Freyther 18c4ddfd7b misc: Ease porting and use "self basicNew initialize" for init
self basicNew initialize will work on Pharo and various versions
of GST and will make sure to call initialize exactly once.
2014-07-24 15:42:51 +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 15be4f4af2 sccp: Set the timer to nil to give up references
Help the garbage collector free memory more quickly by not
producing that many circles.
2014-03-14 17:59:30 +01:00
Holger Hans Peter Freyther 0c26b1e048 sccp: Be a bit more specific about the kind of failure 2014-03-14 15:11:54 +01:00
Holger Hans Peter Freyther b6f1033772 sccp: Be less verbose on failed parsing messages
We could signal a Notification with the message that could not
be parsed. The actual printNl with the message didn't work either.
2014-03-14 13:29:57 +01:00
Holger Hans Peter Freyther f8fc45deb0 misc: Make sure all classes can be viewed/filed-out with VisualGST 2014-02-22 14:45:02 +01:00
Holger Hans Peter Freyther e2372f67e8 sms: Fix the round-trip test for RP handling.
Fix the round-trip handling. This is still missing for message
types in other directions as this would require me writing test
cases first. I will get to that.
2014-02-09 22:05:15 +01:00
Holger Hans Peter Freyther 1dd46f82bb sms: Work on decoding RP-DATA/RP-ACK/RP-ERROR/RP-SMMA messages
Done on the flight to iceland, comitted in the bus to the hotel. It
is a bit rushed as the battery runs low. Updated the test result as
the RP-UserData was short in the other data
2014-02-09 15:36:32 +01: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 ac5b3c08fc GSMNumberDigit: Make this code work on Pharo
* Use WriteStream>>#contents instead of the OrderedCollection>>#asString
* Character eof does not exist.. use any other character for the marking
2013-08-14 15:50:10 +02:00
Holger Hans Peter Freyther 6a12deef01 gsm: Use variables of the class and not classVariables 2013-08-14 15:50:10 +02:00
Holger Hans Peter Freyther 7319b034c8 gsm: Remove inline comment as the STInST parser hates those 2013-08-14 13:43:12 +02:00
Holger Hans Peter Freyther 4a51f03659 misc: Attempt to fix/improve the fileout of the code
This code is using classPragmas to initialize various GSM attributes,
for file-out we need to tell the system which classPragmas to use and
this is what the code attempts to do.
There is a bug that prevents to file-out the <gsmMinValueSize: max:>
pragma but we will get there.
2013-06-04 11:29:08 +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 ba5a8bc54e bssmap: Document that this class is not complete 2013-01-08 16:47:51 +01:00
Holger Hans Peter Freyther b538ae24c8 bssmap: Add the cell identification for the cell identifier list 2013-01-08 14:26:59 +01:00
Holger Hans Peter Freyther f3b27888de bssmap: Document where the IEs come from 2013-01-08 14:26:59 +01:00
Holger Hans Peter Freyther f80e61f596 bssmap: Add the paging command to the message type 2013-01-08 14:26:59 +01:00
Holger Hans Peter Freyther e86cfabb08 gsm: Write out conditionals if they are set. This is still incomplete
Conditionals are still not very well defined but if they are available
we will use them. This will make the cm3 be written out if it is set.
2013-01-07 12:46:08 +01:00
Holger Hans Peter Freyther ef362d2b23 gsm: Allow to create a default value for the classmark3 2013-01-07 12:45:36 +01:00
Holger Hans Peter Freyther 3dd455a510 gsm: Allow to set the location updating type define the values 2013-01-07 12:45:01 +01:00
Holger Hans Peter Freyther 0c196f0c55 gsm: Fix the default value for the RR Cause
This way a GSM48HandoverComplete new toMessage will create the
right binary message.
2012-12-26 10:02:18 +01:00
Holger Hans Peter Freyther 812b8d6a61 gsm: Use the right cause type for the handover complete 2012-12-26 02:27:39 +01: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 11efcf94bb gsm: Add handover failure without a roundtrip test
I am missing the test data right.
2012-12-25 10:19:52 +01:00
Holger Hans Peter Freyther 2f54032570 gsm: Add handover complete message without a testcase
I don't have test data right now.
2012-12-25 10:17:32 +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 83b0dd0e74 gsm: Introduce the GSM 04.08 CC Call Confirmed message 2012-12-23 16:28:12 +01:00
Holger Hans Peter Freyther ae635c5143 gsm: Introduce all GSM04.08 CC attributes for GSM 2012-12-23 16:20:39 +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 2cad3db5c8 gsm: Add a way to parse the GSM48MIdentity from RSL code
In the RSL code we will have MIdentity without the length
2012-12-23 10:06:43 +01:00
Holger Hans Peter Freyther 3b4d0bda27 gsm: Add the GSM48CMServiceAccept message 2012-12-23 10:06:22 +01:00
Holger Hans Peter Freyther fa1f6edc23 gsm: Add all reject causes for the GSM48RejectCause
One range is not added, as it is not clear when to use it.
2012-12-04 12:46:05 +01:00
Holger Hans Peter Freyther 54e132e3ad gsm: Make the RejectCause have the default name 'cause'. 2012-12-04 11:29:59 +01:00
Holger Hans Peter Freyther 3b75b7806f gsm: Create the RR paging response 2012-12-03 17:29:25 +01:00
Holger Hans Peter Freyther b386ac7d9d typo: Fix a typo in the log message 2012-12-01 18:17:36 +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 8f1ee67556 gsm: Add a selector for the TMSI to the MIdentity 2012-11-24 10:35:26 +01:00