#ifndef __HTTP_GET_H__ #define __HTTP_GET_H__ #include "type.h" //////////state info typedef enum { L_CTL_RST = 0, L_CTL_STATE_INFO, L_CTL_SYS_SET, L_CTL_RF_CTL, L_CTL_NET_SET, L_CTL_LOGIC_SET, L_CTL_TIMESLOT_SET }L_CTL_EM; typedef enum { L_ASI1=0, L_ASI2, L_ASI_NONE }ASI_INPUT_EM; typedef enum { PPS_ERR=0, PPS_OK, }PPS_EM; typedef enum { GPS_UNLOCK=0, GPS_LOCK, GPS_NOT_CONNECT, }GPS_EM; typedef enum { TOD_GPS_ERR=0, TOD_MUX_ERR, TOD_OK, }TOD_EM; //temp ////////////////////// //sys_set///////////// typedef enum { LASI1=0, LASI2, LASI_AUTO }LASI_EM; typedef enum { LSFN=0, LMFN, }LNET_EM; typedef enum { LCLK_INT=0, LCLK_AUTO, LCLK_GPS, LCLK_ASI, }LCLK_EM; typedef enum { LADP_OPEN=0, LADP_CLOSE, }LADP_EM; //////////////////////// //频率调整 typedef enum { LHZ0_P=0, LHZ0_N, }LHZ0_EM; //功率调整 typedef enum { LPW0_P=0, LPW0_N, }LPW0_EM; //agc typedef enum { LAGC_CLOSE=0, LAGC_OPEN, }LAGC_EM; typedef enum { LCWY_CLOSE=0, LCWY_OPEN, }LCWY_EM; typedef enum { LRFY_CLOSE=0, LRFY_OPEN, }LRFY_EM; //////////////////////// //net set/////////////// //延时设置 typedef enum { LTXI_CLOSE=0, LTXI_OPEN, }LTXI_EM; //地区标识 //发射机标识 //////////////////////// //logic channels /////// typedef enum { LSET_AUTO=0, LSET_MANUAL, }LSET_EM; //信道 //////////////////////// //time slot///////////// //时隙 typedef enum { LENA_CLOSE=0, LENA_OPEN, }LENA_EM; //所属信道 //调制方式 typedef enum { LMDL_BPSK=0, LMDL_QPSK, LMDL_QAM }LMDL_EM; //RS编码 //外交织 typedef enum { LOIN_MODE1=0, LOIN_MODE2, LOIN_MODE3 }LOIN_EM; //LDPC //扰码 #define XD_NUM 40 #define ANYWAVE_COM_MAC_HEAD (0xac) void load_net_para(S_ETH_ADDRES *peth); void check_status(void); void load_data_to_http(void); void http_save_change_para(void *); void MCU_write_curXD_info(void); uint32 get_menu_index(void); extern BOOL proc_key_update(void * parg, uint8 key); extern void fpga_save_agc_vol(void); extern void enter_menu(uint32 index); extern void save_new_cor(uint32 cor); //extern void lwIPNetworkConfigChange(uint32 ip,uint32 mask,uint32 gate); extern void usr_lwIPNetworkConfigChange(uint32 ip,uint32 mask,uint32 gate); extern int sntp_enable(uint8 en, uint8 *pAddr); extern void http_load_freq(S_CGI_FREQ_PARA *ppara); extern int usr_http_write_freq(uint8 freq); extern void remote_set_dpd_clr(void); extern void http_write_rf(S_CGI_RF *ppara); extern u8 usr_remote_adpc(uint8 adpc); extern void save_dpd_test_para(uint16 tst); extern void usr_set_exc_pwr(int16 exc_pwr); #endif