Holger Hans Peter Freyther
12bdaf75f6
m2ua: Begin with a M2UA AS and ASP state machine and support code
2013-04-08 08:41:46 +02:00
Holger Hans Peter Freyther
009957dffc
mtp3: Introduce some basic structures for MTP3 decoding
...
This starts to introduce some basic MTP3 message decoding and
encoding using the generic MessageBuffer classes.
2013-04-06 11:40:53 +02:00
Holger Hans Peter Freyther
7ccefaa16e
sccp: Do not use abbreviation for variable names
...
It can help users to understand what we are talking about. This
request was expressed by noha.
2013-04-02 16:59:35 +02:00
Holger Hans Peter Freyther
247205d803
sccp: Move the SCCPAddress to a separate file
...
Begin with the one class one file pattern and move the SCCPAddress
to a shiny new file.
2013-04-02 16:12:45 +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
a0257331f3
misc: Fix warnings reported by the code critics of Pharo
2013-04-01 10:48:44 +02:00
Holger Hans Peter Freyther
5af90bdfd8
isup: Use a different category name for the extensions
...
These should not show up in a different package
2013-04-01 10:48:44 +02:00
Holger Hans Peter Freyther
776dda4070
isup: Do not generate the the MessageType field as it doesn't make sense
...
There is no ISUPConstants>>#parMessageType so do not generate such
a class.
2013-04-01 09:53:41 +02:00
Holger Hans Peter Freyther
412124646f
gst: Fix linting for the category name of the class
2013-03-30 16:40:31 +01:00
Holger Hans Peter Freyther
3746f7ad98
osmo: Make it possible to register on the OsmoAppConnection IPADispatcher
...
OsmoAppConnection now can call a block registered with >>#onConnect:
to allow modifying the dispatcher. This can be used to register for
the SCCP protocol. Use >>#nextPut:with: to send information through
the muxer.
2013-03-27 19:14:55 +01:00
Holger Hans Peter Freyther
db413d1d0f
osmo: Improve the connection class for re-connect and process handling
...
Use the usual rx/tx process handling, re-connect, start/stop
2013-03-27 18:38:11 +01:00
Holger Hans Peter Freyther
75587966d3
osmo: Create a new LogArea for the osmo area.
2013-03-27 16:23:05 +01:00
Holger Hans Peter Freyther
dd54429310
osmo: Add a way to set the token on the connection
2013-03-27 16:23:05 +01:00
Holger Hans Peter Freyther
a47c76fc1b
osmo: Introduce a subclass for the CTRL handling
2013-03-27 16:23:05 +01:00
Holger Hans Peter Freyther
3ae32dfb73
osmo: Move the OsmoAppConnection into the same category as OsmoUDPSocket
...
These two classes will start to share a base class for the close and
open and creating the processes in the future.
2013-03-27 16:23:05 +01:00
Holger Hans Peter Freyther
b33d07309a
ipa: Use String>>#expandMacrosWith: in the IPADispatcher
...
Make the code just work on Pharo and use the expandMacrosWith extension
for the String from the OsmoCore.
2013-03-27 16:23:05 +01:00
Holger Hans Peter Freyther
131d2465f9
pharo: Rename the StreamSocket to SocketStream for pharo
2013-03-27 07:42:53 +01:00
Holger Hans Peter Freyther
d228bfd818
osmo: Move the socket creation to a new method for the OsmoAppConnection
2013-03-26 16:44:08 +01:00
Holger Hans Peter Freyther
1a0b690eaa
Huge internal restructuring of the in sub-directories
2013-03-26 14:53:13 +01:00
Holger Hans Peter Freyther
1deae5d4cc
socket: Make the UDP socket code work on Pharo
...
Handle ConnectionClosed to avoid the exception popping up in the
workspace.
2013-03-26 13:51:46 +01: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
5ee3f64921
misc: Add makefile to help with converting the code to Pharo
...
Work on automatically porting to Pharo.
2013-02-23 19:00:01 +01:00
Holger Hans Peter Freyther
854ab4b14b
misc: Avoid the namespace access for the current namespace
2013-02-23 18:59:25 +01:00
Holger Hans Peter Freyther
2c6925aded
ipa: Move GST only code to a new file and do not convert it
...
The nice C-API/struct handling is only available on GST. We can
probably make this code just be stream-based.
2013-02-23 18:59:25 +01:00
Holger Hans Peter Freyther
8115187fd7
isup: FIx shadowing of the class variable
2013-02-23 18:59:24 +01:00
Holger Hans Peter Freyther
6d62146696
isup: Move the comments into the methods
2013-02-23 18:59:24 +01:00
Holger Hans Peter Freyther
5a061d9bef
m2ua: Move the comments into the comment pragma, fix parse issue
...
#endif is not a good entry in a file. Move the comments into the
method and class as this is the only way we can express it for
other dialects.
2013-02-23 18:59:24 +01:00
Holger Hans Peter Freyther
c24ccc9db6
cobject: Remove the ByteArray>>#castTo: extension
...
ByteArray>>#castTo: has only been used for the IPASCCPState but
this will be difficult to port to Pharo and other dialects. We
can implement this code using Streams without any downside or
implement the #declaration: ourselves.
2013-02-23 18:59:24 +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
cf820ff25b
compat: Use >>substrings: String and (Sring withAll: Array)
...
In Pharo Object>>#asString is not doing what Array>>#asString is
doing in GST. Avoid the issue and use the String>>#withAll: selector.
Pharo needs a string for the >>#subStrings: routine. So let us create
a string here to ease porting.
2013-02-23 18:56:56 +01:00
Holger Hans Peter Freyther
6c4d821861
compat: Use the >>expandMacrosWith: instead of the bindWith:
...
Pharo doesn't have >>#bindWith: and OsmoCore is now providing the
>>#expandMacrosWith: family of functions.
2013-02-23 18:55:41 +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
f410c60d8a
misc: Remove out of method comments as they break the conversion
...
gst-convert: warning: superclass PPCompositeParser is undefined
gst-convert: error: Invalid index 95: index out of range
Object: 'conditional [
<category: 'presence'>
^ #conditional
]' error: Invalid index 95: index out of range
SystemExceptions.IndexOutOfRange(Exception)>>pass (ExcHandling.st:385)
[] in UndefinedObject>>executeStatements (../../../install/smalltalk-master/share/smalltalk/scripts/Convert.st:580)
SystemExceptions.IndexOutOfRange(Exception)>>activateHandler: (ExcHandling.st:515)
SystemExceptions.IndexOutOfRange(Exception)>>signal (ExcHandling.st:254)
SystemExceptions.IndexOutOfRange class>>signalOn:withIndex: (SysExcept.st:660)
String(Object)>>checkIndexableBounds: (Object.st:798)
String>>at: (String.st:312)
STInST.MappedSourceCode(MappedCollection)>>at: (MappedColl.st:78)
STInST.RBFormatter>>newLinesFor:startingAt: (Parser.star#VFS.ZipFile/RBFormatter.st:390)
[] in STInST.RBFormatter>>formatStatementCommentFor: (Parser.star#VFS.ZipFile/RBFormatter.st:322)
2013-02-23 18:54:00 +01:00
Holger Hans Peter Freyther
c8a8293564
misc: Remove PackageLoader fileInPackage from the code
...
It is easier to remove the custom PackageLoader>>#fileInPackage:
when porting to Pharo.
2013-02-23 17:08:09 +01:00
Holger Hans Peter Freyther
45392894da
control: Add code that makes it more easy to deal interact with OpenBSC
...
Add a grammar for the OpenBSC control interface and a class that
makes it more easy to connect to a provider.
2013-01-09 18:46:41 +01:00
Holger Hans Peter Freyther
22e3039b8a
isup: Call the MessageStructure TLVDescriptionContainer
...
In terms of moving the code to the description format as used for
the GSM code rename the MessageStructure to TLVDescriptionContainer.
2012-12-11 13:21:46 +01:00
Holger Hans Peter Freyther
5fa3bb680f
isup: Begin to align the MessageStructure and the TLV description
...
Change #structure to #tlvDescription. The descriptions now need
to be changed.
2012-12-11 11:48:13 +01:00
Holger Hans Peter Freyther
17ee24015f
tlv: Introduce another attribute to allow using it for GSM04.08
...
Normally all mandatory elements lack the tag but for some elements
the mandatory element is carrying the tag as well. Add methods to
support that.
2012-08-23 20:47:53 +02:00
Holger Hans Peter Freyther
e7f79e2621
tlv: Move the TLV from the FakeBTS code to here to be used and improved
2012-08-23 16:26:56 +02:00
Holger Hans Peter Freyther
52a0026d32
misc: Simplify the package description
2012-08-09 02:05:16 +02: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
0b18355039
typo: Fix the word mandatory.. a common typo of mine
2012-08-03 10:58:23 +02:00
Holger Hans Peter Freyther
3e5902a617
ipa: Add a simple TL(V) parser for the IPA Protocol data
...
The length field is different for request and response and the
generation of it is broken inside the nanoBTS. Try dealing with
these broken messages.
2012-07-30 17:00:47 +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
02ad06bad6
misc: Ignore vi files
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
66900c7fe7
ipa: Make the IPADispatcher automatically initialize the object
...
Update the code.
2012-07-28 19:04:39 +02:00
Holger Hans Peter Freyther
c69c20f9dc
log: Make it clear from the log message that this is the ipa disp.
2012-03-07 23:44:48 +01:00