Holger Hans Peter Freyther
6389190fb6
BSSMAP: The isTV is not used and might not be used. Remove it
2010-11-27 14:00:26 +01:00
Holger Hans Peter Freyther
78f8718004
Messages: Remove the DataIE place holder
...
Right now we always want to decode everything. If we end up
with performance issues we might re-introduce this class.
2010-11-27 14:00:26 +01:00
Holger Hans Peter Freyther
afd83ce445
Messages: Introduce a IEBase base class and share it for GSM48 and GSM0808
2010-11-27 14:00:26 +01:00
Holger Hans Peter Freyther
117b78df17
Messages: Rename IEBase variable to aIEBase to make room for a class
2010-11-27 14:00:26 +01:00
Holger Hans Peter Freyther
c214878730
BSSAP: First refactoring of the IE base to work with TLV and TV types
2010-11-27 14:00:26 +01:00
Holger Hans Peter Freyther
4cfb2e1e9d
GSM48: Implement the IdentityResponse
2010-11-27 14:00:25 +01:00
Holger Hans Peter Freyther
6c9f1a74dc
GSM48: Fix the message type detection.
2010-11-27 14:00:25 +01:00
Holger Hans Peter Freyther
5d0db43bed
GSM48: Parse the IdentityRequest message
2010-11-27 14:00:25 +01:00
Holger Hans Peter Freyther
67e54da19c
GSM48: Move the helper class up in the file
2010-11-27 14:00:25 +01:00
Holger Hans Peter Freyther
6c5ef4439d
GSM48: Refactor the reject cause to use the simple data storage.
2010-11-27 14:00:25 +01:00
Holger Hans Peter Freyther
2b6fc05395
GSM48: Improve the error message.
2010-11-27 14:00:25 +01:00
Holger Hans Peter Freyther
d16e674f22
GSM48: Move the class below the SimpelData definition
2010-11-27 14:00:25 +01:00
Holger Hans Peter Freyther
1bc0b1e49d
GSM48: Introduce a GSM48IE base class and start using it
2010-11-27 14:00:25 +01:00
Holger Hans Peter Freyther
71ca6da63b
GSM48: Parse the LocationUpdatingAccept message, add optional elements
...
Add support for optional elements to the GSM48MSG, add parsing the
LocationUpdatingAccept message.
2010-11-27 14:00:25 +01:00
Holger Hans Peter Freyther
8f77c3ff45
GSM48: Create a GSM48SimpleData base class, extract the seq nr
2010-11-24 22:18:48 +01:00
Holger Hans Peter Freyther
f31ba5ca44
MSG: Parse more GSM48 messages...
2010-11-24 21:50:01 +01:00
Holger Hans Peter Freyther
46b476ca14
GSM48: Add a GSM48AuthRand class to parse the auth rand.
2010-11-24 21:50:01 +01:00
Holger Hans Peter Freyther
50001c769b
BSSMAP: Parse the Clear Command message.
2010-11-24 15:33:19 +01:00
Holger Hans Peter Freyther
92c95cab97
Messages: Fix the error reporting
2010-11-24 15:20:56 +01:00
Holger Hans Peter Freyther
69b24ba01d
MSG: Parse a DT1 properly...
2010-11-24 15:17:10 +01:00
Holger Hans Peter Freyther
771e3d162d
GSM48: Parse the LocationUpdatingReject properly
2010-11-24 15:13:39 +01:00
Holger Hans Peter Freyther
bceed62002
GSM48: Correct the exception message to contain the right messages
2010-11-24 15:13:14 +01:00
Holger Hans Peter Freyther
f396be9541
GSM48: Parse the reject cause properly
2010-11-24 15:12:48 +01:00
Holger Hans Peter Freyther
5a4cb78826
SCCP: Start parsing the SCCP response from the network
2010-11-24 10:58:30 +01:00
Holger Hans Peter Freyther
ac111ccd53
GSM48: Parse the mandantory parts of a message
...
This is finishing up the test to recursively parse a
SCCP message into each section. The mandantory table
should now holds the association so we can deal with
the instance variables.
2010-11-24 00:41:38 +01:00
Holger Hans Peter Freyther
229c887058
GSM48MI: Parse the IMSI that we are generating
2010-11-24 00:20:16 +01:00
Holger Hans Peter Freyther
58f2f19c98
GSM48Classmark1: Implement parsing the classmark
2010-11-24 00:13:03 +01:00
Holger Hans Peter Freyther
86642be3ef
GSM48Lai: Implement parsing the LAI from a byte
2010-11-24 00:13:03 +01:00
Holger Hans Peter Freyther
fb395c580f
GSM48Lai: Switch over to a proper LAI object
2010-11-24 00:13:03 +01:00
Holger Hans Peter Freyther
a97775635e
GSM48: Start parsing message types
2010-11-24 00:13:03 +01:00
Holger Hans Peter Freyther
77367851c0
Tests: Keep the byte array results around
2010-11-24 00:13:03 +01:00
Holger Hans Peter Freyther
f3c62fe6dd
SCCP: Find the Complete Layer3 and decode it.
2010-11-24 00:13:03 +01:00
Holger Hans Peter Freyther
8e68c2bc20
IE: Implement finding the IE based on the type.
2010-11-24 00:13:03 +01:00
Holger Hans Peter Freyther
51574359cb
IE: Go through the subclasses to decode everything
2010-11-23 20:17:37 +01:00
Holger Hans Peter Freyther
e6767d479a
GSMLayer3Info: Implement and Test parseFrom:
2010-11-23 20:15:01 +01:00
Holger Hans Peter Freyther
da5e703381
BSSMAP: Parse the GSMCellIdentifier, add a test case
2010-11-23 20:08:49 +01:00
Holger Hans Peter Freyther
1998507006
BSSMAP: Create the LAI object and store it properly.
2010-11-23 18:47:39 +01:00
Holger Hans Peter Freyther
711ccdf1fa
IEMessage: Pass the data with type and length...
2010-11-22 22:46:45 +01:00
Holger Hans Peter Freyther
df1afe1440
BSSMAP: Fix the testcase and declare the variable
2010-11-22 22:34:17 +01:00
Holger Hans Peter Freyther
c2ac3efe9d
SCCPHandler: Add code to queue for reading.
2010-11-22 17:16:44 +01:00
Holger Hans Peter Freyther
301b1542b9
BSSMAP: Test the decoding of the IEMessage..
2010-11-22 17:16:29 +01:00
Holger Hans Peter Freyther
f429cd36bb
Decode: Create a MSGParser that recursively parses a message..
2010-11-22 17:13:53 +01:00
Holger Hans Peter Freyther
c28b116689
Decode: Work on decoding the messages...
...
This is a lot of work in progress to recursively decode
the messages.
2010-11-22 17:13:53 +01:00
Holger Hans Peter Freyther
5ed751c24e
SCCPHandler: Start handling SCCP connections.
2010-11-22 17:13:53 +01:00
Holger Hans Peter Freyther
181fc048cf
TestPhone: Take a lock when draining the send queue.
2010-11-20 01:34:41 +01:00
Holger Hans Peter Freyther
1898744e02
BSSAP: Create a class so we can delay creating a MessageBuffer
2010-11-20 01:34:41 +01:00
Holger Hans Peter Freyther
4cb1daeed6
BSSMAP: Pass the LU directly to the Layer3Info
...
No need to generate a message. We can directly pass
this to the system and generate the data at the end
with a toMessage.
2010-11-20 01:34:41 +01:00
Holger Hans Peter Freyther
da055c7469
Rename from storeOn: to writeOn: to unclash a system selector
...
Same change as in OsmoNetwork.
2010-11-20 01:34:41 +01:00
Holger Hans Peter Freyther
4cbfc1d0be
GSM48: Add dummy code to generate a LU and wrap it in all layers
...
Create a GSM48 message, wrap it in BSSMAP, BSSAP, SCCP. This
allows us to test the code that is wrapping messages...
2010-11-20 01:34:41 +01:00
Holger Hans Peter Freyther
e277181234
Test: Start using MessageBuffer>>#asByteArray
...
Remove the toByteArray calls as they are deprecated.
2010-11-20 01:34:41 +01:00