Holger Hans Peter Freyther
fc6e258ac0
sccp: Implement connection refused parsing and handling
...
The code can not parse the optional elements yet.
2014-07-09 13:37:17 +02:00
Holger Hans Peter Freyther
c729a99672
sccp: Kill the encoding and encode the extra 4 bits as 16r0 and not 16rF
2013-10-14 15:04:43 +02:00
Holger Hans Peter Freyther
00826da5db
sccp: Merge SCCPAddress>>#createForSSN: from norbert, create a test
2013-07-16 08:13:51 +02:00
Holger Hans Peter Freyther
b9d70c018f
misc: Improve the test coverage of the OsmoNetwork
...
Get the >>#parameterName/>>#spec out of the uncovered methods, this
is done by just finding the right classes and calling the selectors.
Add some simple tests for a MessageBuffer method that was not covered
yet.
2013-05-14 14:18:33 +02:00
Holger Hans Peter Freyther
099d03f1cd
sccp: Rename SCCPGTI to SCCPGlobalTitle
...
Rename it to SCCPGlobalTitle and drop the "indicator" as it is
not an indicator at all.
2013-04-30 18:35:35 +02:00
Holger Hans Peter Freyther
e46ebff237
sccp: Rename poi to pointCode and update selectors
2013-04-30 14:40:48 +02:00
Holger Hans Peter Freyther
0dd9a2287c
ua: Add a testcase for M2UAMSG>>#findTag:ifAbsent:, fix the code
...
Make the findTag:ifAbent: work. The tag didn't have the isTag
query selector.
2013-04-01 15:08:07 +02:00
Holger Hans Peter Freyther
94498315cb
m2ua: Rename to M2UAMSGTest as it tests M2UAMSG
...
And move it into a new category
2013-04-01 15:03:47 +02:00
Holger Hans Peter Freyther
3423039406
sccp: Fix the SCCPHelper>>#createRLSD.. invocation
...
This was spotted by the code critics of Pharo. Use the right class
selector to create a Connection Released message.
2013-04-01 15:01:05 +02:00
Holger Hans Peter Freyther
aa692f65c9
pharo: Use >>basicSize and allow to use different sockets with overrides
2013-03-26 11:07:11 +01:00
Holger Hans Peter Freyther
f66abe8824
category: Categorize the classes correctly for the OsmoNetwork package
...
Prefix all with OsmoNetwork, use *OsmoNetwork in extensions
2013-02-23 18:59:24 +01:00
Holger Hans Peter Freyther
32e5b01e97
misc: Remove the debug code in the form of ``@object printNl.
2013-02-23 18:54:13 +01:00
Holger Hans Peter Freyther
00c7acdc12
core: Introduce a Socket/UDP base class helper for multiple sockets
2012-08-09 02:05:09 +02:00
Holger Hans Peter Freyther
9939be4ff3
ipa: Move the IPATests to a new file
2012-07-30 17:00:47 +02:00
Holger Hans Peter Freyther
6b701f3421
ipa: Make the IPADispatcher work on BlockClosures and add new API
...
Make the IPADispatcher work with BlockClosure. Add a new API to
register a block for a stream id. This will remove the requirement
of adding a dedicated selector.
2012-07-28 20:45:21 +02:00
Holger Hans Peter Freyther
619df3f302
ipa: Make it easy to deal with the osmo extension header
...
Users of the API will not recognize if they have used an
OSMO Extension or the normal protocol.
2011-07-22 16:44:49 +02:00
Holger Hans Peter Freyther
15a382c883
sccp: Implement SCCInactivityTest creation and test it
2011-06-22 18:11:34 +02:00
Holger Hans Peter Freyther
27d6a11465
m2ua: Add support to create messages for M2UA.
2011-02-03 19:33:55 +01:00
Holger Hans Peter Freyther
f79228225f
msgb: Add putLen32 and test adding an empty bytearray
...
Add a putLen32 that puts 32 bit in network order on
the stream.
Test adding empty byte arrays to the stream
2011-02-03 19:32:45 +01:00
Holger Hans Peter Freyther
a32eaa585b
m2ua: Introduce M2UA support to the networking code
...
This should be able to parse M2UA structures, it also
adds the defines for UserAdaptiona nd M2UA. In contrast
to the older networking code this is operating on streams
now. This should make the code more beautiful in the
long run.
2011-02-03 18:52:41 +01:00
Holger Hans Peter Freyther
49eb0d56b0
SCCP: Kill a duplicate definition of the Connection Released
2010-12-15 15:59:02 +01:00
Holger Hans Peter Freyther
ebaf8bdaff
License: Add AGPLv3 headers to the files
2010-12-14 02:54:16 +01:00
Holger Hans Peter Freyther
4fbafa4972
SCCP: Test the parsing of the UDT class and error handling bit
2010-12-11 07:48:56 +01:00
Holger Hans Peter Freyther
7f9a676536
SCCP: Use the selectors instead of magic numbers
2010-12-11 07:03:26 +01:00
Holger Hans Peter Freyther
cd2c7c44b3
SCCP: Work on GTI parsing and creation for some types.
...
Be able to parse one special type of the GTI. This is only
tested for even lengthed addresses.
The code 11, code 12 and ST types for GTI are not really
known to me and might need more work.
2010-12-11 06:49:32 +01:00
Holger Hans Peter Freyther
3e7cedd862
SCCP: Be able to parse the GTI from a SCCP Address
...
This is just parsing the GTI from the address field
and will be able to properly generate it.
2010-12-11 06:49:25 +01:00
Holger Hans Peter Freyther
5a7fef5c6d
SCCP: Implement a RLC command
2010-11-28 10:41:59 +01:00
Holger Hans Peter Freyther
b09a906af1
SCCP: Implement the SCCP UDT message, add POI handling to the addr.
2010-11-27 16:43:38 +01:00
Holger Hans Peter Freyther
5268577afb
SCCP: Implement the SCCPConnectionReleased
2010-11-24 21:50:06 +01:00
Holger Hans Peter Freyther
d8f0148f81
SCCP: Be able to parse a DT1 message
2010-11-24 14:31:38 +01:00
Holger Hans Peter Freyther
a7376149b3
SCCP: Implement creating a Connection Confirm message
2010-11-24 14:13:09 +01:00
Holger Hans Peter Freyther
e6be1d2325
SCCP: Test encoding the CR message again
2010-11-24 11:00:54 +01:00
Holger Hans Peter Freyther
e45b92dceb
SCCP: Make PNC be based on a Dictionary and clean up the code
2010-11-20 21:46:51 +01:00
Holger Hans Peter Freyther
4e6d696e5b
SCCP: Implement parsing the SCCPConnectionRequest
2010-11-20 21:46:51 +01:00
Holger Hans Peter Freyther
47140f12d7
SCCP: Add a method to automatically decode the message
2010-11-20 21:46:51 +01:00
Holger Hans Peter Freyther
c533506ded
Replace the #toByteArray cals with #asByteArray.
2010-11-20 01:09:50 +01:00
Holger Hans Peter Freyther
fcb0c30b42
MessageBuffer: Deprecate the MessageBuffer>>toByteArray
2010-11-20 00:49:45 +01:00
Holger Hans Peter Freyther
382a6688a4
MessageBuffer: Allow to add a messagebuffer as a bytearray
...
Make it possible to add the messagebuffer as a normal
byte array. This should be improved and the MessageBuffer
should implement a Collection or such.
2010-11-20 00:39:06 +01:00
Holger Hans Peter Freyther
87b97290ce
SCCP: Parse a SCCP CC message.
2010-11-15 20:04:20 +01:00
Holger Hans Peter Freyther
4e4a179a0f
SCCP: Test parsing the address from a byte array
2010-11-15 20:04:20 +01:00
Holger Hans Peter Freyther
fdf0842be7
Test creating SCCP CR messages
2010-11-15 20:04:19 +01:00
Holger Hans Peter Freyther
d6ba7d3813
IPA: Add the invoke and transaction id to the mix
...
Update the test case with the new size of this struct
2010-10-19 10:06:11 +02:00
Holger Hans Peter Freyther
6f1c30a797
SCCP: Test the construction of a DT1 message.
2010-10-16 20:08:47 +02:00
Holger Hans Peter Freyther
457f4406a5
Test: Add test cases for some simple stuff...
2010-10-16 19:30:27 +02:00