Documentation

Smpp v3.4 client

Moderator: alt

Locked
Peter Hevier

Documentation

Post by Peter Hevier » Thu Aug 31, 2006 7:26 am

Hello,

is there any short documentation, or simple sample code to show hot to work with your library?
alt
Site Admin
Posts: 988
Joined: Tue Apr 25, 2006 9:45 am

Post by alt » Thu Aug 31, 2006 9:28 pm

Sorry, documentation in process

You can check Demo application (sources included) at
http://www.inetlab.ru/en/ALT.SMS.SmppClient
Peter Hevier

Documentation

Post by Peter Hevier » Thu Sep 07, 2006 7:49 pm

Thanks, for sample application. I think it will be enough for my purposes.
eldeperky
Posts: 1
Joined: Thu Jan 25, 2007 10:41 am
Contact:

Documentation

Post by eldeperky » Thu Jan 25, 2007 10:55 am

Please, can you explain what is the host name and password that required.
thanks.
El-Deperky
alt
Site Admin
Posts: 988
Joined: Tue Apr 25, 2006 9:45 am

Post by alt » Thu Jan 25, 2007 11:32 am

HostName is domain name or ip address of SMSC (short message service center).
You have to ask mobile operator to give you SystemId and Password to bind with SMSC.
batito
Posts: 2
Joined: Wed Feb 14, 2007 10:11 pm

EnquireLink

Post by batito » Thu Feb 15, 2007 4:23 pm

Hi,
first of all thanks a lot , and let me say you are making a realle great work guy.
but now i have some problems hehe
how i use EnquireLink parameter?
i need to set it to 30 sec.

and here is my sintaxis it's ok?

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnConnect.Click
Dim MyConnection As New ALT.SMS.SmppClient
MyConnection.Connect("200.37.161.238", "5018")

If MyConnection.IsConnected Then
MsgBox("Connection Made")
'MyConnection.Disconnect()
End If

End Sub


Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim MyInic As New ALT.SMS.SmppClient
Dim btrp As New ALT.SMS.pduBindResp

MyInic.Bind("xyxyxyxyx", "xxxxx")
MyInic.SystemType = "SMPP"
MyInic.AddrNpi = "0"
MyInic.AddrTon = "0"

MyInic.EnquireLink()

Select Case btrp.Status
Case CommandStatus.ESME_ROK
MsgBox("ok")
End Select

End Sub



thanks a lot
Gusatvo
alt
Site Admin
Posts: 988
Joined: Tue Apr 25, 2006 9:45 am

Post by alt » Thu Feb 15, 2007 8:48 pm

EnquireLink is used to provide a confidencecheck
of the communication path between an ESME and an SMSC.
If your SMSC sends this message, ALT.SMS.SmppClient responds immediately. You can track this in the evEnquireLink event.
Or you can send your EnquireLink request at any type, use method EnquireLink().

Also you have to set client properties before connect.
MyInic.SystemType = "SMPP"
MyInic.AddrNpi = "0"
MyInic.AddrTon = "0"

In the ZIP file you can find working Sample application (unfortunately in C#).
Locked