?? comm.h
字號:
/*命令列表*/
#define WRFLASH 1
#define RDFLASH 2
#define RDBATT 3
#define TXON 4
#define TXSTOP 5
#define TXPWR 6
#define TXFREQ 7
#define RXON 8
#define RXSTOP 9
#define RXDATA 10
#define RXIQPWR 11
#define RXFREQ 12
#define LCDSHOW 13
#define AUDLOOP 14
#define BELL 15
#define VIBRATOR 16
#define MODECHG 17
#define KEYBD 18
#define RDVER 19
#define RDFTBL 20
#define WRFTBL 21
#define RDTMP 22
#define LCDLIGHT 23
#define RDIMEI 24
#define WRIMEI 25
#define WRBATT 26
#define KBVAL 27
#define COMTEST 28
#define BKLIGHT 29
#define RDMTBL 30
#define WRMTBL 31
#define RDBADC 32
#define WRBADC 33
#define RDOUTDATE 34
#define WROUTDATE 35
#define RDFLUSHDATE 36
#define EXIT 37
#define WRCTL 38
#define RDCTL 39
#define RDRFADC 40
#define RXIQSRLDATA 41
#define WRIQVAL 42 //write iq imblance
#define WTGAININ 43 //write voice gain
#define RDGAININ 44 //read voice gain
#define RDBODNO 45 //read board no
#define WTBODNO 46 //write board no
#define RDFLAG 47 //read test flag
#define WTFLAG 48 //write test flag
#define WTHDVER 49 //write hardware version
#define WTMIC 50
#define RDMIC 51
#define USIMCHECK 52
#define UPDATEFTBL 53
#define GPIOMES 54
#define GSMCOMMAND 80 /* GSM透傳命令 */
#define GSMCPFTOM 81 /* 復制NVRAM到共享內存*/
#define GSMRDFLAG 82 /* 讀取GSM碼表flag(NVRAM) */
#define GSMUPDATE 83 /* 更新GSM碼表(共享內存到NVRAM) */
#define GSMRDMTBL 84 /* 讀GSM碼表(共享內存) */
#define GSMWRMTBL 85 /* 寫GSM碼表(共享內存) */
#define RDFLASHINFO 86 /* Read flash information*/
#define RDRTC 87 /* Read RTC*/
#define WRRTC 88 /* Write RTC*/
#define RCURADC 100
#define RCURADCDAC16 106
#define RCURADCDAC64 107
#define RFLASHCURADC 101
#define WFLASHCURADC 102
#define RTEMADC 103
#define RFLASHTEMADC 104
#define WFLASHTEMADC 105
#define ACCCCHG 108
#define LCAMPREVIEW 109
#define SCAMPREVIEW 110
#define LCAMSNAPSHOT 111
#define ACINDETECTE 113
#define ACINDEINIT 114
#define SDWRITECARD 115
#define SDREADCARD 116
#define SDREADCAPAB 117
#define HEADSETDTEST 118
#define HEADSETINIT 119
#define BLUETESTMODE 120
#define BLUEADDRR 121
#define BLUEADDRW 122
#define LCAMSAVEPH 123
#define LCAMGETPHLEN 124
#define LCAMGETPH 125
#define FM 126
#define USB 127
/*GSM控制命令列表*/
#define ADIL1CAL_PRIM_FIRST 0x00008900
typedef enum _ADIL1CAL_PRIMITIVES_
{
ADIL1CAL_THREAD_LOOKUP_CNF = ADIL1CAL_PRIM_FIRST,
ADIL1CAL_THREAD_LOOKUP_REQ = 0x00008901,
ADIL1CAL_THREAD_LOOKUP_TIME_OUT = 0x00008902,
ADIL1CAL_ENTER_TEST_MODE_REQ = 0x00008903,
ADIL1CAL_ENTER_TEST_MODE_CNF = 0x00008904,
ADIL1CAL_LEAVE_TEST_MODE_REQ = 0x00008905,
ADIL1CAL_LEAVE_TEST_MODE_CNF = 0x00008906,
ADIL1CAL_DO_RSSI_MES_REQ = 0x00008907,
ADIL1CAL_DO_RSSI_MES_CNF = 0x00008908,
ADIL1CAL_DO_FREQ_OFFSET_MES_REQ = 0x00008909,
ADIL1CAL_DO_FREQ_OFFSET_MES_CNF = 0x0000890A,
ADIL1CAL_DO_SET_AFC_DAC_REQ = 0x0000890B,
ADIL1CAL_DO_SET_AFC_DAC_CNF = 0x0000890C,
ADIL1CAL_DO_WRITE_GAIN_CODE_REQ = 0x0000890D,
ADIL1CAL_DO_WRITE_GAIN_CODE_CNF = 0x0000890E,
ADIL1CAL_DO_READ_GAIN_CODE_REQ = 0x0000890F,
ADIL1CAL_DO_READ_GAIN_CODE_CNF = 0x00008910,
ADIL1CAL_DO_TRANSMIT_REQ = 0x00008911,
ADIL1CAL_DO_TRANSMIT_CNF = 0x00008912,
ADIL1CAL_DO_STOP_TRANSMIT_REQ = 0x00008913,
ADIL1CAL_DO_STOP_TRANSMIT_CNF = 0x00008914,
ADIL1CAL_DO_WRITE_TO_NVRAM_REQ = 0x00008915,
ADIL1CAL_DO_WRITE_TO_NVRAM_CNF = 0x00008916,
ADIL1CAL_DO_WRITE_ABB_REG_REQ = 0x00008917,
ADIL1CAL_DO_WRITE_ABB_REG_CNF = 0x00008918,
ADIL1CAL_DO_READ_ABB_REG_REQ = 0x00008919,
ADIL1CAL_DO_READ_ABB_REG_CNF = 0x0000891A,
ADIL1CAL_DO_RESET_ABB_REQ = 0x0000891B,
ADIL1CAL_DO_RESET_ABB_CNF = 0x0000891C,
ADIL1CAL_DO_UPDATE_TX_SCALE_REQ = 0x0000891D,
ADIL1CAL_DO_UPDATE_TX_SCALE_CNF = 0x0000891E,
ADIL1CAL_DO_DATA_THREAD_CLOSE_REQ = 0x0000891F,
ADIL1CAL_DO_RSSI_THREAD_CLOSE_REQ = 0x00008920,
ADIL1CAL_DO_FREQ_OFFSET_THREAD_CLOSE_REQ = 0x00008921,
ADIL1CAL_DO_TX_THREAD_CLOSE_REQ = 0x00008922,
ADIL1CAL_DO_ABB_THREAD_CLOSE_REQ = 0x00008923,
ADIL1CAL_GO = 0x00008924,
}ADIL1CAL_PRIMITIVES;
/*band定義*/
typedef enum
{
GSM850,
GSM900,
DCS1800,
PCS1900,
}BandType_t;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -