Thanks Alvaro,

I don't know if this works with modems but these are control codes related to vt100 terminal emulation. ^M is carriage return, ^J line feed (not with carret, however, but control). They are eventually mapped to ASCII characters (0x0D & 0x0A). If some modem types implement them in their init strings, I doubt that it is a standard. Glad to know, though.

BR,
Nikos
----- Original Message ----- From: "Alvaro Cornejo" <cornejo.alv...@gmail.com>
To: "info.ubichip" <info.ubic...@free.fr>
Cc: <users@kannel.org>
Sent: Friday, January 22, 2010 3:30 PM
Subject: Re: telnet device


Try    ^M     carret and upper case M

is an ASCII ?? representation of the carriage return.

I do use old xyplex terminal server to connect a bank of modems to
kannel using rawtcp mode in smsc_at config with no problems.

Regards

Alvaro



|-----------------------------------------------------------------------------------------------------------------|
Envνe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perϊ, Mιxico y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
             Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com



On Thu, Jan 21, 2010 at 6:24 PM, info.ubichip <info.ubic...@free.fr> wrote:
Hello,

Do you know if it is possible to put some carriage return in the init-string
of a modem. In my case, the modem is a telnet one and I have to make a non
standard command before access to AT command.

I would to have something like
Init-string = "hellocommand[carriagereturn]AT+CNMI=1,2,0,0"


Thanks in advance for your help





Reply via email to