HelmersTesting

From VentureResearchWiki
Jump to navigation Jump to search

Helmer Testing[edit | edit source]

Beaglebone[edit | edit source]

Setup IP Address (Only setup static address when a Router is present)

  • IP Address should be 10.10.10.2
  • See [M:\rfid_appliance\VRReader\docs\Changing the Linux Controller Network Settings - Using Network Manager.pdf]
nano /etc/NetworkManager/system-connections/Ethernet
[ipv4]
method=manual
dns=10.10.10.1;
dns-search=search;
address1=10.10.10.2/24,10.10.10.1

Verify RFID Service Build version to be r1861 (or version 5.1.9)

nc localhost 2020
0 get build
  • If the service has an older revision:
opkg update
opkg remove vrfrv2-linux-event-beta && opkg remove vrfrv2-linux-event-can-cont
opkg install vrfrv2-linux-event-5.1
  • Load config file (new way):
opkg update
opkg install vrfrv2-linux-config
/etc/init.d/rfid restart
  • ---use the new way, if possible--- Load config file (old way):
/etc/init.d/openvpn start
wget http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/testing/vr-bb-asdhelmer/vrfrv2-linux.json -O /home/user/vrfrv2-linux.json

Setup VRProto

set vrproto enabled
rfid tagtable enabled
0 set tagmetadata epc readcount
0 commit
get inventory

Setup Touch Screen Controller[edit | edit source]

Setup IP Address

  • IP Address should be 10.10.10.3
  • See [M:\rfid_appliance\VRReader\docs\Changing the Linux Controller Network Settings - Using Network Manager.pdf]
nano /etc/NetworkManager/system-connections/Ethernet
[ipv4]
method=manual
dns=10.10.10.1;
dns-search=search;
address1=10.10.10.3/24,10.10.10.1

Test touch screen accuracy

  • Touch 4 corners of the screen to verify accuracy

Setup Router[edit | edit source]

Upgrade firmware

  • See [M:\tools\TrendNet\HelmerBackupTW100-S4W1CA\Firmware Upgrade Procedure.pdf]

Load configuration file

  • Load this file: [M:\tools\TrendNet\HelmerBackupTW100-S4W1CA\0512-cdb.bin]

Verify Settings

  • IP Address should be 10.10.10.1

Final Test[edit | edit source]

Test Touch Screen Controller[edit | edit source]

First hookup serial cable from laptop to the Helmer screen’s console port. Then test the ip configuration:

  • ifconfig eth0

Use that connection to ssh into the beaglebone. Then test the ip configuration:

ssh 10.10.10.2 -p 2222 -l root
ifconfig eth0

Test Beaglebone[edit | edit source]

Use the USB console port from the beaglebone and connect it to the laptop

ifconfig eth0

Test fridge serial port[edit | edit source]

  • Get temperature (--optional DO NOT DO THIS STEP, hangs)
stty -F /dev/ttyO2 raw speed 9600 -crtscts cs8 -parenb -cstopb; echo $?
cat /dev/ttyO2 | od -x
echo -e "\x02\x01\xA0\x00\x00\xFF\xFF\x60\xFD\x03" > /dev/ttyO2 –temp
  • Turn lights on/off
- Lights on
echo -e "\x00\x02\x0A\xA0\x01\x00\xFE\xFF\x57\xFD\x01\x03" > /dev/ttyO2
- Lights off
echo -e "\x00\x02\x0A\xA0\x01\x00\xFF\xFF\x56\xFD\x00\x03" > /dev/ttyO2

Verify door sensor & door lock[edit | edit source]

nc localhost 2020
  • Test Door Switch
    • look for –IO,0,1,0 & –IO,0,1,1
  • Test Door Lock
    • Lock
0 set extled aux1 on
    • Unlock
0 set extled aux1 off


  • Test Annunciator
    • On
0 set extled aux2 on
    • Off
0 set extled aux2 off


Full inventory test[edit | edit source]

  • Load 7 packs of products pre-marked Shelf 1-7 in their respective positions
nc localhost 2020
set sessionval 2
set target a
rfid auto
  • wait for 10 seconds
set target b
  • Wait for another 10 seconds then send the following command and look for the count to be 392 (for 7 shelves) and 336 (for 6 shelves)
tn
rfid stop
set target a

Record Information[edit | edit source]

record Kernel Version

uname -r

record Build Version

nc localhost 2020
  • if beaglebone
0 get build
  • if shelf, log on to beaglebone and send the following
get build
  • if touchscreen
get build

record Hostname

cat /etc/hostname

record MAC Address

ifconfig eth0 | grep HWaddr | awk '{print $5}'

Enable OpenVPN[edit | edit source]

/etc/init.d/openvpn start

verify VPN connection

ifconfig tun0
## ping vpn server IP
ping 172.19.0.1