Holger Hans Peter Freyther
c85afceffe
connection: Remove debugging code for now
...
Leave the construct to easily catch what is going on but do not
execute inspect right now.
2014-07-21 12:56:42 +02:00
Holger Hans Peter Freyther
22f907bf63
smpp: Add setter to SMPPDeliverySM and introduce SMPPCommand
...
The setters were developed under Pharo (what a breeze!) and the
final SMPPConnection changes were done using GNU Smalltalk.
2014-07-21 10:13:20 +02:00
Holger Hans Peter Freyther
d22a3e248a
smpp: Begin with DeliverSM codec handling
...
DeliverSM is very similar to SubmitSM but some of the optional
items are missing.
2014-07-19 19:27:14 +02:00
Holger Hans Peter Freyther
2359ee5449
misc: This file was never comitted and didn't contain any content
2014-07-19 19:13:54 +02:00
Holger Hans Peter Freyther
c3f7517f6e
pharo: Add missing file and fix the SMPPConnection>>#createConnection
...
We want to deal with bytes and don't get the read timeouts!
2014-07-16 08:02:55 +02:00
Holger Hans Peter Freyther
8146afd9f6
Add Makefile to convert from GST to Pharo
2014-07-15 19:43:47 +02:00
Holger Hans Peter Freyther
47cbd9c5b1
misc: Add proper categories to all classes
...
In preparation to the pharo port add proper categories.
2014-07-15 13:45:25 +02:00
Holger Hans Peter Freyther
6502e32773
conn: Remember the sequence number we expect as response and dispatch
...
This is lacking timeout and sanity checking. E.g. we want to make sure
we get a response within the next XYZ seconds and we want the system
to check that the response belongs to the request we sent.
2014-07-14 16:41:23 +02:00
Holger Hans Peter Freyther
38fb0d2745
conn: libsmpp34 complains about the sequence number 0, start with 1
...
Mon Jul 14 16:26:04 2014 <0016> smpp_smsc.c:524 [] Error in smpp34_unpack():[command_length:00000029(OK)][command_id:00000009(OK)][command_status:00000000(OK)][sequence_number:00000000(Invalid value)]
2014-07-14 16:40:29 +02:00
Holger Hans Peter Freyther
1f49a50dc5
connection: Really use the right sequence number
2014-06-19 15:41:53 +02:00
Holger Hans Peter Freyther
244f9b682b
connection: Dispatch on the message body we have received
2014-06-17 21:55:54 +02:00
Holger Hans Peter Freyther
c9cb3d5cab
connection: Begin creating a proper connection class to connect to a ESME
2014-06-17 19:22:34 +02:00
Holger Hans Peter Freyther
de471382a4
codec: Implement parsing trx bind resp and fix optional parsing
2014-06-17 19:21:34 +02:00
Holger Hans Peter Freyther
2008f19ac1
codec: Fix typo
2014-06-17 19:10:36 +02:00
Holger Hans Peter Freyther
ca7c90b83f
codec: Refer to the right variable name
...
Too much tab completion for the other project I spend time with
2014-06-17 19:02:35 +02:00
Holger Hans Peter Freyther
eacd66d90a
codec: Fix the error message and print the real commandId
2014-06-17 18:49:48 +02:00
Holger Hans Peter Freyther
7bee831b63
codec: Deal with Sockets.StreamSocket returning a String
2014-06-17 18:35:59 +02:00
Holger Hans Peter Freyther
c6065ab122
codec: Cosmetic removal of an empty line
2014-06-17 18:35:46 +02:00
Holger Hans Peter Freyther
4ce889fd26
codec: Allow to set these attributes
2014-06-17 18:35:29 +02:00
Holger Hans Peter Freyther
fbc0861df9
submit: Implement round-trip handling
...
Fix the variable name and test round-trip handling.
2014-05-13 19:12:16 +02:00
Holger Hans Peter Freyther
9f539f1c13
submit: Implement parsing of the submit SM message
...
Not all attribute classes have all the attributes specified. The
SMPPValueHolder routines for parsing/writing were not tested/executed
and might contain issues. The sm_length/short_message was combined
into a single attribute as it is more like a LV. The question if
the >>readFrom:with: should read the length or not is something that
keeps on coming up. I need to have a more sane way of handling that.
2014-05-13 17:35:48 +02:00
Holger Hans Peter Freyther
efb09d0f74
smpp: Implement the unbind message type
2014-05-13 05:02:51 +02:00
Holger Hans Peter Freyther
f4d03c969e
smpp: Implement parsing of SMPPGenericNack
2014-05-13 05:00:49 +02:00
Holger Hans Peter Freyther
b05ed3a201
smpp: Add a todo file with some notes and things I want to do
2014-05-13 04:48:34 +02:00
Holger Hans Peter Freyther
ccdb0f5207
smpp: Be able to parse the SMPP Enquire Link
2014-05-13 04:47:00 +02:00
Holger Hans Peter Freyther
c2968fbc7e
smpp: Be able to parse the SMPP Bind Transceiver message
2014-05-13 04:45:31 +02:00
Holger Hans Peter Freyther
6cec697656
write: Implement write for the attributes and the body
...
This will decode and re-create the message. It is the first
round-trip test.
2014-05-13 04:25:25 +02:00
Holger Hans Peter Freyther
1e181e67e6
attr: Introduce a 'int' base class for SMPP
...
In SMPPv3.4 there are integers with different amounts of bytes.
Let's create a base class that helps with reading them right. Right
now only one byte numbers are supported but that can be changed
in the future.
2014-05-13 04:09:05 +02:00
Holger Hans Peter Freyther
07319cd1aa
bind: Add getters and extend the testcase of reading the message
2014-05-12 10:03:23 +02:00
Holger Hans Peter Freyther
5ec92351f5
body: Implement parsing of the body
2014-05-12 10:03:23 +02:00
Holger Hans Peter Freyther
a2a6bbc690
msg: Introduce a message class that contains header and body
2014-05-12 10:03:23 +02:00
Holger Hans Peter Freyther
fea5159aa7
header: Implement writing a header to a stream
2014-05-12 10:03:23 +02:00
Holger Hans Peter Freyther
38bca78f5b
Begin with OsmoSMPP a small SMPP codec library for Smalltalk
2014-04-24 20:25:36 +02:00