Nikos

A loooooong time ago I used to do some scripting (procomm, windows
terminal emulator) with modems and I used ^M and ^J (character carret
and character letter) and not CTRL+M nor CTRL+J in order to send CR
and LF to modems and it worked with no problems.

Lets wait info.ubchip tell us in that worked.

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



2010/1/22 Nikos Balkanas <nbalka...@gmail.com>:
> 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