JZsdk_DeviceCode.h 2.3 KB
/* ********************************************************************
*
*   用来规范version_choose的参数
*
***********************************************/
#ifndef JZSDK_DEVICE_CODE_H
#define JZSDK_DEVICE_CODE_H

//特殊版本号
typedef enum SpecialVersion
{
    SPECIAL_NORMAL = 0x01,    //普通版本
    SPECIAL_DAOTONG = 0x02,   //道通版本
}SpecialVersion;

//软件模式
typedef enum AppMode
{
    APP_PSDK = 0x01,          //psdk设备
    APP_UART = 0x02,          //串口设备
    APP_TEST = 0x03,          //测试设备
}AppMode;

//平台选择
typedef enum Platform
{
    PLATFORM_H3 = 0x01,       //H3平台
    PLATFORM_V3S = 0x02,      //V3S平台
}Platform;

//固件属地
typedef enum FirmwarePlace
{
    OVERSEAS_VERSION = 0x01, //海外版
    DOMESTIC_VERSION = 0x02, //国内版
}FirmwarePlace;

//加载开关
// typedef enum VersionLoadSwitch
// {
//     VERSION_SWITCH_ON = 0x0001,  //加载
//     VERSION_SWITCH_OFF = 0x0000, //不加载
// }VersionLoadSwitch;

#define   VERSION_SWITCH_ON  0x0001 //加载
#define   VERSION_SWITCH_OFF  0x0000 //不加载

// //设备名
// typedef enum DeviceName
// {
//     JZ_H1E = 0x0011,    //H1E
//     JZ_H1T = 0x0016,    //H1T
//     JZ_U3 = 0x0017,     //U3
//     JZ_U3S = 0x0018,    //U3S
//     JZ_U3D = 0x0019,    //U3D
//     JZ_U30 = 0x001A,    //U30
//     JZ_H150S = 0x0013,  //H150S
//     JZ_H150T = 0x0015,  //H150T
//     JZ_H10 = 0x0012,    //H10
//     JZ_H10T = 0x0014,   //H10T
//     TF_A1 = 0x1010,     //TF-A1
//     JZ_C1 = 0x1011,     //C1

// }DeviceName;

//设备选择
#define JZ_H1E         0x0011   

#define JZ_H1T         0x0016

#define JZ_U3          0x0017
#define JZ_U3S         0x0018
#define JZ_U3D         0x0019
#define JZ_U30         0x001A

#define JZ_H150S         0x0013
#define JZ_H150T         0x0015

#define JZ_H10          0x0012
#define JZ_H10T         0x0014

#define TF_A1           0x1010
#define JZ_C1          0x1011


/***********************************
 * 
 *  已退出历史舞台
 * 
 * *********************************/

// //音频滤波的方式 
// //目前只有和h10使用带阻滤波
// #define    DIRECTED_STOPBAND_FILTERING      0x10001 //带阻滤波
// #define    HIGH_PASS_FILTERING              0x10002 //高通滤波
// #define    INTERGRATED_FILTERING_1          0x10003 //综合滤波1代


#endif