Return codes
The various scripts that form the WildlifeSystems ecosystem use a standard set of return codes.
00-09 Script functionality
0 |
OK |
Terminated normally. No error. |
1 |
Already running |
The script determined it was already running and terminated. |
2 |
No arguments |
The script requires arguments but none given. Will give help text. |
10-19 Parameter problems
10 |
Invalid argument |
One or more of the arguments to the script was invalid. |
11 |
Incorrect filename pattern |
A standard filename pattern was expected. Allowed values are ‘timestamp’. |
20-29 Sensor problems
20 |
Unknown device |
This device is not supported, or software is not installed. |
21 |
Unknown sensor |
This sensor is not known on this device. |
30-39 Sound device problems
30 |
Unsupported device |
The specified device is unsupported. |
31 |
Unsupported feature |
This feature is not present on the sound device. |
32 |
Unknown feature |
The feature requested is unknown. |
40-49 Image device problems
40 |
Unsupported device |
The specified device is unsupported. |
41 |
Unsupported feature |
This feature is not present on the sound device. |
42 |
Unknown feature |
The feature requested is unknown. |
50-59 Power management problems
50 |
Disallowed value (should be on or off) |
The specified device is unsupported. |
51 |
Disallowed value (should be on, off or default) |
This feature is not present on the sound device. |
60-69 Special meanings
60 |
Identify as a sensor device script |
Returned by sensor device script in response to first parameter identify . |