You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 years ago | |
---|---|---|
.vscode | 2 years ago | |
iflytoplinuxsdk@808d14861a | 2 years ago | |
src | 2 years ago | |
test_src | 2 years ago | |
toolchain | 2 years ago | |
zcmake@a68cdff520 | 2 years ago | |
.clang-format | 2 years ago | |
.gitignore | 2 years ago | |
.gitmodules | 2 years ago | |
CMakeLists.txt | 2 years ago | |
README.md | 2 years ago | |
build.sh | 2 years ago | |
init.sh | 2 years ago | |
packet.sh | 2 years ago | |
project_config.env | 2 years ago | |
测试指令.md | 2 years ago |
README.md
README
1. 输入rootiflytop9973可以进入超级用户
2. ws测试地址: ws://192.168.8.10:19001
{
"command":"exceCanCmd",
"cancmd":"call 1007 1"
}
{
"command":"exceCanCmd",
"cancmd":"huacheng_pressure_sensor_read_c1005 0"
}
{
"command":"exceCanCmd",
"cancmd":"huacheng_pressure_sensor_read_c1005 1"
}
{
"command":"exceCanCmd",
"cancmd":"huacheng_pressure_sensor_read_c1005 2"
}
{
"command":"exceCanCmd",
"cancmd":"huacheng_pressure_sensor_read_c1005 3"
}
编译
./build.sh
scp ./build/app/app.out root@192.168.8.176:/app/
依赖
部署环境依赖
sudo apt-get install sqlite3 libsqlite3-dev
编译环境依赖
sudo apt-get install sqlite3:arm64 libsqlite3-dev:arm64
测试指令
sudo apt-get install sqlite3 libsqlite3-dev
sudo apt-get install sqlite3:arm64 libsqlite3-dev:arm64
sqlite可视化
sudo apt-get install sqlitebrowser
https://www.sqlite.org/docs.html
液位测量压力传感器:
设备地址:01
量程:-1~4kPa
4 kPa=407.888 毫米水柱
传感器测量精度:0.407888 毫米水柱