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

gsm04.11: Beging with message handling for GSM 04.11 (SMS)

It is not clear of how much parsing/handling code can be shared with
the GSM04.08 code. There are also a lot less IEs to handle for SMS so
we might not need the fixed size/data holder classes.
This commit is contained in:
Holger Hans Peter Freyther 2012-10-28 13:44:56 +01:00
parent c7bd5a49d2
commit d5c1bd13cb
1 changed files with 103 additions and 0 deletions

103
GSM411.st Normal file
View File

@ -0,0 +1,103 @@
"
(C) 2012 by Holger Hans Peter Freyther
All Rights Reserved
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
"
"Message for GSM04.11"
IEBase subclass: GSM411CpIE [
]
GSM411CpIE subclass: GSM411CpUserData [
<comment: '8.1.4.1'>
]
GSM411CpIE subclass: GSM411CpCause [
<comment: '8.1.4.2'>
]
IEBase subclass: GSM411RpIE [
]
GSM411RpIE subclass: GSM411RpMessageType [
<comment: '8.2.2'>
]
GSM411RpIE subclass: GSM411RpMessageReference [
<comment: '8.2.3'>
]
GSM411RpIE subclass: GSM411RpOriginatorAddress [
<comment: '8.2.5.1'>
]
GSM411RpIE subclass: GSM411RpDestinationAddress [
<comment: '8.2.5.2'>
]
GSM411RpIE subclass: GSM411RpUserData [
<comment: '8.2.5.3'>
]
GSM411RpIE subclass: GSM411RpCause [
<comment: '8.2.5.4'>
]
Osmo.TLVParserBase subclass: GSM411MSG [
<category: 'OsmoGSM-04.11'>
]
GSM411MSG subclass: GSMCpMessage [
<category: 'OsmoGSM-04.11'>
]
GSMCpMessage subclass: GSMCpData [
<comment: '7.2.1'>
]
GSMCpMessage subclass: GSMCpAck [
<comment: '7.2.2'>
]
GSMCpMessage subclass: GSMCpError [
<comment: '7.2.3'>
]
GSM411MSG subclass: GSMRpMessage [
]
GSMRpMessage subclass: GSMRpData [
<comment: '7.3.1'>
"Depending on the direction the Originator address is short."
]
GSMRpMessage subclass: GSMRpSmma [
<comment: '7.3.2'>
]
GSMRpMessage subclass: GSMRpAck [
<comment: '7.3.3'>
]
GSMRpMessage subclass: GSMRpError [
<comment: '7.3.4'>
]
Eval [
]