-
Notifications
You must be signed in to change notification settings - Fork 1
Dev202503 #9
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
Conversation
…ld work simultaneously
You can use CSM Tools to debugging your application. You can find the entry from labview project toolbar, CSM palette, quick drop and Right-Click menu of CSM loops.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the documentation for the reusable TCP communication layer by introducing a dedicated protocol section in both the English and Chinese README files and adding new protocol definition documents.
- Updated the English README with a new “## Protocol” section detailing the TCP packet format.
- Updated the Chinese README with a new “## 通讯协议” section and a link to the detailed protocol documents.
- Added new protocol definition files for both English (v0) and Chinese (v0 and v1).
Reviewed Changes
Copilot reviewed 24 out of 30 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
README.md | Added Protocol section with TCP packet format details. |
README(zh-cn).md | Added 通讯协议 section; note an inconsistency in header order. |
.doc/Protocol.v1.(zh-cn).md | New advanced protocol definition with additional fields. |
.doc/Protocol.v0.(zh-cn).md | New Chinese version of the original protocol definition. |
.doc/Protocol.v0.(en).md | New English version of the original protocol definition. |
Files not reviewed (6)
- .doc/CSM-TCP-Router.drawio: Language not supported
- CSM-TCP-Router.vipb: Language not supported
- src/CSM-TCP-Router.lvcsm: Language not supported
- src/CSM-TCP-Router.lvproj: Language not supported
- src/Server/_support/Module/CSM-TCP-Router.lvlib: Language not supported
- src/csm-app.ini: Language not supported
Comments suppressed due to low confidence (1)
.doc/Protocol.v1.(zh-cn).md:28
- [nitpick] Consider using a consistent bit literal format (i.e. '0b00010000') for FLAG_CRC to match the style used for FLAG_TEXT and FLAG_BIN.
FLAG_CRC = 0B00010000 # 存在CRC校验(置1时需解析CRC校验)
CSM-TCP-Router 中 TCP 数据包格式定义如下: | ||
|
||
``` | ||
| 数据长度(4B) | 版本(1B) | FLAG1(1B) | FLAG2(1B) | TYPE(1B) | 文本数据 | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The header field order in the Chinese README is inconsistent with the protocol definition in .doc/Protocol.v0.(zh-cn).md. Consider reordering the fields to match the established order.
| 数据长度(4B) | 版本(1B) | FLAG1(1B) | FLAG2(1B) | TYPE(1B) | 文本数据 | | |
| 数据长度(4B) | 版本(1B) | TYPE(1B) | FLAG1(1B) | FLAG2(1B) | 文本数据 | |
Copilot uses AI. Check for mistakes.
No description provided.