| Michael Piepers homepage | |||||
| BeOS Programs | |||||
| PalmBeach | |||||
| PSION Link Protocol description | |||||
| RFSV Protocol description | |||||
The command PATHTEST used over to test whether a path is correct and can be used. Whereby me however the difference to the command PARSE is not quite clear.
It is to be noted that; all values, which are more greater than 8 bits in reverse order will transfer. The LOW byte sent as the first over the line and only then follows the HIGH byte!
The instruction is PATHTEST as a consequence built into the PLP:
| Header | PLP | RFSV PATHTEST | Footer | CRC | ||
|---|---|---|---|---|---|---|
| 16 10 02 | 32 03 02 01 | Command 22 00 |
Size 11 00 |
File name "REM::\M:\AGN\AGENDA.AGN" |
10 03 | 12 34 |
A valid response takes place with the command RESPONSE and returns the delivery an error code. If 00 00 is supplied, then the path is correct and can be used. A predicate about whether the path existed or not, not returned the delivery of this command.
| Header | PLP | RFSV RESPONSE | Footer | CRC | ||
|---|---|---|---|---|---|---|
| 16 10 02 | 33 02 03 01 | Command 2a 00 |
Size 02 00 |
Result 00 00 |
10 03 | 12 34 |
| bold | Values represent fixed of values, which are used accurately in such a way! |
| italic | Values represent examples, which have a different meaning on the basis the instruction. |
The command FOPEN consists of 3 information units. These have the following meanings:
| Length in byte | possible values | Meaning | |
|---|---|---|---|
| Command | 2 byte | 00 22 (fixed) | The command identifier has always the same value! |
| Size | 2 byte | variable | Since the path name with is transmitted, the value of the length of the path name, needed here, depends! The final 0-Bytes is to be considered with the length |
| Path name | 1 byte or more | 0-terminated string | The path name is to be transmitted, which is to be checked. |
The command PATHTEST is answered with RESPONSE. This returns the delivery an error code as result.
| Length in byte | possible values | Meaning | ||||
|---|---|---|---|---|---|---|
| Command | 2 byte | 00 2a (fixed) | The command identifier has always the same value! | |||
| Size | 2 byte | 00 02 (fixed) | Always 2 additional byte are supplied! | |||
| Result | 2 byte | variable | The result can obtain the following values:
|
| Michael Piepers homepage | |||||
| BeOS Programs | |||||
| PalmBeach | |||||
| PSION Link Protocol description | |||||
| RFSV Protocol description | |||||