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
6d2664fb
Commit
6d2664fb
authored
Apr 12, 2025
by
captainwong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加examples编译说明
parent
b7cbc536
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
21 deletions
+23
-21
README.md
examples/README.md
+23
-21
No files found.
examples/README.md
View file @
6d2664fb
## ademco
Windows 下的 安定宝
`dll`
工程。
## server_demo
C++ 编写的简易版接警中心,可用来接收主机连接,进行简单交互:接收主机事件;布撤防。
## httprelay
C 编写的简易版 TCP 服务器与 HTTP 转发器,可以用来接收主机连接,并转发主机事件到指定的 URI.
依赖
`libuv, libcurl`
.
示例:
```
bash
./httprelay 12345 http://your-http-server.com:8080/ademco
```
httprelay 须运行在公网环境,报警主机配置直连接警中心IP、端口,主机有事件发生时将转发至 http://your-http-server.com:8080/ademco
## ademco
`Windows`
下的 安定宝
`dll`
工程,使用
`Visual Studio 2019`
打开
`ademco_hb_examples.sln`
编译.
## server_demo
C++ 编写的简易版接警中心,可用来接收主机连接,进行简单交互:接收主机事件;布撤防。
`Windows`
编译同上,
`linux`
执行
`build.sh`
## httprelay
C 编写的简易版 TCP 服务器与 HTTP 转发器,可以用来接收主机连接,并转发主机事件到指定的 URI.
依赖
`libuv, libcurl`
,用包管理器如
`apt, brew, yum`
等安装
`dev`
版,执行
`build.sh`
编译.
运行示例:
```
bash
./httprelay 12345 http://your-http-server.com:8080/ademco
```
httprelay 须运行在公网环境,报警主机配置直连接警中心IP、端口,主机有事件发生时将转发至 http://your-http-server.com:8080/ademco
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