Hi Xiaoxia

this error comes from the values you are sending to the modem:
AT+CNMI=1,2,0,1,0 that are kannel defaults. You need to look at your
modem command reference to see permited values. else send AT+CNMI=? to
see permited values for this command.

Regards

Alvaro

On Dec 6, 2007 11:54 AM,  <[EMAIL PROTECTED]> wrote:
> thank you very much , Alvaro,
> as your suggestion I solve the configuration of device, I found the device is
> /dev/ttyACM0 not ttyS0
> I am so glad of that. but there is new question now
>
> when I try to send AT+CNMI to phone, my kannel get error reply
>
> 2007-12-06 17:48:21 [18051] [4] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2007-12-06 17:48:21 [18051] [4] DEBUG: AT2[/dev/ttyACM0]: --> AT+CSMS=?^M
> 2007-12-06 17:48:21 [18051] [4] DEBUG: AT2[/dev/ttyACM0]: <-- +CSMS: (0)
> 2007-12-06 17:48:21 [18051] [4] DEBUG: AT2[/dev/ttyACM0]: <-- OK
> 2007-12-06 17:48:21 [18051] [4] DEBUG: AT2[/dev/ttyACM0]: --> 
> AT+CNMI=1,2,0,1,0^M
> 2007-12-06 17:48:21 [18051] [4] DEBUG: AT2[/dev/ttyACM0]: <-- ERROR
> 2007-12-06 17:48:21 [18051] [4] ERROR: AT2[/dev/ttyACM0]: Generic error: ERROR
> 2007-12-06 17:48:21 [18051] [4] ERROR: AT2[/dev/ttyACM0]: Opening failed. 
> Terminating
> 2007-12-06 17:48:21 [18051] [4] INFO: AT2[/dev/ttyACM0]: closing device
> 2007-12-06 17:48:21 [18051] [4] INFO: AT2[/dev/ttyACM0]: closing device
>
> I don't know what is the problem of it ....
>
> thank you for help me again....
>
> elsie
>
>
> -- Alvaro Cornejo wrote :
> Hi
>
> try the following:
> - Before plugin your device on the linux machine make an ls /dev/tty*
> see what you have.
> - plug your device
> - Do another ls /dev/tty* and see what new devices were created. if
> any. If there is not new devices, the USB firmware is most probably
> not compatible with linux drivers. (I found that with Enfora USB
> modems.).
> - If so use a terminal emulator to connect to the device. specifying
> the new /dev/ttyX as port
> - Set correct speed (115200 is default on most modems).
> - try to send some CR or AT to see if you get answer from your phone.
>
> Else set speed= 0  and device = /dev/ttyXXX in kannel config and
> kannel will try to get the correct baudrate for your modem.
>
> hope helps
>
> Alvaro
> Alvaro
>
>
> On Dec 6, 2007 7:38 AM, xiaoxia YOU <[EMAIL PROTECTED]> wrote:
> > hi , everyone
> > I am new for the Kannel, and for the linux, And I am so puzzle of them. and
> > this is the first time for me to use this forum, I think it is so wonderful.
> > I have checked all the topic of the smsc, but I didn't get my result.So I
> > want to ask you all again.
> >
> > my question is :
> > 1.can I use nokia N70 as smsc?
> > 2.can nokia connect with linux, I try it , but it don't work , the debug is
> > : write data wrong, or else...
> > 3.I use usb to connect with linux, should I use /dev/ttyS* or /dev/ttyUSB*?
> > my result is I can't use /dev/ttyUSB* , it is said can't open the file.
> > when I use /dev/ttyS*, it can't init the device successful, after send some
> > ATcommend, it get error
> > 4.should I connect the phone with window operator system? if so, what can I
> > do ? how can I write my configuration, set it as rawtcp?? just my
> > thinking...
> >
> > I think these questions are so stupid, but they puzzle me a lot.
> >
> > I will so appreciate for your reply.
> >
> > thank you very much!
> >
> > elsie
> >
>
>
>
> --
> |-----------------------------------------------------------------------------------------------------------------|
> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier 
> celular y
> Nextel en México y en mas de 180 paises. Use aplicaciones 2 vias via
> SMS y GPRS online
>               Visitenos en www.smsglobal.com.mx y www.pravcom.com
>
>
>
> --
> This message was sent on behalf of [EMAIL PROTECTED] at openSubscriber.com
> http://www.opensubscriber.com/message/[email protected]/8143323.html
>
>



-- 
|-----------------------------------------------------------------------------------------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y
Nextel en México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
              Visitenos en www.smsglobal.com.mx y www.pravcom.com

Reply via email to