ReleaseRFIDServiceVRPackage

From VentureResearchWiki
Jump to navigation Jump to search

Create new VRPKG for VRPROTO delivery[edit | edit source]

Check for the latest RFIDService version and build, go to this URL

https://support.ventureresearch.com/Releases/VRReader_Releases.html

For example, version-build = 5.1.9-r1861

Connect to a dev machine to access the linux source

ssh dev40-ubuntu-vm
cd ~/svn/vr/linux/src/vrpackager

Download RFIDService IPK

wget http://embedded.ventureresearch.com/yocto/danny/ipk/armv7a-vfp-neon/vrfrv2-linux-event-5.1_[version-build]_armv7a-vfp-neon.ipk .

Create VRPackage file

./create-vrfrv2-linux-package.sh vrfrv2-linux-event-5.1-db_[version-build]_armv7a-vfp-neon.ipk

Copy VRPackage file to Venture downloads directory

scp vrfrv2-linux-event-[version-build].vrpkg.tar.gz venture@vm-linux-prod:~/mnt/fs2_new/downloads/VRReader/packages/

Update a CAN Device over VRPROTO interface[edit | edit source]

Log on to a blue unit or beaglebone and download the new VRPackage for RFID Servce

wget http://www.ventureresearch.com/downloads/VRReader/packages/vrfrv2-linux-event-[versionbuild].vrpkg.tar.gz

Log on to the local RFID Service

nc localhost 2020

Check for the device to be present and record the device id

get inventory

Using the device id, send the following commands to load, get info, and run the VRPackage

1 VRPROTO PKGUPLOAD /home/user/vrfrv2-linux-event-5.1.3r1591.vrpkg.tar.gz
1 VRPROTO PKGRUN /tmp/rfidnCQ2wq 1 install
1 VRPROTO PKGINFO /tmp/rfidnCQ2wq