On Tue, Apr 21, 2009 at 9:53 AM, Anand Ayyappan <[email protected]> wrote:
> Hi,
>pointing
> Thanks for pointing out that mistake. The init string values were changed to
> AT+CNMI=2,1,0,1,0;+CMGF=0;+CMEE=1
>
> and its working.
>
> But now i have a strange situation the modem doesn't initialise its own. it
> only starts working when i use minicom.

What do you mean?
The modem does not initialize when you use kannel with the above init-string,
and it initializes when you are using minicom? Did you manage to send SMS
by typing AT commands via minicom?
If that is so, use the same init-string for kannel as when you use minicom.


> Also i am facing an error while trying to send sms the modem get AT+CMGS=20
> command but while checking in it was found that the use should be some thing
> like AT+CMGS="NUMBER",(145,129) then the message.

AT+CMSG=20 means that the message is 20 octets long.
Check the bellow links for more info.

Maybe its because of wrong initialization.
You can debug your init string by connecting to the gsm modem via
minicom and typing the
commands. Here are some examples how to send sms via AT commands, play
a bit with the initialization
commands and correct the init-string if needed.

http://www.developershome.com/sms/howToSendSMSFromPC.asp
http://www.smssolutions.net/tutorials/gsm/sendsmsat/

BR, Jovan

Reply via email to