Difference between revisions of "WorkMan HVS - IP Protocol"

From WorkManSoft Wiki
Jump to navigationJump to search
Line 15: Line 15:
 
|-
 
|-
 
| style="background-color:#ffffcc;" | '''Direction'''||HVS to HS
 
| style="background-color:#ffffcc;" | '''Direction'''||HVS to HS
 +
|-
 +
| style="background-color:#ffffcc;" | '''Mandatory'''||No, only HVS in servermode sends this.
 
|-
 
|-
 
| style="background-color:#ffffcc;" | '''Structure'''||WELCOME;
 
| style="background-color:#ffffcc;" | '''Structure'''||WELCOME;
Line 23: Line 25:
 
|-
 
|-
 
| style="background-color:#ffffcc;" | '''Example response'''||
 
| style="background-color:#ffffcc;" | '''Example response'''||
 +
|-
 +
| style="background-color:#ffffcc;" | '''About'''||Sends a welcome from the HVS server to connecting client.
 +
|}
 +
 +
=== Kepp-alive ===
 +
 +
{| class="wikitable" {{table }}
 +
| style="background-color:#ffffcc;" |'''Command'''
 +
| |ALIVE
 +
|-
 +
| style="background-color:#ffffcc;" | '''Direction'''||HVS to HS
 +
|-
 +
| style="background-color:#ffffcc;" | '''Mandatory'''||No, only HVS in clientmode sends this.
 +
|-
 +
| style="background-color:#ffffcc;" | '''Structure'''||ALIVE;<sequencenumber>;
 +
|-
 +
| style="background-color:#ffffcc;" | '''Response'''||OK;ALIVE;<sequencenumber received>
 +
|-
 +
| style="background-color:#ffffcc;" | '''Example sender'''||ALIVE;1
 +
|-
 +
| style="background-color:#ffffcc;" | '''Example response'''||OK;ALIVE;1
 
|-
 
|-
 
| style="background-color:#ffffcc;" | '''About'''||Sends a welcome from the HVS server to connecting client.
 
| style="background-color:#ffffcc;" | '''About'''||Sends a welcome from the HVS server to connecting client.

Revision as of 12:37, 3 June 2012

About

This protocol is our own protocol and can be used if no other protocol is in place.

The protocol works over TCP/IP and is linebased with CR+LF (#13#10) as a end of command terminator. The second parameter is always a sequencenumber. WorkMan HVS can work both as a client and as a server.

List over commands

Welcome

Command WELCOME
Direction HVS to HS
Mandatory No, only HVS in servermode sends this.
Structure WELCOME;
Response none
Example sender WELCOME;1
Example response
About Sends a welcome from the HVS server to connecting client.

Kepp-alive

Command ALIVE
Direction HVS to HS
Mandatory No, only HVS in clientmode sends this.
Structure ALIVE;<sequencenumber>;
Response OK;ALIVE;<sequencenumber received>
Example sender ALIVE;1
Example response OK;ALIVE;1
About Sends a welcome from the HVS server to connecting client.