Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
蚂蚁寻路
zoompipeline
提交
4d1f04d1
zoompipeline
项目概览
蚂蚁寻路
/
zoompipeline
与 Fork 源项目一致
Fork自
colorEagleStdio / zoompipeline
通知
4
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
zoompipeline
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
4d1f04d1
编写于
3月 10, 2014
作者:
丁劲犇
😸
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
remove TextInfo
上级
a41d8880
变更
4
展开全部
隐藏空白更改
内联
并排
Showing
4 changed file
with
1434 addition
and
1441 deletion
+1434
-1441
DatabaseMod/smartlink_svr.sqlite
DatabaseMod/smartlink_svr.sqlite
+0
-0
FunctionalClientTest/maindialog.cpp
FunctionalClientTest/maindialog.cpp
+675
-682
ZoomPipeline_FuncSvr/smartlink/st_clientnode_app_imp.cpp
ZoomPipeline_FuncSvr/smartlink/st_clientnode_app_imp.cpp
+636
-636
ZoomPipeline_FuncSvr/smartlink/st_msg_applayer.h
ZoomPipeline_FuncSvr/smartlink/st_msg_applayer.h
+123
-123
未找到文件。
DatabaseMod/smartlink_svr.sqlite
浏览文件 @
4d1f04d1
无法预览此类型文件
FunctionalClientTest/maindialog.cpp
浏览文件 @
4d1f04d1
此差异已折叠。
点击以展开。
ZoomPipeline_FuncSvr/smartlink/st_clientnode_app_imp.cpp
浏览文件 @
4d1f04d1
此差异已折叠。
点击以展开。
ZoomPipeline_FuncSvr/smartlink/st_msg_applayer.h
浏览文件 @
4d1f04d1
...
...
@@ -11,45 +11,45 @@ namespace SmartLink{
//Host Reg request, send 64 byte Serial Num to Server
//SMARTLINK_MSG_APP::MsgType = 0x1000
typedef
struct
tag_stMsg_HostRegistReq
{
char
HostSerialNum
[
64
];
char
HostSerialNum
[
64
];
}
stMsg_HostRegistReq
;
//Host Reg replay, send back 4 byte ID
//SMARTLINK_MSG_APP::MsgType = 0x1800
typedef
struct
tag_stMsg_HostRegistRsp
{
__UINT8_TYPE__
DoneCode
;
//0 first ok, 1 ok 2 failed
char
TextInfo
[
64
];
__UINT32_TYPE__
ID
;
__UINT8_TYPE__
DoneCode
;
//0 first ok, 1 ok 2 failed
char
TextInfo
[
64
];
__UINT32_TYPE__
ID
;
}
stMsg_HostRegistRsp
;
//Host Log request
//SMARTLINK_MSG_APP::MsgType = 0x1001
typedef
struct
tag_stMsg_HostLogonReq
{
__UINT32_TYPE__
ID
;
char
HostSerialNum
[
64
];
__UINT32_TYPE__
ID
;
char
HostSerialNum
[
64
];
}
stMsg_HostLogonReq
;
//Host Log response
//SMARTLINK_MSG_APP::MsgType = 0x1801
typedef
struct
tag_stMsg_HostLogonRsp
{
__UINT8_TYPE__
DoneCode
;
char
TextInfo
[
64
];
__UINT8_TYPE__
DoneCode
;
char
TextInfo
[
64
];
}
stMsg_HostLogonRsp
;
//User Login request
//SMARTLINK_MSG_APP::MsgType = 0x3000
typedef
struct
tag_stMsg_ClientLoginReq
{
__UINT16_TYPE__
ClientVersion
;
char
UserName
[
32
];
char
Password
[
32
];
__UINT16_TYPE__
ClientVersion
;
char
UserName
[
32
];
char
Password
[
32
];
}
stMsg_ClientLoginReq
;
//User Log response
//SMARTLINK_MSG_APP::MsgType = 0x3800
typedef
struct
tag_stMsg_ClientLoginRsp
{
__UINT8_TYPE__
DoneCode
;
__UINT32_TYPE__
UserID
;
char
TextInfo
[
64
];
__UINT8_TYPE__
DoneCode
;
__UINT32_TYPE__
UserID
;
char
TextInfo
[
64
];
}
stMsg_ClientLoginRsp
;
//User Log response
...
...
@@ -60,29 +60,29 @@ typedef struct tag_stMsg_HostTimeCorrectReq{
//Time Correct
typedef
struct
tag_stMsg_HostTimeCorrectRsp
{
__UINT8_TYPE__
DoneCode
;
char
TextInfo
[
64
];
struct
tag_stDateTime
{
__UINT16_TYPE__
Year
;
__UINT8_TYPE__
Month
;
__UINT8_TYPE__
Day
;
__UINT8_TYPE__
Hour
;
__UINT8_TYPE__
Minute
;
__UINT8_TYPE__
Second
;
}
DateTime
;
__UINT8_TYPE__
DoneCode
;
char
TextInfo
[
64
];
struct
tag_stDateTime
{
__UINT16_TYPE__
Year
;
__UINT8_TYPE__
Month
;
__UINT8_TYPE__
Day
;
__UINT8_TYPE__
Hour
;
__UINT8_TYPE__
Minute
;
__UINT8_TYPE__
Second
;
}
DateTime
;
}
stMsg_HostTimeCorrectRsp
;
//UploadUserListReq,0x1003
typedef
struct
tag_stMsg_UploadUserListReq
{
__UINT16_TYPE__
UserNum
;
__UINT32_TYPE__
pUserIDList
[
1
];
__UINT16_TYPE__
UserNum
;
__UINT32_TYPE__
pUserIDList
[
1
];
}
stMsg_UploadUserListReq
;
//User Log response
//SMARTLINK_MSG_APP::MsgType = 0x1803
typedef
struct
tag_stMsg_UploadUserListRsp
{
__UINT8_TYPE__
DoneCode
;
char
TextInfo
[
64
];
__UINT8_TYPE__
DoneCode
;
char
TextInfo
[
64
];
}
stMsg_UploadUserListRsp
;
//SMARTLINK_MSG_APP::MsgType = 0x1004
...
...
@@ -92,22 +92,22 @@ typedef struct tag_stMsg_DownloadUserListReq{
//SMARTLINK_MSG_APP::MsgType = 0x1804
typedef
struct
tag_stMsg_DownloadUserListRsp
{
__UINT8_TYPE__
DoneCode
;
char
TextInfo
[
64
];
__UINT16_TYPE__
UserNum
;
__UINT32_TYPE__
pUserIDList
[
1
];
__UINT8_TYPE__
DoneCode
;
char
TextInfo
[
64
];
__UINT16_TYPE__
UserNum
;
__UINT32_TYPE__
pUserIDList
[
1
];
}
stMsg_DownloadUserListRsp
;
//0x3001
typedef
struct
tag_stMsg_ClientLogoutReq
{
char
UserName
[
32
];
char
UserName
[
32
];
}
stMsg_ClientLogoutReq
;
//0x3801
typedef
struct
tag_stMsg_ClientLogoutRsp
{
__UINT8_TYPE__
DoneCode
;
char
TextInfo
[
64
];
__UINT8_TYPE__
DoneCode
;
char
TextInfo
[
64
];
}
stMsg_ClientLogoutRsp
;
//SMARTLINK_MSG_APP::MsgType = 0x3002
...
...
@@ -116,35 +116,35 @@ typedef struct tag_stMsg_GetHostListReq{
}
stMsg_GetHostListReq
;
//SMARTLINK_MSG_APP::MsgType = 0x3802
typedef
struct
tag_stMsg_GetHostListRsp
{
__UINT32_TYPE__
HostNum
;
__UINT32_TYPE__
pHostIDList
[
1
];
__UINT32_TYPE__
HostNum
;
__UINT32_TYPE__
pHostIDList
[
1
];
}
stMsg_GetHostListRsp
;
typedef
struct
tag_smartlink_app_layer
{
struct
tag_app_layer_header
{
__UINT16_TYPE__
MsgFmtVersion
;
__UINT8_TYPE__
AskID
;
__UINT16_TYPE__
MsgType
;
}
header
;
union
union_MsgUnion
{
stMsg_HostRegistReq
msg_HostRegistReq
;
stMsg_HostRegistRsp
msg_HostRegistRsp
;
stMsg_HostLogonReq
msg_HostLogonReq
;
stMsg_HostLogonRsp
msg_HostLogonRsp
;
stMsg_ClientLoginReq
msg_ClientLoginReq
;
stMsg_ClientLoginRsp
msg_ClientLoginRsp
;
stMsg_HostTimeCorrectReq
msg_HostTimeCorrectReq
;
stMsg_HostTimeCorrectRsp
msg_HostTimeCorrectRsp
;
stMsg_UploadUserListReq
msg_UploadUserListReq
;
stMsg_UploadUserListRsp
msg_UploadUserListRsp
;
stMsg_DownloadUserListReq
msg_DownloadUserListReq
;
stMsg_DownloadUserListRsp
msg_DownloadUserListRsp
;
stMsg_ClientLogoutReq
msg_ClientLogoutReq
;
stMsg_ClientLogoutRsp
msg_ClientLogoutRsp
;
stMsg_GetHostListReq
msg_GetHostListReq
;
stMsg_GetHostListRsp
msg_GetHostListRsp
;
}
MsgUnion
;
struct
tag_app_layer_header
{
__UINT16_TYPE__
MsgFmtVersion
;
__UINT8_TYPE__
AskID
;
__UINT16_TYPE__
MsgType
;
}
header
;
union
union_MsgUnion
{
stMsg_HostRegistReq
msg_HostRegistReq
;
stMsg_HostRegistRsp
msg_HostRegistRsp
;
stMsg_HostLogonReq
msg_HostLogonReq
;
stMsg_HostLogonRsp
msg_HostLogonRsp
;
stMsg_ClientLoginReq
msg_ClientLoginReq
;
stMsg_ClientLoginRsp
msg_ClientLoginRsp
;
stMsg_HostTimeCorrectReq
msg_HostTimeCorrectReq
;
stMsg_HostTimeCorrectRsp
msg_HostTimeCorrectRsp
;
stMsg_UploadUserListReq
msg_UploadUserListReq
;
stMsg_UploadUserListRsp
msg_UploadUserListRsp
;
stMsg_DownloadUserListReq
msg_DownloadUserListReq
;
stMsg_DownloadUserListRsp
msg_DownloadUserListRsp
;
stMsg_ClientLogoutReq
msg_ClientLogoutReq
;
stMsg_ClientLogoutRsp
msg_ClientLogoutRsp
;
stMsg_GetHostListReq
msg_GetHostListReq
;
stMsg_GetHostListRsp
msg_GetHostListRsp
;
}
MsgUnion
;
}
SMARTLINK_MSG_APP
;
#endif
...
...
@@ -154,46 +154,46 @@ typedef struct tag_smartlink_app_layer{
//Host Reg request, send 64 byte Serial Num to Server
//SMARTLINK_MSG_APP::MsgType = 0x1000
typedef
struct
tag_stMsg_HostRegistReq
{
char
HostSerialNum
[
64
];
char
HostSerialNum
[
64
];
}
stMsg_HostRegistReq
;
//Host Reg replay, send back 4 byte ID
//SMARTLINK_MSG_APP::MsgType = 0x1800
typedef
struct
tag_stMsg_HostRegistRsp
{
unsigned
__int8
DoneCode
;
char
TextInfo
[
64
];
unsigned
__int32
ID
;
unsigned
__int8
DoneCode
;
//
char TextInfo[64];
unsigned
__int32
ID
;
}
stMsg_HostRegistRsp
;
//Host Log request
//SMARTLINK_MSG_APP::MsgType = 0x1001
typedef
struct
tag_stMsg_HostLogonReq
{
unsigned
__int32
ID
;
char
HostSerialNum
[
64
];
unsigned
__int32
ID
;
char
HostSerialNum
[
64
];
}
stMsg_HostLogonReq
;
//Host Log response
//SMARTLINK_MSG_APP::MsgType = 0x1801
typedef
struct
tag_stMsg_HostLogonRsp
{
unsigned
__int8
DoneCode
;
char
TextInfo
[
64
];
unsigned
__int8
DoneCode
;
//
char TextInfo[64];
}
stMsg_HostLogonRsp
;
//User Login request
//SMARTLINK_MSG_APP::MsgType = 0x3000
typedef
struct
tag_stMsg_ClientLoginReq
{
unsigned
__int16
ClientVersion
;
char
UserName
[
32
];
char
Password
[
32
];
unsigned
__int16
ClientVersion
;
char
UserName
[
32
];
char
Password
[
32
];
}
stMsg_ClientLoginReq
;
//User Log response
//SMARTLINK_MSG_APP::MsgType = 0x3800
typedef
struct
tag_stMsg_ClientLoginRsp
{
unsigned
__int8
DoneCode
;
unsigned
__int32
UserID
;
char
TextInfo
[
64
];
unsigned
__int8
DoneCode
;
unsigned
__int32
UserID
;
//
char TextInfo[64];
}
stMsg_ClientLoginRsp
;
...
...
@@ -205,29 +205,29 @@ typedef struct tag_stMsg_HostTimeCorrectReq{
//Time Correct
typedef
struct
tag_stMsg_HostTimeCorrectRsp
{
unsigned
__int8
DoneCode
;
char
TextInfo
[
64
];
struct
tag_stDateTime
{
unsigned
__int16
Year
;
unsigned
__int8
Month
;
unsigned
__int8
Day
;
unsigned
__int8
Hour
;
unsigned
__int8
Minute
;
unsigned
__int8
Second
;
}
DateTime
;
unsigned
__int8
DoneCode
;
//
char TextInfo[64];
struct
tag_stDateTime
{
unsigned
__int16
Year
;
unsigned
__int8
Month
;
unsigned
__int8
Day
;
unsigned
__int8
Hour
;
unsigned
__int8
Minute
;
unsigned
__int8
Second
;
}
DateTime
;
}
stMsg_HostTimeCorrectRsp
;
//UploadUserListReq,0x1003
typedef
struct
tag_stMsg_UploadUserListReq
{
unsigned
__int16
UserNum
;
unsigned
__int32
pUserIDList
[
1
];
unsigned
__int16
UserNum
;
unsigned
__int32
pUserIDList
[
1
];
}
stMsg_UploadUserListReq
;
//User Log response
//SMARTLINK_MSG_APP::MsgType = 0x1803
typedef
struct
tag_stMsg_UploadUserListRsp
{
unsigned
__int8
DoneCode
;
char
TextInfo
[
64
];
unsigned
__int8
DoneCode
;
//
char TextInfo[64];
}
stMsg_UploadUserListRsp
;
...
...
@@ -238,21 +238,21 @@ typedef struct tag_stMsg_DownloadUserListReq{
//SMARTLINK_MSG_APP::MsgType = 0x1804
typedef
struct
tag_stMsg_DownloadUserListRsp
{
unsigned
__int8
DoneCode
;
char
TextInfo
[
64
];
unsigned
__int16
UserNum
;
unsigned
__int32
pUserIDList
[
1
];
unsigned
__int8
DoneCode
;
//
char TextInfo[64];
unsigned
__int16
UserNum
;
unsigned
__int32
pUserIDList
[
1
];
}
stMsg_DownloadUserListRsp
;
//0x3001
typedef
struct
tag_stMsg_ClientLogoutReq
{
char
UserName
[
32
];
char
UserName
[
32
];
}
stMsg_ClientLogoutReq
;
//0x3801
typedef
struct
tag_stMsg_ClientLogoutRsp
{
unsigned
__int8
DoneCode
;
char
TextInfo
[
64
];
unsigned
__int8
DoneCode
;
//
char TextInfo[64];
}
stMsg_ClientLogoutRsp
;
//SMARTLINK_MSG_APP::MsgType = 0x3002
...
...
@@ -261,36 +261,36 @@ typedef struct tag_stMsg_GetHostListReq{
}
stMsg_GetHostListReq
;
//SMARTLINK_MSG_APP::MsgType = 0x3802
typedef
struct
tag_stMsg_GetHostListRsp
{
quint32
HostNum
;
quint32
pHostIDList
[
1
];
quint32
HostNum
;
quint32
pHostIDList
[
1
];
}
stMsg_GetHostListRsp
;
typedef
struct
tag_smartlink_app_layer
{
struct
tag_app_layer_header
{
unsigned
__int16
MsgFmtVersion
;
unsigned
__int8
AskID
;
unsigned
__int16
MsgType
;
}
header
;
union
union_MsgUnion
{
stMsg_HostRegistReq
msg_HostRegistReq
;
stMsg_HostRegistRsp
msg_HostRegistRsp
;
stMsg_HostLogonReq
msg_HostLogonReq
;
stMsg_HostLogonRsp
msg_HostLogonRsp
;
stMsg_ClientLoginReq
msg_ClientLoginReq
;
stMsg_ClientLoginRsp
msg_ClientLoginRsp
;
stMsg_HostTimeCorrectReq
msg_HostTimeCorrectReq
;
stMsg_HostTimeCorrectRsp
msg_HostTimeCorrectRsp
;
stMsg_UploadUserListReq
msg_UploadUserListReq
;
stMsg_UploadUserListRsp
msg_UploadUserListRsp
;
stMsg_DownloadUserListReq
msg_DownloadUserListReq
;
stMsg_DownloadUserListRsp
msg_DownloadUserListRsp
;
stMsg_ClientLogoutReq
msg_ClientLogoutReq
;
stMsg_ClientLogoutRsp
msg_ClientLogoutRsp
;
stMsg_GetHostListReq
msg_GetHostListReq
;
stMsg_GetHostListRsp
msg_GetHostListRsp
;
}
MsgUnion
;
struct
tag_app_layer_header
{
unsigned
__int16
MsgFmtVersion
;
unsigned
__int8
AskID
;
unsigned
__int16
MsgType
;
}
header
;
union
union_MsgUnion
{
stMsg_HostRegistReq
msg_HostRegistReq
;
stMsg_HostRegistRsp
msg_HostRegistRsp
;
stMsg_HostLogonReq
msg_HostLogonReq
;
stMsg_HostLogonRsp
msg_HostLogonRsp
;
stMsg_ClientLoginReq
msg_ClientLoginReq
;
stMsg_ClientLoginRsp
msg_ClientLoginRsp
;
stMsg_HostTimeCorrectReq
msg_HostTimeCorrectReq
;
stMsg_HostTimeCorrectRsp
msg_HostTimeCorrectRsp
;
stMsg_UploadUserListReq
msg_UploadUserListReq
;
stMsg_UploadUserListRsp
msg_UploadUserListRsp
;
stMsg_DownloadUserListReq
msg_DownloadUserListReq
;
stMsg_DownloadUserListRsp
msg_DownloadUserListRsp
;
stMsg_ClientLogoutReq
msg_ClientLogoutReq
;
stMsg_ClientLogoutRsp
msg_ClientLogoutRsp
;
stMsg_GetHostListReq
msg_GetHostListReq
;
stMsg_GetHostListRsp
msg_GetHostListRsp
;
}
MsgUnion
;
}
SMARTLINK_MSG_APP
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录