GSM modem as SMSC issues +CMS ERROR: 518

Anand Ayyappan anandayyappan at gmail.com
Tue Apr 21 09:53:57 CEST 2009


Hi,

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.

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.

please help me in finding out what to do next.

all logs and conf attached
Thanks

Anand Ayyappan


"Formal education will make you a living; self-education will make you a
fortune." - Jim Rohn

Post free classified ads at http://www.getkochi.com


On Mon, Apr 20, 2009 at 4:14 PM, Jovan Kostovski <chombium at gmail.com> wrote:

> On Mon, Apr 20, 2009 at 10:53 AM, Anand Ayyappan
> <anandayyappan at gmail.com> wrote:
> > Good Day,
> >
> > I am trying to setup an SMSC using a gsm modem. I use a simcom gsm modem
> > connected to a serial port. The modem fails to open up
> > 2009-04-20 04:26:27 [7517] [6] DEBUG: AT2[/dev/ttyS0]: -->
> >
> AT+CNMI=2,1,0,1,1;+CMGF=0;+CPIN?;+CREG?;+COPS?;+CSCA?;+CPMS?;+CPBR=?;+CMEE=2;^M
> > 2009-04-20 04:26:27 [7517] [6] DEBUG: AT2[/dev/ttyS0]: <-- +CMS ERROR:
> 518
>
> +CMS ERROR 518 means invalid parameter.
> Check the values of the parameters in the init-string in modems.conf
> for the simcom_ltd modem.
> You are querying parameter values... not setting them...
>
> BR, Jovan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.kannel.org/pipermail/users/attachments/20090421/ba0d557a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kannel.conf
Type: application/octet-stream
Size: 756 bytes
Desc: not available
URL: <http://www.kannel.org/pipermail/users/attachments/20090421/ba0d557a/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: modems.conf
Type: application/octet-stream
Size: 2742 bytes
Desc: not available
URL: <http://www.kannel.org/pipermail/users/attachments/20090421/ba0d557a/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bearerbox.log
Type: text/x-log
Size: 21725 bytes
Desc: not available
URL: <http://www.kannel.org/pipermail/users/attachments/20090421/ba0d557a/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kannel.smsbox.log
Type: text/x-log
Size: 9842 bytes
Desc: not available
URL: <http://www.kannel.org/pipermail/users/attachments/20090421/ba0d557a/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kannel.smsc.log
Type: text/x-log
Size: 9421 bytes
Desc: not available
URL: <http://www.kannel.org/pipermail/users/attachments/20090421/ba0d557a/attachment-0005.bin>


More information about the users mailing list