From 38fb0d274517070ffaed07b4c8b7079334fd67da Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 14 Jul 2014 16:40:29 +0200 Subject: [PATCH] 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)] --- connection/SMPPConnection.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. ]