Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

可以将两个协议包融合起来 #303

Open
PengyuDeng opened this issue Jun 1, 2023 · 0 comments
Open

可以将两个协议包融合起来 #303

PengyuDeng opened this issue Jun 1, 2023 · 0 comments

Comments

@PengyuDeng
Copy link
Contributor

PengyuDeng commented Jun 1, 2023

协议包jetlinks-official-protocol提供非常好用的、标准的协议,对于上报数据、读取数据非常好用。
协议包transparent-protocol提供了非常好用的,界面化编程。可以在页面上修改上报的值。
我觉得如果在jetlinks-official-protocol中定义一个topic
例如:网关子设备的 /{productId}/{deviceId}/child/{childDeviceId}/message/direct
直连设备的/{productId}/{deviceId}/message/direct
如果设备把消息发送在以上的topic里面,那么设备的信息将 “数据解析”模块处理。
如果设备把消息发送在jetlinks-official-protocol定义的既有的topic里面,还是走老的处理逻辑。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant