Documentation sections
EDVADO / Developers
Server_com
Techninė dokumentacija pateikiama anglų kalba (English original). Neišsamūs aprašymai ir prieštaringi pavyzdžiai pažymėti patikslinti.
| Byte offset (source) | Bytes | Field / definition | Example at field start | Source |
|---|---|---|---|---|
| 0Server_com!B4 | 1Server_com!N7 | start of the answer / command | 7B | Server_com!B7 |
| 1Server_com!C4 | 1Server_com!N9 | Number of bytes (N) to answer (the size of the field "command data") | 05 | Server_com!C9 |
| 2Server_com!D4 | 1Server_com!N11 | parcel number (0x00 - HEADER, 0x01-0xFB - PACKAGE, 0xFE - ERROR) | C7 | Server_com!D11 |
| 3Server_com!E4 | 1Server_com!N13 | CS - checksum it is sum of all bytes the field of command | 01 | Server_com!E13 |
| NServer_com!F4 | NServer_com!N15 | These commands | 02 | Server_com!F15 |
| 4 + NServer_com!J4 | 1Server_com!N17 | end response / command | 7D | Server_com!J17 |
Complete source example / byte row
| Offset | Literal value | Source |
|---|---|---|
| 0 | 7B | Server_com!B5 |
| 1 | 05 | Server_com!C5 |
| 2 | C7 | Server_com!D5 |
| 3 | 01 | Server_com!E5 |
| N | 02 | Server_com!F5 |
| — | 03 | Server_com!G5 |
| — | 04 | Server_com!H5 |
| — | 05 | Server_com!I5 |
| 4 + N | 7D | Server_com!J5 |
Total size in source: 5 + N · Server_com!N5
Answers / commands from the server to the device may be either synchronous, ie sent as a response when making PACKAGE from the device, because and asynchronous commands, ie sent at any time as long as there TCP session Server_com!B21
Responses and FILE transfer
| Source | Definition / value |
|---|---|
| Server_com!A25 | server responses |
| Server_com!B25 | 7B |
| Server_com!C25 | 00 |
| Server_com!D25 | 00 |
| Server_com!E25 | 7D |
| Server_com!I25 | confirmation HEADER1, 3 (7B 00 00 7D)
not recommendation for new integration |
| Server_com!B27 | 7B |
| Server_com!C27 | 04 |
| Server_com!D27 | 00 |
| Server_com!E27 | CS |
| Server_com!F27 | UNIXTIME |
| Server_com!G27 | 7D |
| Server_com!I27 | confirmation HEADER2, 3
(7B 04 00 A0 DE 95 DB 52 7D) 0x52DB95DE = Sun, 19 Jan 2014 09:07:42 GMT |
| Server_com!Q27 | 7B 04 00 CA 5E 9F 6F 5E 7D |
| Server_com!B29 | 7B |
| Server_com!C29 | 00 |
| Server_com!D29 | 01-FB, FE |
| Server_com!E29 | 7D |
| Server_com!I29 | confirmation PACKAGE (0xFE - if the package has not been tested) |
| Server_com!B31 | 7B |
| Server_com!C31 | N |
| Server_com!D31 | 01-FB, FE |
| Server_com!E31 | CS |
| Server_com!G31 | 7D |
| Server_com!I31 | N! = 0 is a confirmation PACKAGE (0xFE - if the package has not been tested) + command |
| Server_com!Q31 | 7B 02 FF 09 01 01 7D |
| Server_com!R31 | 0101 |
| Server_com!B33 | 7B |
| Server_com!C33 | N |
| Server_com!D33 | FF |
| Server_com!E33 | CS |
| Server_com!G33 | 7D |
| Server_com!I33 | N! = 0 is the asynchronous command |
| Server_com!B35 | 7B |
| Server_com!C35 | N |
| Server_com!D35 | FC |
| Server_com!E35 | CS |
| Server_com!F35 | TEXT |
| Server_com!G35 | 7D |
| Server_com!I35 | transmission of text information (0xFC - indicates that there is text), the text is transmitted encoded WIN-1251 |
| Server_com!Q35 | [CREDENTIAL-BEARING EXAMPLE OMITTED] |
| Server_com!R35 | [CREDENTIAL-BEARING EXAMPLE OMITTED] |
| Server_com!B37 | 7B |
| Server_com!C37 | N |
| Server_com!D37 | FD |
| Server_com!E37 | CS |
| Server_com!F37 | OFFSET |
| Server_com!G37 | FILE DATA |
| Server_com!H37 | 7D |
| Server_com!I37 | file data |
| Server_com!K37 | If the offset == 0xFFFFFFFF, then the field FILE DATA contains the attributes of the file size, name and extension (type). Transfer of each new file starts at offset 0xFFFFFFFF |
| Server_com!K38 | If the offset != 0xFFFFFFFF, the FILE DATA field contains data to be written to the file at offset obtained in this variable |
| Server_com!K39 | FILE DATA field structure of the transmission attributes of a file: |
| Server_com!L41 | 0.0 |
| Server_com!M41 | 7A |
| Server_com!N41 | 0.0 |
| Server_com!O41 | 0.0 |
| Server_com!P41 | 04 |
| Server_com!Q41 | 74 |
| Server_com!R41 | 65 |
| Server_com!S41 | 73 |
| Server_com!T41 | 74 |
| Server_com!U41 | 03 |
| Server_com!V41 | 64 |
| Server_com!W41 | 64 |
| Server_com!X41 | 64 |
| Server_com!L43 | Size of file in bytes |
| Server_com!P44 | The length of the file name |
| Server_com!Q45 | The file name in ASCII |
| Server_com!U46 | The length of the file extension |
| Server_com!V47 | The file extension in ASCII |
Commands
No matches
| Opcode / command | Arguments / content | Definition | Notes / source fields | Source |
|---|---|---|---|---|
01 | 00 | switch diagnostic mode | without confirmation | Server_com!F48 |
01 | 01 | transmit a packet with coordinates | without confirmation All source fieldsServer_com!L50 transmit a packet with coordinates Server_com!Y50 without confirmation | Server_com!F50 |
01 | 04 | update the version of the software (even if forced update version of the same) | without confirmation All source fieldsServer_com!L52 update the version of the software (even if forced update version of the same) Server_com!Y52 without confirmation | Server_com!F52 |
01 | 05 | update the version of the software (provided that the designated version differs from current) | without confirmation All source fieldsServer_com!L54 update the version of the software (provided that the designated version differs from current) Server_com!Y54 without confirmation | Server_com!F54 |
01 | 06 | update the version of the software from the external memory deletion (provided that the designated version differs from current) | without confirmation All source fieldsServer_com!L56 update the version of the software from the external memory deletion (provided that the designated version differs from current) Server_com!Y56 without confirmation | Server_com!F56 |
01 | 07 | reset devices | without confirmation | Server_com!F58 |
01 | 08 | download settings from web-configurator | without confirmation All source fieldsServer_com!L60 download settings from web-configurator Server_com!Y60 without confirmation | Server_com!F60 |
01 | 09 | send settings to web-configurator (sync) | without confirmation All source fieldsServer_com!L62 send settings to web-configurator (sync) Server_com!Y62 without confirmation | Server_com!F62 |
08 | X Y | X-output number mb.: X = 0 II 1 || 2, Y-output state, mb.: Y = 0 II 1 (0 - off, 1 - on) | confirmation in a plain package, which has TAG_9 All source fieldsServer_com!L64 X-output number mb.: X = 0 II 1 || 2, Y-output state, mb.: Y = 0 II 1 (0 - off, 1 - on) Server_com!Y64 confirmation in a plain package, which has TAG_9 | Server_com!F64 |
09 | X | U0 / OUT_0: X = 0 II 1, 0 - disable 1 - enable (brown) | confirmation in a plain package, which has TAG_9 All source fieldsServer_com!L66 U0 / OUT_0: X = 0 II 1, 0 - disable 1 - enable (brown) Server_com!Y66 confirmation in a plain package, which has TAG_9 | Server_com!F66 |
0A | X | U1 / OUT_1: X = 0 II 1, 0 - disable 1 - enable (yellow) | confirmation in a plain package, which has TAG_9 All source fieldsServer_com!L68 U1 / OUT_1: X = 0 II 1, 0 - disable 1 - enable (yellow) Server_com!Y68 confirmation in a plain package, which has TAG_9 | Server_com!F68 |
0B | X | U2 / OUT_2: X = 0 II 1, 0 - disable 1 - enable (blue wire) | confirmation in a plain package, which has TAG_9 All source fieldsServer_com!L70 U2 / OUT_2: X = 0 II 1, 0 - disable 1 - enable (blue wire) Server_com!Q70 confirmation in a plain package, which has TAG_9 | Server_com!F70 |
0C | X Y | confirmation TAG_50 All source fieldsServer_com!Q72 confirmation TAG_50 | Server_com!F72 | |
0D | X | mb .: X = 0 II 1 (0 - off, 1 - on) | Server_com!F74 | |
18 | X Y Z | X-output number mb.: X = 0 II 1 || 2, Y-number of minutes Y = 0..255, Z-number of seconds Z = 0..59, ie activity time yield = 60 * Y + Z seconds (max = 15359 seconds or 4 hours and about 16 m. | confirmation in a plain package, which has TAG_9 All source fieldsServer_com!L76 X-output number mb.: X = 0 II 1 || 2, Y-number of minutes Y = 0..255, Z-number of seconds Z = 0..59, ie activity time yield = 60 * Y + Z seconds (max = 15359 seconds or 4 hours and about 16 m. Server_com!Q76 confirmation in a plain package, which has TAG_9 | Server_com!F76 |
20 | X | Request-file ddd, X = 0 || 1: 0 in the card slot of the driver, one card slot mate | All source fieldsServer_com!L78 Request-file ddd, X = 0 || 1: 0 in the card slot of the driver, one card slot mate | Server_com!F78 |
21 | X Y | Take a photo X = 1..4 - the number of shots, Y = 0..2 - Resolution: 0-160x120, 1-320x240, 2-640x480 | All source fieldsServer_com!L80 Take a photo X = 1..4 - the number of shots, Y = 0..2 - Resolution: 0-160x120, 1-320x240, 2-640x480 | Server_com!F80 |
30 | X | Command to be translated to idatalink. X - command code (look for idatalink protocol) | All source fieldsServer_com!L82 Command to be translated to idatalink. X - command code (look for idatalink protocol) | Server_com!F82 |
31 | X Y Z | Command to Webasto. X - command, YZ - args | All source fieldsServer_com!L84 Command to Webasto. X - command, YZ - args | Server_com!F84 |
32 | X | Command to be translated to Tula's autostart system. X - command code (look for Tula protocol) | All source fieldsServer_com!L86 Command to be translated to Tula's autostart system. X - command code (look for Tula protocol) | Server_com!F86 |
33 | X Y | Command to scooter board | All source fieldsServer_com!L88 Command to scooter board | Server_com!F88 |
FF | AA BB CC DD $$$ | Send the command with token to be confirmed by device (not used in commands like fc).
0xDDCCBBAA - token; $$$ - command. Confirm will be sent at packet 9 | All source fieldsServer_com!K90 $$$ Server_com!L90 Send the command with token to be confirmed by device (not used in commands like fc). 0xDDCCBBAA - token; $$$ - command. Confirm will be sent at packet 9 | Server_com!F90 |