Changes

no edit summary
Line 34: Line 34:  
  sleep 5
 
  sleep 5
 
  done
 
  done
  −
Now we can try and create a simple <b>script</b>. With following <b>script</b> we will be getting routers <b>date</b> and couple of mobile related data.
  −
      
After saving change execution rights with this command:
 
After saving change execution rights with this command:
Line 55: Line 52:  
  27
 
  27
   −
In HEX #command to view data via SSH: hexdump -v /tmp/regfile
+
To view collected data in HEX execute this command via SSH:  
 +
 
 +
$hexdump -v /tmp/regfile
    
  0000000 5765 6420 4a75 6e20 3137 2031 353a 3132
 
  0000000 5765 6420 4a75 6e20 3137 2031 353a 3132
Line 61: Line 60:  
  0000020 380a 3137 0a00
 
  0000020 380a 3137 0a00
 
  0000025
 
  0000025
 +
 
==Reading Created Custom Modbus Registers==
 
==Reading Created Custom Modbus Registers==
  

Navigation menu