Matthieu Chauzit was once rumoured to have said:
> >> I am currently trying to see how I can implement a C program that would
> >> send a SMS throught a classic modem (without internet connection). Does
> >> anybody have some simple source code or information that would help me to
> >> implement my program ?
> >>
> > Hey! Why bother learning to use a search engine when all these SLUG
> > guys will do it for free?
> >
> > In this case, STFA (Search the friendly archives) - its been on SLUG
> > before.
> >
> I already spent a week on the net before soliciting SLUG help. Indeed I
> could not find a C program. Although there is sms-client (as suggested
> by Howard Lowndes), but it is way too much complex. So I was wondering
> if one of the SLUG guys had a simple source code somewhere..
>
> > http://www.progsoc.uts.edu.au/lists/slug/1999/December/msg00571.html
> >
> It is about perl scripts.
SMS transmission is not simple unless you're using something like TAP
or the ASCII dialup interface that the script that was provided.
> > Do you know which protocol your desired service uses?
> >
> GSM protocol. The part which deals with that kind of application is
> described in:
> European digital cellular telecommunications system (Phase 2); Interface
> protocols for the connection of Short Message Service Centres (SMSCs) to
> Short Message Entities (SMEs)
> (GSM 03.39)
> (author: European Telecommunications Standards Institute)
I'm currently working on a C implementation to handle ETS 300 916 (GSM
07.07 v5.9.1 - AT command set for GSM Mobile Equipment) and TS 100
585 (GSM 07.05 v7.0.1 - Equipment Interface for SMS and CBS) in my
spare time, so I can get linux to interact with my Ericsson phone.
If/when I've eventually finished this, you may find it of some use
since I will have some code to handle SMS TPDUs (I already have some
code to handle GSM string encoding).
>From what I've seen of GSM 03.39, it is outside the operational domain
for most users, consquentially there is unlikely to be a free
implementation of it yet. [However, if there is free implementations
of this stuff, can somebody *please* point me at them :)]
One of the most common methods for generating SMS traffic from
land-line is by communicating with a TAP gateway - I have personally
used Vodafone and Telstra's services, and I'm fairly sure that Optus
also provides a similar service. For this purpose, sms-client is
ideal.
C.
--
--==============================================--
Crossfire | This email was brought to you
[EMAIL PROTECTED] | on 100% Recycled Electrons
--==============================================--
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug