Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
wirerope
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
IOT
wirerope
Commits
19568cd5
Commit
19568cd5
authored
Jan 10, 2024
by
aohui.li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新Readme(使用方法和配置参数)
parent
a6293e49
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
4 deletions
+29
-4
README.md
README.md
+29
-4
No files found.
README.md
View file @
19568cd5
# 蓝牙网关
# 钢丝绳项目
| Fork From :
`http://gitlab.witium.com.cn/jie_embedded/gatewayble.git -b master`
## 简介
### 网关与传感器
1.
网关通过以太网连接互联网(拥有局域网IP)
2.
传感器需要配置网关局域网IP
### 使用
1.
MQTT Config 该网关拥有的传感器设备
2.
等待IOT传感器被网关识别(传感器指示灯闪烁)
3.
此时,可配置阈值,可配置上上报周期
> MQTT Config 举例
```
json
#
配置传感器设备
[{
"taskId"
:
"1454323425342"
,
"ss"
:[{
"addr"
:
"0"
,
"cfg"
:[{
"period"
:
300
,
"dev"
:[{
"addr"
:
"1"
,
"id"
:
"003F0001"
}]}]}]}]
#
配置阈值
[
配置阈值如果配置的阈值过小,开始采集信号,传感器的值如果低于阈值,将不会回复数据给网关
]
[{
"taskId"
:
"1454323425342"
,
"ss"
:[{
"addr"
:
"0"
,
"cfg"
:[{
"threshold"
:
1
}]}]}]
```
## V1.00
## 以太网移植
## 添加mqtt
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