Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ademco_hb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
captainwong
ademco_hb
Commits
5049bf89
Commit
5049bf89
authored
Sep 14, 2020
by
captainwong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
72fe145f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
README.md
docs/README.md
+2
-2
No files found.
docs/README.md
View file @
5049bf89
...
...
@@ -48,9 +48,9 @@
*
`data`
格式为
`[]`
(左右中括号,无空格,定长2Byte)或
`[#ademco_id|event gg zone]`
(有空格)。当事件类型为
`NULL/ACK/DUH`
时
`data`
段为
`[]`
;当事件类型为
`ADM-CID/HENG-BO`
时
`data`
段格式为
`[#acct|event gg zone]`
:
*
`#ademco_id`
主机的安定宝ID,以
`#`
开头的4位或6位或8位十六进制数字,我司使用固定6位,如安定宝ID
`16`
编码为6位是
`000010`
,传输为
`#000010`
。
*
`event`
定长4Bytes,事件代码,具体含义见后文。
*
`gg`
定长2 Bytes, 一般为00,当非00时有特殊含义,参考
《安定宝协议扩展》
*
`gg`
定长2 Bytes, 一般为00,当非00时有特殊含义,参考
下方
*4.1 事件报告与远程控制*
*
`zone`
防区号,范围
`0~999`
。
`zone`
为
`0`
表示主机自身事件,如布防、撤防、防拆等。
`1~999`
则为防区号,表示防区事件。定长3 Bytes。
*
`*xdata`
可选的字段,一般情况下留空,仅有限几种情况需要带
`xdata`
:撤防时使用
`xdata`
传输密码、索要防区信息时使用
`xdata`
做串口命令透传。具体格式参考
《安定宝协议扩展》
。
*
`*xdata`
可选的字段,一般情况下留空,仅有限几种情况需要带
`xdata`
:撤防时使用
`xdata`
传输密码、索要防区信息时使用
`xdata`
做串口命令透传。具体格式参考
下方
*4.2 xdata 段格式*
。
*
`timestamp`
时间戳字段,格式为
`_HH:MM:SS,mm-DD-YYYY`
,定长20Bytes
*
`CR`
固定结束符,0x0D
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment