Funcube Dongle command matrix

From MyLabWiki
Revision as of 22:23, 12 December 2012 by Alex (Talk | contribs)

Jump to: navigation, search

This document gives a summary of the API commands supported by the Funcube Dongle Pro and Pro+ firmwares.

ID Command FCD Pro parameters FCD Pro+ parameters
1 FCD_CMD_BL_QUERY Returns string with "FCDAPP version"  ?
8 FCD_CMD_BL_RESET Reset to application mode  ?
24 FCD_CMD_BL_ERASE Erase firmware from FCD flash  ?
25 FCD_CMD_BL_SET_BYTE_ADDR TBD  ?
26 FCD_CMD_BL_GET_BYTE_ADDR_RANGE Get address range  ?
27 FCD_CMD_BL_WRITE_FLASH_BLOCK Write flash block  ?
28 FCD_CMD_BL_READ_FLASH_BLOCK Read flash block  ?
100 FCD_CMD_APP_SET_FREQ_KHZ 3 byte unsigned LE frequency in kHz
101 FCD_CMD_APP_SET_FREQ_HZ 4 byte unsigned LE frequency in Hz, returns actual frequency
102 FCD_CMD_APP_GET_FREQ_HZ Returns 4 byte unsigned LE in Hz
104 FCD_CMD_APP_GET_IF_RSSI Deprecated
105 FCD_CMD_APP_GET_PLL_LOCK Returns 1 bit, true if locked n/a
106 FCD_CMD_APP_SET_DC_CORR 2 byte unsigned I correction followed by 2 byte unsigned Q correction n/a
107 FCD_CMD_APP_GET_DC_CORR Returns 2 byte unsigned I correction followed by 2 byte unsigned Q correction n/a
108 FCD_CMD_APP_SET_IQ_CORR Send with 2 byte signed phase correction followed by 2 byte unsigned gain correction n/a
109 FCD_CMD_APP_GET_IQ_CORR Returns 2 byte signed phase correction followed by 2 byte unsigned gain correction n/a
110 FCD_CMD_APP_SET_LNA_GAIN Send with 1 byte: 0-14
111 FCD_CMD_APP_SET_LNA_ENHANCE Send with 1 byte: 0-7
112 FCD_CMD_APP_SET_BAND Send with 1 byte: 0-3
113 FCD_CMD_APP_SET_RF_FILTER Send with 1 byte: 0-15 (depends on band selection)
114 FCD_CMD_APP_SET_MIXER_GAIN Send with 1 byte: 0,1
115 FCD_CMD_APP_SET_BIAS_CURRENT Send with 1 byte: 0-3
116 FCD_CMD_APP_SET_MIXER_FILTER Send with 1 byte: 0, 8-15
117 FCD_CMD_APP_SET_IF_GAIN1 Send with 1 byte: 0,1
118 FCD_CMD_APP_SET_IF_GAIN_MODE Send with 1 byte: 0,1
119 FCD_CMD_APP_SET_IF_RC_FILTER Send with 1 byte: 0-15
120 FCD_CMD_APP_SET_IF_GAIN2 Send with 1 byte: 0-3
121 FCD_CMD_APP_SET_IF_GAIN3 Send with 1 byte: 0-3
122 FCD_CMD_APP_SET_IF_FILTER Send with 1 byte: 0-31
123 FCD_CMD_APP_SET_IF_GAIN4 Send with 1 byte: 0-2
124 FCD_CMD_APP_SET_IF_GAIN5 Send with 1 byte: 0-4
125 FCD_CMD_APP_SET_IF_GAIN6 Send with 1 byte: 0-4
126 FCD_CMD_APP_SET_BIAS_TEE Send with 1 byte: 1=ON, 0=OFF
150 FCD_CMD_APP_GET_LNA_GAIN Returns 1 byte: 0-14
151 FCD_CMD_APP_GET_LNA_ENHANCE Returns 1 byte: 0-7
152 FCD_CMD_APP_GET_BAND Returns 1 byte: 0-3
153 FCD_CMD_APP_GET_RF_FILTER Returns 1 byte: 0-15 (depends on band selection)
154 FCD_CMD_APP_GET_MIXER_GAIN Returns 1 byte: 0,1
155 FCD_CMD_APP_GET_BIAS_CURRENT Returns 1 byte: 0-3
156 FCD_CMD_APP_GET_MIXER_FILTER Returns 1 byte: 0, 8-15
157 FCD_CMD_APP_GET_IF_GAIN1 Returns 1 byte: 0,1
158 FCD_CMD_APP_GET_IF_GAIN_MODE Returns 1 byte: 0,1
159 FCD_CMD_APP_GET_IF_RC_FILTER Returns 1 byte: 0-15
160 FCD_CMD_APP_GET_IF_GAIN2 Returns 1 byte: 0-3
161 FCD_CMD_APP_GET_IF_GAIN3 Returns 1 byte: 0-3
162 FCD_CMD_APP_GET_IF_FILTER Returns 1 byte: 0-31
163 FCD_CMD_APP_GET_IF_GAIN4 Returns 1 byte: 0-2
164 FCD_CMD_APP_GET_IF_GAIN5 Returns 1 byte: 0-4
165 FCD_CMD_APP_GET_IF_GAIN6 Returns 1 byte: 0-4
166 FCD_CMD_APP_GET_BIAS_TEE Returns 1 byte: 1=ON, 0=OFF