Re: Text based smsc.

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Wapme Systems AG
Message-ID <[email protected]>
Kwok Peng Tuck schrieb:
> 
> Hi list,
> Is it possible for me to write  smsc client  implementation in kannel
> which uses text instead of pdus?  It has become(unfortunately) necessary
> to support a smsc which does exactly that.

yes you can. You have to options:

a) if it uses HTTP for transport, use gw/smsc/smsc_http.c and add a
new 'system-type' for it.

b) if it uses TCP connections implement your own gw/smsc/smsc_foobar.c
according to the prodocoll.

You can use gw/smsc/smsc_smasi.c as a base, which is also a plain text
(over TCP) implementation. Beware: it uses some crispy pre-processor
macro magics which are hard to understand at the first shot.

Stipe

[email protected]
-------------------------------------------------------------------
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [email protected]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.