https://github.com/jetlinks/transparent-protocol
透传协议
https://github.com/jetlinks/transparent-protocol
Last synced: 5 months ago
JSON representation
透传协议
- Host: GitHub
- URL: https://github.com/jetlinks/transparent-protocol
- Owner: jetlinks
- Created: 2022-06-13T09:52:56.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-08-27T08:08:36.000Z (over 1 year ago)
- Last Synced: 2024-08-27T09:29:19.412Z (over 1 year ago)
- Language: Java
- Size: 8.79 KB
- Stars: 3
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 透传协议
直接将设备消息转为透传消息,在平台中通过订阅`/device/*/*/message/direct`来处理.
## MQTT
mqtt透传消息会在`DirectDeviceMessage`中添加header:`topic`,可通过从header中获取topic进行处理.
下发指令目前仅支持`DirectDeviceMessage`.