Page 1 of 1

Documentation

Posted: Thu Aug 31, 2006 7:26 am
by Peter Hevier
Hello,

is there any short documentation, or simple sample code to show hot to work with your library?

Posted: Thu Aug 31, 2006 9:28 pm
by alt
Sorry, documentation in process

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

Documentation

Posted: Thu Sep 07, 2006 7:49 pm
by Peter Hevier
Thanks, for sample application. I think it will be enough for my purposes.

Documentation

Posted: Thu Jan 25, 2007 10:55 am
by eldeperky
Please, can you explain what is the host name and password that required.
thanks.

Posted: Thu Jan 25, 2007 11:32 am
by alt
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.

EnquireLink

Posted: Thu Feb 15, 2007 4:23 pm
by batito
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

Posted: Thu Feb 15, 2007 8:48 pm
by alt
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#).