Command 0102 (Get Allowed Time Types)

Start  Zurück  Weiter

Get a list of allowed time types from the server.

Company and employee number are known from previous command 0101

 

2 data fields separated by TAB (ASCII 9) are send to the server

 

1) Company number

2) Employee number

 

Compay number is '0', employee number is "00002"

 

Client request:

+-------+-+-----------+-------------+

|0 1 0 2|0|0 0 0 0 1 8|0 ¤ 2|0 1 0 2|

+-------+-+-----------+-------------+

 

Server answer:

A list (separated with TAB (ASCII 9)) of all allowed time types with number and text

The number is always 4 bytes (e.g. 0001)

 

3 allowed time types "1 = On Board,2 = Leaving Home,3=Start Break"

+-------+-+-----------+-----------------------------------------------------------------------------------------+-------+

|0 1 0 2|1|0 0 0 0 6 1|0 0 0 1 O n   B o a r d ¤ 0 0 0 2 L e a v i n g   H o m e ¤ 0 0 0 3 S t a r t   B r e a k|0 1 0 2|

+-------+-+-----------+-----------------------------------------------------------------------------------------+-------+

 

 

If  employee is unknown or isn't allowed to punch (retired, on vacancy etc.) the server returns an empty answer.

+-------+-+-----------+-------+

|0 1 0 1|1|0 0 0 0 1 5|0 1 0 1|

+-------+-+-----------+-------+