📄 dvb_scan.h
字号:
/**************************************************************************
(C)Copyright Cheertek Inc. 2002-2004,
D700, all right reserved.
Product : STB Firmware
****************************************************************************/
#ifndef __AP_SCAN_H
#define __AP_SCAN_H
/*! \file
* This module provides the service scan and transponder API.
*
*/
#include "ap_defs.h"
#include "dvb_type.h"
#include "db_defs.h"
/**
* Define the scan error type.
*/
typedef enum
{
EN_SCAN_NO_ERROR,
EN_SCAN_ERROR_ABORT,
EN_SCAN_ERROR_NIM_NO_LOCK,
EN_SCAN_ERROR_TP_FULL,
EN_SCAN_ERROR_SERVICE_FULL,
EN_SCAN_ERROR_NO_SERVICES
}EN_SCAN_ERROR;
/**
* Define the mode in a old transponder scan procedure.
*/
typedef enum
{
EN_SCAN_EDIT_ADD_NEW_ONLY,
/* Compare the new service with database, and then add the new services */
EN_SCAN_EDIT_REPLACE_ALL,
/* Delete all the services in database, and then add the new services */
EN_SCAN_ADD_ALL,
/* Delete all the services in database, and then add the new services */
EN_SCAN_AUTO
/* Auto select ADD_ALL or ADD_NEW for auto scan*/
}EN_SCAN_EDIT_TYPE;
/**
* Define AutoScan Scan Polarity Type.
typedef enum
*/
typedef enum
{
EN_SCAN_H_POLARITY,
/* Only Scan Horizontal Polarity */
EN_SCAN_V_POLARITY,
/* Only Scan Vertical Polarity */
EN_SCAN_H_V_POLARITY
/* Scan both Horizontal and Vertical Polarity */
}EN_SCAN_POLARITY_TYPE;
/**
* Define the satellite or transponder auto scan parameter structure.
*/
typedef struct DVB_AutoScanParameter
{
u16 u16LocalFrequency ; /**< This is local frequency. The unit is MHz. The normal value for C band is 5150 and for Ku band is 11300.*/
u8 u8DiSEqC ; /**< DiSEqC off or port 1,2, ...The value 0 indicate the DiSEqC is off */
bool8 b8QuickSearch; /**< Quick Search(TRUE) / Detailed Search(FALSE) */
bool8 b8FreeMode; /**< Free(TRUE) / Free + CA(FALSE) */
bool8 b8Tone22K; /**< 22K tone on(TRUE) /off(FALSE) */
bool8 b8Control12V; /**< 12V on(TRUE) /12V off(FALSE) */
u8 u8LNBType; /**< LNB TYPE add by KS 2007/10/29
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -