Community discussions

MikroTik App
 
chalan
newbie
Topic Author
Posts: 27
Joined: Wed Sep 14, 2005 1:29 pm

3g modem serial-terminal how to get info into variable?

Mon Jan 06, 2014 7:30 pm

i can log into my usb 3g modem with command in the terminal:
/system serial-terminal port=usb2 channel=1 ;              

[Ctrl-A is the prefix key]

*EMRDY: 1

and than with AT command
AT*E2OTR?
result
*E2OTR: 0,75,80,85,1,43
last number is the temeperature

OK
how to obtain *E2OTR: 0,75,80,85,1,43 with a script? i need to put the last number 43 into a variable for monitoring, please help... thank you
 
titan83
just joined
Posts: 5
Joined: Tue Jul 16, 2013 12:47 pm

Re: 3g modem serial-terminal how to get info into variable?

Tue Mar 11, 2014 5:17 pm

I need some solution.
Is it possible - send AT-commands from script and analyze answers?
 
evilbay
just joined
Posts: 20
Joined: Thu Nov 21, 2013 6:03 pm

Re: 3g modem serial-terminal how to get info into variable?

Wed Mar 25, 2015 5:59 pm

[Hello,

do you know how to send a AT Comand to serial-terminal and get the information recived?
Thanks