Changes

no edit summary
Line 30: Line 30:  
  do
 
  do
 
  date > /tmp/regfile  #where data will be stored
 
  date > /tmp/regfile  #where data will be stored
{{#switch:{{{series}}}
  −
|RUT9XX =
  −
  −
gsmctl -X >> /tmp/regfile
  −
gsmctl -E >> /tmp/regfile
  −
|RUT2XX =
  −
   
  gsmctl -X >> /tmp/regfile
 
  gsmctl -X >> /tmp/regfile
 
  gsmctl -E >> /tmp/regfile
 
  gsmctl -E >> /tmp/regfile
|RUTX  =
  −
  −
gsmctl -q >> /tmp/regfile
  −
gsmctl -c >> /tmp/regfile
  −
|TRB1  =
  −
gsmctl -q >> /tmp/regfile
  −
gsmctl -c >> /tmp/regfile
  −
|TRB2  =
  −
  −
gsmctl -q >> /tmp/regfile
  −
gsmctl -c >> /tmp/regfile
  −
}}
   
  sleep 5
 
  sleep 5
 
  done
 
  done
Line 65: Line 46:  
And script will run in the background.
 
And script will run in the background.
   −
With this script we will be able to get routers local time and couple 3G signal values each 5 seconds.
+
With this script we will be able to get routers local time and couple GSM values each 5 seconds.
 
Data stored in <b>regfile (cat /tmp/regfile)</b> looks like this:
 
Data stored in <b>regfile (cat /tmp/regfile)</b> looks like this:
  

Navigation menu