KWC 网络通讯协议
About 253 wordsLess than 1 minute
2023-10-15
KWC 是 KitX Web Command 的缩写, 即 KitX 网络命令系统, 是一种通讯协议, 适用于 KitX 网络中的通讯.
KWC 协议
KWC 是一种通讯规范, 规范了 KitX 网络中的通讯格式, 使得不同的设备可以通过 KWC 协议进行通讯. 本质是 Json 序列化/反序列化文本, 但使用 KitX 网络特定属性.
内容
KWC 主要包含两部分:
Request
| 属性名 | 类型 | 描述 | 默认值 | 
|---|---|---|---|
| Type | String | 消息类型 | "Command" | 
| Version | String | 协议版本 | |
| Sender | DeviceLocator | 发送设备定位器 | |
| Target | DeviceLocator | 目标设备定位器 | |
| EncryptionInfo | EncryptionInfo | 加密信息 | |
| CompressionInfo | CompressionInfo | 压缩信息 | |
| Content | String | 内容 | 
DeviceLocator设备定位器, 用于定位设备, 具体成员列表参见外部链接.EncryptionInfo加密信息CompressionInfo压缩信息
Command
Changelog
Last Updated: View All Changelog
💾 Feat(Plume-Theme): Configured sidebar and locales settings
On 2025/2/7💾 Feat(Plume-Theme): Migrated
On 2025/1/25📝 Chore: Remove hard-coded permalink
On 2025/1/25📦 Struct: Move to
On 2025/1/25notesfolder to match theme's requirements📄 Docs: Recently designed new network details.
On 2024/2/23v23.10.15.0On 2023/10/15