1
0
Fork 0
Commit Graph

210 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 611237a576 msgstruct: Move to class based message fields
Remove the need to create an instance of this class. So we either
need to make this totally instance based and hold the dictionary
in the ISUPMessage or we can keep it class based. I am not sure what
is best right now.
2011-03-20 11:45:45 +01:00
Holger Hans Peter Freyther ad58823edf isup: Very basic regression test to test the number of classes we have 2011-03-15 11:29:29 +01:00
Holger Hans Peter Freyther 46b6c89e6f msg: Walk the fields in another way, e.g. used when decoding 2011-03-15 11:24:49 +01:00
Holger Hans Peter Freyther b96a8bd5d0 msg: Store the fields in one straight list
We want to keep the order of elements, store them in
a straight list to achieve this. E.g. optional and
optionals will follow each other.
2011-03-15 11:22:21 +01:00
Holger Hans Peter Freyther 8e1d197189 msg: Make it possible to reset the type 2011-03-04 08:31:18 +01:00
Holger Hans Peter Freyther ab47276768 isup: Add message types for some more classes 2011-03-04 08:30:37 +01:00
Holger Hans Peter Freyther 6a1037de31 msg: Rename the file that holds the MessageStructure class 2011-03-04 08:27:02 +01:00
Holger Hans Peter Freyther 64a3fe249c m2ua: Add some code that is able to send simple M2UA packages 2011-03-04 08:06:03 +01:00
Holger Hans Peter Freyther 30ee798714 isup: Add generated code, test that it can be instantiated 2011-03-04 08:04:08 +01:00
Holger Hans Peter Freyther 0ba1f5cf7e isup: Implement the subclass handling of some of the types 2011-03-04 00:17:30 +01:00
Holger Hans Peter Freyther afe63b2f91 msg: Fix subclassing of the fields... rename to fixed 2011-03-03 23:58:16 +01:00
Holger Hans Peter Freyther 9996828d58 isup: Rename parameters... copy the table by hand now
This was copied being halfway tired and this means this needs a
review to make sure it is correct.
2011-03-03 23:57:39 +01:00
Holger Hans Peter Freyther 3062e5b0a3 isup: Skip the 'ISUP' part of a parameter 2011-03-03 23:57:13 +01:00
Holger Hans Peter Freyther 3c86951d22 isup: Add missing entries from Table 4 of Q.763 2011-03-03 22:49:13 +01:00
Holger Hans Peter Freyther da58a16b2d isup: Fix some more of the code generation 2011-03-03 22:10:01 +01:00
Holger Hans Peter Freyther e1a7df6753 isup: Fix the code generation 2011-03-03 21:44:37 +01:00
Holger Hans Peter Freyther 1f0b9d88fe isup: Use the class name for the parameter as well
We might want to truncate this a bit or have a mapping
2011-03-03 21:39:32 +01:00
Holger Hans Peter Freyther cf0c457726 isup: Remove class names that have '/' in it. 2011-03-03 21:33:41 +01:00
Holger Hans Peter Freyther a8f4195586 isup: Create a base class for ISUP messages, use binary notation
- Use binary notation for the constants to match the specs
- Prepare for auto generated code
2011-03-03 21:18:25 +01:00
Holger Hans Peter Freyther 7fb9b427f8 msg: Attempt to generalize the MSG Structure class
If things turn out this will be the base for ASN1,
GSM, ISUP, BSSAP, SCCP and the other protocols
2011-03-03 20:41:57 +01:00
Holger Hans Peter Freyther 004c0765d3 isup: Fix the generation of ISUP structures here 2011-03-03 20:40:13 +01:00
Holger Hans Peter Freyther 0cab23bd99 m2ua: Set the log context for the data 2011-03-03 20:25:32 +01:00
Holger Hans Peter Freyther f85a44cb8e isup: Make the types consistent with each other
We have no more conflicts but we still need to do manual fixups
to the generated code now.
2011-02-09 19:52:31 +01:00
Holger Hans Peter Freyther c8180aa4ea isup: In RLC there is an upper limit for the Cause Indicators
Ignore the other other limits for RLC...
2011-02-09 19:50:22 +01:00
Holger Hans Peter Freyther 91c20c5395 idr: Fix the spelling (a bug done by the manual copying process) 2011-02-09 19:48:35 +01:00
Holger Hans Peter Freyther e2e660a327 isup: Consider the redirection status a fixed length field too 2011-02-09 19:45:30 +01:00
Holger Hans Peter Freyther 50e467262a isup: Fix the size of the redirection number
Figure 10 shows that it needs to have at least 3 + T + L
of length...
2011-02-09 19:43:37 +01:00
Holger Hans Peter Freyther 0464a77811 isup; Fix writing of information 2011-02-09 19:42:33 +01:00
Holger Hans Peter Freyther 0b090ef00c isup: The length of this is not plausible. increase 2011-02-09 19:36:25 +01:00
Holger Hans Peter Freyther 610d90ba97 isup: The Conference treatment indicators would only have a T
If the ISUP spec is correct the indicator would only have a T
and no L and no V. This does not sound to be correct.
2011-02-09 19:33:56 +01:00
Holger Hans Peter Freyther 6389a55ca8 isup: Range and Status appears multiple times
For some commands the range and status only includes
the range status and not more.
2011-02-09 19:32:37 +01:00
Holger Hans Peter Freyther 48dde8bbcf isup: Add textual representation of the ISUP structs
This is copied from the specificiation by hand (as selection in
evince is mostly broken). We will use this information to generate
the types
2011-02-09 19:28:15 +01:00
Holger Hans Peter Freyther cc78aa5096 isup: Add ISUPConstants taken from the erlang code 2011-02-05 17:58:56 +01: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 997411f1bd extensions: Introduce a swap32 on numbers 2011-02-03 18:51:33 +01:00
Holger Hans Peter Freyther 0a8efeb078 sccp: Add the missing copyright file 2011-02-03 13:44:01 +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 0a98c308eb SCCP: Be able to generate UDT with class types 2010-12-11 07:47:07 +01:00
Holger Hans Peter Freyther 18cd6f49da SCCP: Allow to set the error handling for the UDT messages 2010-12-11 07:40:14 +01:00
Holger Hans Peter Freyther a557d783fe SCCP: Allow to not fully initialize the type 2010-12-11 07:24:48 +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 13189329ac SCCP: Move the BCD number handling into the base class. 2010-12-11 06:54:32 +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 8c26bc415e SCCP: Add SSN values to the SCCPAddress 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