1
0
Fork 0
Commit Graph

26 Commits

Author SHA1 Message Date
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