没有合适的资源?快使用搜索试试~ 我知道了~
中控系列产品的网络通讯协议
3星 · 超过75%的资源 需积分: 47 56 下载量 117 浏览量
2017-07-09
22:04:47
上传
评论 4
收藏 312KB PDF 举报
温馨提示
试读
21页
有了这个,自己写个客户端分分钟,完全不需要中控的sdk包了
资源推荐
资源详情
资源评论
Zksoftware Inc
A series of standalone product
Communication protocol manual
Zksoftware Inc
2006-12-1
- 0 -
Zksoftware Inc
1. the defines of data communication packet header structure 3
the define of command character ..........................................................................................3
2. The description and detailed explanation to the order characters.........................................8
......................................................................................................................8 CMD_EXIT
.................................................................................................8 CMD_ENABLEDEVICE
................................................................................................8 CMD_DISABLEDEVICE
..................................................8 CMD_CAPTUREFINGER\CMD_CAPTUREFINGER
.........................................................................................................9 CMD_TEST_TEMP
....................................................................................................9 CMD_REFRESHDATA
...............................................................................................9 CMD_REFRESHOPTION
..........................................................................................................9 CMD_TESTVOICE
.................................................................................................9 CMD_CHANGE_SPEED
....................................................................................................................9 CMD_AUTH
..................................................................................................9 CMD_PREPARE_DATA
..............................................................................................................10 CMD_DB_RRQ
........................................................................................................10 CMD_USER_WRQ
...............................................................................................10 CMD_USERTEMP_RRQ
..............................................................................................10 CMD_USERTEMP_WRQ
...................................................................................................10 CMD_OPTIONS_RRQ
.................................................................................................10 CMD_OPTIONS_WRQ
....................................................................................................11 CMD_ATTLOG_RRQ
....................................................................................................11 CMD_CLEAR_DATA
...............................................................................................11 CMD_CLEAR_ATTLOG
..................................................................................................11 CMD_DELETE_USER
........................................................................................11 CMD_DELETE_USERTEMP
.................................................................................................11 CMD_CLEAR_ADMIN
.................................................................................................11 CMD_USERGRP_RRQ
................................................................................................11 CMD_USERGRP_WRQ
.....................................................................................................11 CMD_USERTZ_RRQ
...................................................................................................12 CMD_USERTZ_WRQ
.......................................................................................................12 CMD_GRPTZ_RRQ
.................................................................................12 CMD_TZ_RRQ\ CMD_TZ_WRQ
............................................................................12 CMD_ULG_RRQ\CMD_ULG_WRQ
.............................................................................................................12 CMD_UNLOCK
.............................................................................................12 CMD_GET_FREE_SIZES
..............................................................................................12 CMD_ENABLE_CLOCK
...................................................................................................12 CMD_STARTVERIFY
..................................................................................................13 CMD_STARTENROLL
........................................................................................................13 CMD_STATE_RRQ
.......................................................................................................13 CMD_WRITE_LCD
................................................................................................13 CMD_GET_PINWIDTH
..........................................................................................................13 CMD_SMS_WRQ
...........................................................................................................13 CMD_SMS_RRQ
....................................................................................................13 CMD_DELETE_SMS
- 1 -
Zksoftware Inc
- 2 -
.....................................................................................................13 CMD_UDATA_WRQ
...............................................................................................14 CMD_DELETE_UDATA
............................................................................................14 CMD_DOORSTATE_RRQ
................................................................................................14 CMD_WRITE_MIFARE
..........................................................................................................14 CMD_GET_TIME
......................................................................................................14 CMD_REG_EVENT
3. Data structures.......................................................................................................................14
......................................................................................................14 the user data structure
........................................................................16 the data structure of fingerprint template
............................................................................................16 Attendance record structure
..........................................................................................17 short meassage data structure
...................................................................................18 management data record structure
4. Real-time events ........................................................................................................................19
..................................................................................................................19 EF_ATTLOG
........................................................................................................19 EF_ENROLLUSER
....................................................................................................19 EF_ENROLLFINGER
..................................................................................................................19 EF_BUTTON
....................................................................................................................20 EF_VERIFY
......................................................................................................................20 EF_FPFTR
5. Communication Way ................................................................................................................20
.................................................................................................................................20 UDP
.......................................................................................................................20 RS232\485
................................................................................................................................20 other
Zksoftware Inc
1. the defines of data communication packet header
structure
typedef struct _CmdHdr_{
Unsigned short Command, CheckSum, SessionID, ReplyID;
}TCmdHeader, *PCmdHeader;
Explanation:
Command: order word
CheckSum: check sum and (including packet header and data)
SessionID: session number
ReplyID: Reply number:
Data packet structure: packet header + the data want to be transmitted; the machine
response data packet is same with this packet of structures. Also, the order character (2Bytes)
+ the check sum (2Bytes) + the session number (2Bytes) + the response number (2Bytes) +
the data (certain length) compose a packet to Transmit and receive packet are symmetry.
the define of command character
Command Value Describe
CMD_CONNECT 1000 Connections requests
CMD_EXIT 1001 Disconnection requests
CMD_ENABLEDEVICE 1002
Ensure the machine to be at the normal work
condition
CMD_DISABLEDEVICE 1003 Make the machine to be at the shut-down condition,
generally demonstrates ‘in the work ...’on LCD
CMD_RESTART 1004 Restart the machine.
CMD_POWEROFF 1005
Shut-down power source
CMD_SLEEP 1006
Ensure the machine to be at the idle state.
CMD_RESUME 1007
Awakens the sleep machine (temporarily not to
support)
- 3 -
Zksoftware Inc
CMD_CAPTUREFINGER 1009
Captures fingerprints picture
CMD_TEST_TEMP 1011 Test some fingerprint exists or does not
CMD_CAPTUREIMAGE 1012
Capture the entire image
CMD_REFRESHDATA 1013 Refresh the machine interior data
CMD_REFRESHOPTION 1014 Refresh the configuration parameter
CMD_TESTVOICE 1017 Play voice
CMD_GET_VERSION 1100
Obtain the firmware edition
CMD_CHANGE_SPEED 1101
Change transmission speed
CMD_AUTH 1102 Connections authorizations
CMD_PREPARE_DATA 1500 Prepares to transmit the data
CMD_DATA 1501
Transmit a data packet
CMD_FREE_DATA 1502 Clear machines opened buffer
CMD_DB_RRQ 7
Read in some kind of data from the machine
CMD_USER_WRQ 8
Upload the user information (from PC to terminal).
CMD_USERTEMP_RRQ 9
Read some fingerprint template or some kind of
data entirely
CMD_USERTEMP_WRQ 10 Upload some fingerprint template
CMD_OPTIONS_RRQ 11 Read in the machine some configuration parameter
CMD_OPTIONS_WRQ 12
Set machines configuration parameter
CMD_ATTLOG_RRQ 13 Read all attendance record
CMD_CLEAR_DATA 14
Clear data
CMD_CLEAR_ATTLOG 15 Clear attendance records
- 4 -
剩余20页未读,继续阅读
资源评论
- y135860566982019-05-08中控门禁的好像都没有啊
- xxx167892017-11-28还不知道能不能用,下载看看。。。
- wokao2112019-02-26貌似有点老啊。
- 尽在想象2017-08-0706年的,不知道还能不能用,有时间试试
qq_30150085
- 粉丝: 2
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功