Community discussions

MikroTik App
 
Anirey
just joined
Topic Author
Posts: 24
Joined: Mon Sep 22, 2014 8:37 am

/interface ppp-client info ppp-out1 user-command="AT^HCSQ\?"

Fri Nov 28, 2014 10:07 am

Hi!
I would like to collect the quality of LTE signals (as RSSI, RSRP, SINR and RSSQ). I use for it the Mikrotik RB951Ui-2HnD and the modem Huawei E3372.
I can see this parameters if I use the command AT^HCSQ?

> /interface ppp-client info ppp-out1 user-command="AT^HCSQ\?"

modem-status: ready
pin-status: no password required
functionality: full
manufacturer: ^HCSQ:"LTE",56,47,101,18
model: E3372
revision: 21.285.01.02.143
serial-number: 864346021423076
current-operator: MTS RUS (cellid 117d03)
access-technology: Evolved 3G (LTE)
signal-strengh: -65 dBm
frame-error-rate: n/a
-- [Q quit|D dump|C-z pause]

How do write a script who collect the red line?
 
Anirey
just joined
Topic Author
Posts: 24
Joined: Mon Sep 22, 2014 8:37 am

Re: /interface ppp-client info ppp-out1 user-command="AT^HCS

Tue Dec 02, 2014 9:35 pm

I need help.
UP!
 
dbdom
just joined
Posts: 23
Joined: Sun Dec 09, 2012 9:51 pm

Re: /interface ppp-client info ppp-out1 user-command="AT^HCS

Tue Dec 02, 2014 10:30 pm

I have no way to check this, but you can try

:global manuf;
/interface ppp-client info ppp-out1 do={
:set manuf $"manufacturer";
}
 
Anirey
just joined
Topic Author
Posts: 24
Joined: Mon Sep 22, 2014 8:37 am

Re: /interface ppp-client info ppp-out1 user-command="AT^HCS

Thu Dec 04, 2014 9:03 am

Thanks, dbdom.
It works!
But, i don't know how run script for only one time.

:global manuf;
/interface ppp-client info ppp-out1 user-command="AT^HCSQ\?" once do={
:delay 10
:set manuf $"manufacturer";
}

This is don't work.
 
Anirey
just joined
Topic Author
Posts: 24
Joined: Mon Sep 22, 2014 8:37 am

Re: /interface ppp-client info ppp-out1 user-command="AT^HCS

Wed Dec 10, 2014 8:47 am

How to split this value ^HCSQ:"LTE",56,47,101,18 ?
I would like to get 5 value:

Signal = LTE (maybe WDMA)
RSSI = 56 (the first)
RSSP = 47 (the second)
SINR = 101 (the next)
RSRQ = 18 (only for LTE).


ex.:
^HCSQ:"LTE",56,47,101,18
^HCSQ:"WDMA",45,147,60
^HCSQ:"LTE",58,39,99,32

Thanks!
 
omidhe
just joined
Posts: 5
Joined: Sat Mar 17, 2018 8:19 am

Re: /interface ppp-client info ppp-out1 user-command="AT^HCSQ\?"

Fri Apr 06, 2018 2:37 pm

I used the following command to write AT-command in Terminal
/system serial-terminal usb1 channel=2
WRITE UR AT COMMAND ( e.g. AT^sysconfig?)
actually, I was using MikroTik basebox 5.

Who is online

Users browsing this forum: vaughn and 18 guests