If you're curious how much data is used to transfer user information, make a calculation of your basic user information and generated logs calculate how often it is transferred between the device and server. 


Event Log

48 Bytes (excluding image log)


Packet Header

36 Bytes (Used in user registration, KeepAlive and all other packets)


Keepalive Packet

KeepAlive packet is sent to the server every 30 seconds if there is no packet received from the server.
* Note: if there is no response regarding this Keepalive packet from the server for 10 seconds, the device considers the connection is lost and disconnects the TCP socket connection. Once the device is disconnected, it will attempt to reconnect again based on its thread schedule, not based on a specific delay of time. 



User Information 

Basic User Information: 60 Bytes (ID, valid period, ...)

Access Group Information : 4 * n Bytes (numOfGroups = max 16)

User Name: 192 Bytes

User Photo : 16 KBytes

User Personal Message : 128 Bytes

PIN : 32 Bytes

Job Code : 836 Bytes

Card Information : 34 * n Bytes (numOfCards = max 8)

Fingerprint Template: 772 * n Bytes (numOfFingers = max 10)

Face Template : 106632 * n Bytes (numOfFaces = max 5) 


Approx total with all items above with 1 face, 2 fingerprints, 1 card, 4 access groups: 

60 + (4 x 4) + 192 + 16384 + 128 + 32 + 836 + 34 + (772 x 2) + 106632 = 125858 Byte or 122.9 KB


User information is transferred based on what the device supports. 

If the maximum size for a single packet (64bytes) is exceeded, the packet it split into multiple packets and reuses the header information.

When Job Code or Image Log is Requested from the Server

Log Header: 12 Bytes 

Expanded Log Data: 8 + 12 Bytes

user ID Log Data: 8+32 Bytes

UID Log Data: 8+4 Bytes

IO Device Log Data: 8+1 Bytes
Job Code Log Data: 8+4 Bytes 

Image Log Data: 8 + 16K Bytes


Approx total with all items above: 

12 + 20 + 40 + 12 + 9 + 12 + 16392 = 16497 Byte or 16.1KB


This information will be added to the log information. If the maximum size for a single packet (64bytes) is exceeded, the packet it split into multiple packets.


Sample Calculation

Approximately 3000 logs occur per day and 300 image logs are created. The admin checks all image logs (server makes request for them). 

Each user users have at least 1 face template, 2 fingerprints, 1 card, 4 access groups and 200 users were transferred this day. 


The data use of this day would be approximately

3000 log x 48 bytes = 144000 bytes  

200 users x 125858 bytes = 25171600 bytes 

300 x 16497 bytes =  4949100 bytes 


Total =   30,264,700 bytes (excluding packet headers and keepalive packets)  = 30.2 MB used