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

302 Commits

Author SHA1 Message Date
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 be0ae38804 gsm: Turn the number decoding into working on streams 2011-06-25 15:57:56 +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 c56107b5e2 bssmap: Introduce the assignment failure part 2011-06-24 22:47:35 +02:00
Holger Hans Peter Freyther bb35a0b1a6 sccp: Remove unused variable in the SCCPHandler
This appears to was meant to be used by the SCCP ref generation
2011-06-23 21:27:43 +02:00
Holger Hans Peter Freyther dc184dd1ac sccp: Improve the log messages and pick the SCCP(srcref:...) format 2011-06-22 20:21:47 +02:00
Holger Hans Peter Freyther ce92f7afd5 sccp: Only send the release by timer if not in release mode. 2011-06-22 20:18:51 +02:00
Holger Hans Peter Freyther b23662828c sccp: Specify which connection will be taken down 2011-06-22 19:43:22 +02:00
Holger Hans Peter Freyther cfae3fca95 sccp: Stop the t_int timer as well 2011-06-22 19:38:27 +02:00
Holger Hans Peter Freyther 15896e05e2 sccp: Implement SCCP IT sending and handling 2011-06-22 18:15:36 +02:00
Holger Hans Peter Freyther 8716b76293 sccp: Restart the T(iar), T(ias) on I/O. 2011-06-22 17:23:10 +02:00
Holger Hans Peter Freyther 95f4c07cc9 sccp: Attempt to add timeout handling to the SCCP Connection.
Rename SCCPConnectionBase to SCCPConnectionState and subclass
to add timer handling on top of the State. The IT sending is
not implemented properly yet.
2011-06-22 17:00:05 +02:00
Holger Hans Peter Freyther 7256ab993a timer: Remove the code from here and move to a new core package
Create a new OsmoCore package which core non network related
functionality that will be useful for everything.
2011-06-22 14:56:00 +02:00
Holger Hans Peter Freyther 08badd4ece timer: Provide a singleton to access the scheduler 2011-06-22 11:51:32 +02:00
Holger Hans Peter Freyther e314f4a324 timer: Introduce a very simple TimerScheduler... 2011-06-22 11:45:55 +02:00
Holger Hans Peter Freyther c374b1934d sccp: Make sure that data is dispatched with the lock
This will make sure that the lock will always be held.
2011-06-21 21:47:09 +02:00
Holger Hans Peter Freyther 99d66ec76d sccp: Confirm a connection before sending the data
If we don't do it like this, we dispatch the data which might
send a RLSD... which would be send before there is a CC.
2011-06-21 21:47:09 +02:00
Holger Hans Peter Freyther 0543c8622d sccp: Introduce a per SCCP connection lock
We need to deal with state changes from multiple Processes.
2011-06-21 21:47:09 +02:00
Holger Hans Peter Freyther 07985da54b sccp: Document the shortcomings of the SCCP code 2011-06-21 21:47:09 +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 eda5c4bd08 sccp: Move the state transition into a central place 2011-06-21 21:46:51 +02:00
Holger Hans Peter Freyther bd2acafc8e sccp: Introduce a new state for the initial state 2011-06-21 21:46:51 +02:00
Holger Hans Peter Freyther 8f526dea2d sccp: Log the exception using the logException target 2011-06-21 21:46:49 +02:00
Holger Hans Peter Freyther e3cc57ffcd sccp: Document the SCCPConnectionBase a bit better
Use proper categories, order the code according to the categories
2011-06-20 09:57:45 +02:00
Holger Hans Peter Freyther 9aa42d4969 sccp: Run each terminate in a block with exception recording. 2011-06-18 14:55:31 +02:00
Holger Hans Peter Freyther 19aee3e755 sccp: Introduce a method to remove all SCCP requests
E.g. when the underlying link has vanished we need to
clean things up. Trigger this here. This should go through
the normal termination cleanups.
2011-06-16 02:05:44 +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 0c55cb053c gsm: Make the extend work with and without namesapces
Start looking from the OsmoGSM namespace.
2011-06-15 16:55:40 +02:00
Holger Hans Peter Freyther 687815f60f sccp: Make the initial dispatch based on overloading 2011-06-15 16:49:26 +02:00
Holger Hans Peter Freyther 20b808d3f0 sccp: Dispatch via the polymorphism of smalltalk 2011-06-15 16:44:54 +02:00
Holger Hans Peter Freyther c122f64835 sccp: Call a function on UDT messages
Allow to handle UDT messages by subclassing and reimplementing,
by default only log the UDT.
2011-05-18 23:37:17 +02:00
Holger Hans Peter Freyther 97710b0291 ussd: Add the USSD de and encoding to the Array class as well 2011-05-18 23:36:58 +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 f74d3828b3 GSM: Move the GSM Encoding to a new class and call it from String
We need to have a special case for USSD that we can add now by
subclassing this class.
2011-03-31 19:37:45 +02:00
Holger Hans Peter Freyther 60f1e3ec05 GSM: Add very simple encoding routine 2011-03-31 19:18:10 +02:00
Holger Hans Peter Freyther bf12ae6103 GSM: Add Supplementary Services code 2011-03-31 12:56:34 +02:00
Holger Hans Peter Freyther fd77e7b078 GSM: GSM 04.80 has mandantory parameters that are tagged 2011-03-31 11:09:23 +02:00
Holger Hans Peter Freyther beb2f4271b gsm: Make it possible to run COMP v1 to v3 through one method 2011-02-02 23:36:35 +01:00
Holger Hans Peter Freyther b24f8b658b gsm: Parse the GSM48 MM Authentication Reject message 2011-02-02 23:19:45 +01:00
Holger Hans Peter Freyther 8f326e19f3 gsm: Include A3A8.st support. 2010-12-22 12:51:42 +01:00
Holger Hans Peter Freyther 6fd7bf2775 GSM48: Make the GSM48Message return the real type of the message 2010-12-18 16:49:38 +01:00
Holger Hans Peter Freyther 28a676acfa GSM48: Turn the type into a byte array to ease using the structure 2010-12-18 16:49:17 +01:00
Holger Hans Peter Freyther d9b49ea151 sccp: Use the logging framework instead of printNl. 2010-12-17 22:07:45 +01:00
Holger Hans Peter Freyther 68d7daea8d sccp: Take the lock for the accessing of the connection list 2010-12-17 22:03:13 +01:00