edge

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

README

DriverBox

DriverBox 是一款基于物联网开源框架 Edgex(opens new window)打造的泛化协议接入服务。 以插件化的形式融合了 Modbus、TCP、HTTP、MQTT 等主流协议,同时也支持基于TCP的各类私有化协议对接。

我们期望 DriverBox 能够为相关人士提供更加高效、舒适的设备接入体验。 通过对各类设备的通信协议和数据交互形式进行抽象,定义了一套标准流程以涵盖泛化协议的共性处理逻辑,并结合动态解析脚本(Lua、Javascript、Python)填补其中的差异化部分。

文档

快速开始

安装

  1. 下载源代码
git clone https://gitee.com/iBUILDING-X/driver-box.git
  1. 加载 go 依赖
cd driver-box
go mod vendor # 国内用户可以切换源:go env -w GOPROXY=https://goproxy.cn,direct

本地运行

  1. 打开 main.go 文件
func main() {
    driverbox.Start([]export.Export{&export.DefaultExport{}})
    select {}
}
  1. 启动 driver-box
go run main.go

参与贡献

  1. Fork 本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request

反馈

如果您有任何问题,请通过 issues 快速反馈

致谢

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL