ASD-4.3-gen4/SanityCheckCAN

From VentureResearchWiki
Jump to navigation Jump to search

Sanity Check (with CAN)[edit | edit source]

Calibrate Touchscreen[edit | edit source]

DISPLAY=:0 xinput_calibrator_once.sh

Recalibrate Screen[edit | edit source]

1. Delete Calibration Data

rm /etc/pointercal.xinput

2. Reboot Unit

3. Calibrate Touchscreen

DISPLAY=:0 xinput_calibrator_once.sh

Hardware Functionality Test[edit | edit source]

1. Log into API

nc localhost 2020

2. Lock Door

0 set extled aux1 on

3. Unlock Door

0 set extled aux1 off

4. Check MUX Settings

0 get mux
  • 1.7 Unit: 1 2 3 4
  • 2.5 Unit: 1 2 3 4 8 12

5. Door Temperature Sensor

0 get temp2

6. Read Tags

0 rfid auto

7. Stop Reading Tags

0 rfid stop

8. Exit

exit

Modem Test[edit | edit source]

1. Check if Modem is online

ifconfig ppp0

2. Ping Google.com

ping -c3 google.com

3. External Ip Address

curl http://jsonip.io

VR WeatherBoard Test[edit | edit source]

1. Log into API

nc localhost 2020

2. Verify VR Serial Number (match with VRSN Label on VR WeatherBoard)

1 get vrserial

3. Hardware Type

1 get hwtype

4. Get Temp1

1 get temp1

5. Get Temp2

1 get temp2

6. Humidity

1 get humidity

7. Exit

exit