Nope. And if you use 2 init-strings, only one will be used (I believe the
first).
Nikos
----- Original Message -----
From: "info.ubichip" <[email protected]>
To: "'Alvaro Cornejo'" <[email protected]>; "'Nikos Balkanas'"
<[email protected]>
Cc: <[email protected]>
Sent: Friday, January 22, 2010 10:44 PM
Subject: RE: telnet device
Hello Alvaro, Nikos,
First thanks to your help,
I will receive the equipment soon, and I will update you about that.
I already take a look on the source of ths smsc_at, but there is no
indication of any carriage return 'feature' so I'm hope the ^M will not be
see as a two normal asciis characters if there is no mapping.
If not, I think the solution will be to add some how one second init-string
in the modem definitions. Is a init-string2 exist ?
What do you think about ?
-----Original Message-----
From: Alvaro Cornejo [mailto:[email protected]]
Sent: vendredi 22 janvier 2010 09:51
To: Nikos Balkanas
Cc: info.ubichip; [email protected]
Subject: Re: telnet device
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 <[email protected]>:
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"
<[email protected]>
To: "info.ubichip" <[email protected]>
Cc: <[email protected]>
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 <[email protected]>
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