Back to main index |
A request is a textfile (ASCII) with the file extension ".in". The application reads and parses the .in file when it's placed in the directory "\My Documents\tb-navi.remote\" on the mobile device or “C:\Document and Settings\All Users\Application Data\map&guide navigator\remote\” on Windows XP or “C:\ProgramData\map&guide navigator\remote\” on a Windows 7 PC. The result of the request (return-values, errors, ...) is written after execution in a text file with the same name and the extension ".out" in the same directory as the .in file. .in file.
Every .in file and .out file contains two types of elements:
Attributes in [Head] section:
Blocking | Description |
---|---|
0 | Other requests will be executed immediately |
1 | Other requests will be executed after this request finished successfully |
Mode | Description |
---|---|
0 | Try once: Execution of this request is tried once, the request will be deleted afterwards |
1 | Try until success: The request is executed until it finishes successfully and will then be deleted |
2 | Loop: The request is executed in a loop and will not be deleted |
An .out file is generated after the execution of a request. The .out file also contains a [Head] section with the following attributes:
Attributes in [Head] section:
Result | Description |
---|---|
-6 | Request wasn't executed, blocking not allowed for this type of request |
-5 | Request wasn't executed, mode not allowed for this type of request |
-4 | Request wasn't executed, required parameter(s) missing |
-3 | Request returned an error during execution and was deleted |
-2 | Request returned an error during execution and was requeued |
-1 | Request returned an error during execution and blocks other requests |
0 | Request was executed and returned an undefined result |
1 | Request was executed successfully and will stay in request queue |
2 | Request was executed successfully and was deleted |
Some request types need additional attributes for execution. These attributes are defined in the .in file in request-specific sections. The generated .out file always contains a request-specific section with further information about the results of the execution of the request.
Back to main index | Top of page |