houxiao
2017-01-10 43af8d48ca0d2ec219a7641d5555fe4c2479b047
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef _EV_PROTO_H_
#define _EV_PROTO_H_
 
#include <stddef.h>
#include <stdint.h>
 
#pragma pack(1)
 
struct EVPCommand
{
    enum EVPC
    {
        EVPC__FIRST,
        EVPC_SENSETIMEFACEDETECT,
        EVPC__LAST,
    };
};
 
struct EVPHeader
{
    int16_t cmd;    // EVPCommand::EVPC
    uint32_t size;    // sizeof(EVPHeader)+sizeof(subcmd)
};
 
struct EVP_VariableBuffer
{
    int16_t mb_type; // MB_Frame::MBFType
    uint8_t buff[0];
};
 
#pragma pack()
 
#endif