Re: Receiving SMS

Davy Chan <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
**>From: "Rahul Shetty" <[email protected]>
**>To: <[email protected]>
**>Subject: Receiving SMS
**>Date: Mon, 22 Nov 2004 11:02:45 +0530
**>
**>Hello All,
**>How can we send and receive sms in text format and not pdu format? I am
**>using wavecom gsm modem and made some minor modifications to the smsc_at2.c
**>file to send sms in text mode (without encoding it to pdu format..). But
**>problem is with receiving the sms, I belive smsc_at2.c extract the pdu from
**>the incoming data and tries to decode it and considers all sms coming in to
**>be in pdu format. Nothing shows up on smsbox.
**>Any suggestions on how I could avoid changing the code, are there any
**>variables available that we can set in the smskannel.conf file (maybe I've
**>missed it). I have the modem set to "AT+CMGF=1" (text mode)

Kannel does not understand text mode SMS. It expects a PDU and tries
to decode it.  If you want text mode (AT+CMGF=1) then you will have
to write a new handler for the smsc_at subsystem.

If you do want text mode, then you will loose alot of information
(source address, destination address, coding, etc). Also, you will
not be able to interpret async SMSes like delivery reports.

See ya...

Davy Chan
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.