summaryrefslogtreecommitdiffstats
path: root/connection/SMPPConnection.st
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-07-14 16:40:29 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-07-14 16:40:29 +0200
commit38fb0d274517070ffaed07b4c8b7079334fd67da (patch)
tree2beeff4fb1ab8dcf645e13d3f8b25a0450ecc8a7 /connection/SMPPConnection.st
parent1f49a50dc5c1a3f8b5f006f93495b85a57c9802a (diff)
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)]
Diffstat (limited to 'connection/SMPPConnection.st')
-rw-r--r--connection/SMPPConnection.st2
1 files changed, 1 insertions, 1 deletions
diff --git a/connection/SMPPConnection.st b/connection/SMPPConnection.st
index 3271409..b80cb0a 100644
--- a/connection/SMPPConnection.st
+++ b/connection/SMPPConnection.st
@@ -70,7 +70,7 @@ Osmo.OsmoStreamSocketBase subclass: SMPPConnection [
connect [
super connect.
- nextSeq := 0.
+ nextSeq := 1.
writeQueue := SharedQueue new.
self scheduleBindTrx.
]