From e6153a1c229499a9e771e209066e3423aa4f13ff Mon Sep 17 00:00:00 2001
From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期五, 21 四月 2017 10:25:42 +0800
Subject: [PATCH]
---
RtspFace/ev_proto.h | 29 ++++++++++++++++++++++++++---
1 files changed, 26 insertions(+), 3 deletions(-)
diff --git a/RtspFace/ev_proto.h b/RtspFace/ev_proto.h
index ab71518..6dc27be 100644
--- a/RtspFace/ev_proto.h
+++ b/RtspFace/ev_proto.h
@@ -11,8 +11,22 @@
enum EVPC
{
EVPC__FIRST,
- EVPC_SENSETIMEFACEDETECT,
- EVPC__LAST,
+ EVPC_STATUS = 1,
+ EVPC_USER_DEFINE = 128,
+ EVPC__LAST
+ };
+};
+
+struct EVPStatus
+{
+ enum EVPS
+ {
+ EVPS__FIRST,
+ EVPS_OK = 1,
+ EVPS_ERROR = 128,
+ EVPS_INTERNAL_ERROR,
+ EVPS_PARAMETER_ERROR,
+ EVPS__LAST
};
};
@@ -22,12 +36,21 @@
uint32_t size; // sizeof(EVPHeader)+sizeof(subcmd)
};
+struct EVP_Status
+{
+ int16_t status;
+};
+
struct EVP_VariableBuffer
{
- int16_t mb_type; // MB_Frame::MBFType
+ int16_t type;
uint8_t buff[0];
};
+//#todo
+template<typename TPacket>
+void endian_convert(TPacket& packet);
+
#pragma pack()
#endif
--
Gitblit v1.8.0