Handling Command Line Arguments At Boot Time; About If5 Edgeware - Intermec IF5 User Manual

Fixed reader
Hide thumbs Also See for IF5:
Table of Contents

Advertisement

Handling Command Line Arguments at Boot Time

About IF5 Edgeware

IF5 Fixed Reader User's Manual
Chapter 3 — Developing and Using RFID Applications
4 Open an FTP connection to the IF5. When you connect to
the IF5 via FTP, the /home/developer/ directory is the default
location. For help, see
Export Files" on page 108.
5 Create a directory named "startup".
Note: If your IF5 has the Compact Flash option, you can also
create the startup directory in the /cf/ directory.
6 Copy your executables or scripts via FTP to the startup
directory.
7 (Optional) Disable FTP access to the IF5. FTP access to the
IF5 is not required to run your software at boot time. For help
with disabling FTP access, see
Access" on page 44.
The IF5 is now ready to run the executable or script at boot time.
If your application does not require command line arguments,
you can simply place the application into the startup directory as
described in the previous section. Make sure your application is
executable (chmod +x file).
If command line arguments or an exact startup order are
necessary, use a shell script as shown in this example:
#!/bin/sh
/home/developer/other_apps/start_env
/home/developer/my_apps/testapp -D
The IF5 comes with two types of installed edgeware:
• The Developer Tools, which include the Diagnostics tool and
the JavaScript tool. The tools are enabled by default.
Use the Diagnostics Tool to test and fine-tune your RFID
systems and settings. For more information, see
Diagnostics Tool" on page 84.
Use the JavaScript Tool to edit and test JavaScript RFID
applications. For more information, see
Tool" on page 90.
"Using the FTP Server to Import and
"Controlling Developer
"Using the JavaScript
"Using the
71

Advertisement

Table of Contents
loading

Table of Contents