Using the Command Line Options

This program can utilize command line arguments (in a shortcut) to automate retrieval of data. Further, you can set up automatic tasks on your computer to execute this shortcut at specific times if desired.

It should go without saying that this would work best (especially for multiple users) if you have your FlashAir configured for STA (Station) mode. Station Mode is by far the most user-friendly option between Station Mode and AP (Access Point) Mode. Unfortunately, AP Mode is the default for FlashAir cards.

Command line arguments:

· user
Name of the user to process. If the “user” argument is not set, then the program will run in normal mode.

· exit (OPTIONAL)
Choose whether or not to automatically exit the program when the user’s data has finished processing. If omitted, it is considered a no.

· startapp (OPTIONAL)
Choose whether or not to automatically start the sleep tracking program when the user’s data has finished processing. If omitted, it is considered a no.

· shimport (OPTIONAL)
If you use SleepyHead and “startapp” is enabled then this will also have SleepyHead automatically import the latest data. If omitted, it is considered a no. If “startapp” is not set or is set to no then shimport is disabled regardless of command line setting.

· log (OPTIONAL)
If enabled then a log file will be written for troubleshooting purposes. To prevent the file from growing too large, the log will be cleared each time the app is run. If omitted, it is considered a no.

Example command line arguments:

C:\Users\Kevin\Desktop\FlashPAP\FlashPAP.jar user=Kevin exit=yes startapp=yes shimport=yes
C:\Users\Kevin\Desktop\FlashPAP\FlashPAP.jar user=Kevin exit=yes
C:\Users\Kevin\Desktop\FlashPAP\FlashPAP.jar user=Kevin startapp=yes
C:\Users\Kevin\Desktop\FlashPAP\FlashPAP.jar user=Kevin
C:\Users\Kevin\Desktop\FlashPAP\FlashPAP.jar user=Kevin log=yes

Category: FlashPAP
Did you find this FAQ helpful?
Thumbs Up Icon 0
Thumbs Down Icon 0

Leave a Comment

Copying content from this page is strictly forbidden without explicit consent from the site owner