Specifications

File: /home/steve/Desktop/readme.txt Page 3 of 4
| FORMAT-NAME-2 TEST_TBN |
| FORMAT-RATE-2 117440512 |
| FORMAT-SPEC-2 K100D100K100D724 |
| FORMAT-PAYLOAD-2 1024 |
| |
\----------------------------------------------------------------------------------------/
Host Script
===========
The DROS executable is launched from within a simple bash shell script which facilitates
the SHT and INI commands. Without this script, those commands will not function as expected.
The script should be launched as a startup task, with root permissions.
The script is as follows:
/----------------------------------------------------------------------------------------\
| |
| #!/bin/bash |
| CF=/LWA/config/LAUNCHOPTIONS |
| while [ 1 ] |
| do |
| OPTIONS=$(cat $CF) |
| cd /LWA; /LWA/bin/WAVE_Y $OPTIONS |
| RESULT=$? |
| let "FFD = ($RESULT & 0x01) == 0x01" |
| let "FFC = ($RESULT & 0x02) == 0x02" |
| let "FFS = ($RESULT & 0x04) == 0x04" |
| let "FFL = ($RESULT & 0x08) == 0x08" |
| let "SHT = ($RESULT & 0x10) == 0x10" |
| let "RST = ($RESULT & 0x20) == 0x20" |
| |
| echo "" > $CF |
| if [ $FFD = 1 ]; then echo " -flushData" >> $CF; fi |
| if [ $FFC = 1 ]; then echo " -flushConfig" >> $CF; fi |
| if [ $FFS = 1 ]; then echo " -flushSchedule" >> $CF; fi |
| if [ $FFL = 1 ]; then echo " -flushLog" >> $CF; fi |
| if [ $SHT = 1 ]; then |
| if [ $RST = 1 ]; then |
| shutdown -r 0; |
| else |
| shutdown -h 0; |
| fi |
| fi |
| done |
| |
\----------------------------------------------------------------------------------------/
Build instructions
==================
The DROS executable may be built by untarring, entering the Release folder, and issuing make:
tar -xvf ./precdr.tar.gz
cd WAVE_Y/Release/
touch ../*
make
The DROS executable may be also be built by untarring, importing the project into Eclipse (Ganymede),
and choosing "Build Project" from eclipse's menu system.
File Inventory
==============
readme.txt This file.
.project Eclipse-specific project settings file
.cproject Eclipse-specific project settings file
/Release/makefile makefile
/Release/objects.mk file included by makefile during make
/Release/sources.mk file included by makefile during make
/Release/subdir.mk file included by makefile during make