Difference between revisions of "Funcube Dongle command matrix"

From MyLabWiki
Jump to: navigation, search
(Created pages template)
 
(Add few commands for FCD Pro)
Line 1: Line 1:
[[Category:Funcube Dongle]]
 
 
 
This document gives a summary of the API commands supported by the Funcube Dongle Pro and Pro+ firmwares.
 
This document gives a summary of the API commands supported by the Funcube Dongle Pro and Pro+ firmwares.
  
 
{|class="wikitable" border="1" cellspacing="1" cellpadding="5" style="border-collapse:collapse;"
 
{|class="wikitable" border="1" cellspacing="1" cellpadding="5" style="border-collapse:collapse;"
! align="center" style="background:#D9E5E5;" | ID
+
! style="background:#D9E5E5;" | ID
! align="left" style="background:#D9E5E5;" | Command  
+
! style="background:#D9E5E5;" | Command
! align="left" style="background:#D9E5E5;" | Pro
+
! style="background:#D9E5E5;" | Description
! align="left" style="background:#D9E5E5;" | Pro+
+
! style="background:#D9E5E5;" | FCD Pro parameters
 +
! style="background:#D9E5E5;" | FCD Pro+ parameters
 
|-
 
|-
| align="center" | 100
+
| align="right" | 1
| FCD_APP_XXX
+
| FCD_CMD_BL_QUERY
| 21
+
| Returns string with "FCDAPP version"
| 31
+
|
 +
| ?
 
|-
 
|-
| align="center" | 101
+
| align="right" | 8
| FCD_APP_XXX
+
| FCD_CMD_BL_RESET
| 21
+
| Reset to application mode
| 31
+
|
 +
| ?
 +
|-
 +
| align="right" | 24
 +
| FCD_CMD_BL_ERASE
 +
| Erase firmware from FCD flash
 +
|
 +
| ?
 +
|-
 +
| align="right" | 25
 +
| FCD_CMD_BL_SET_BYTE_ADDR
 +
| ''TBD''
 +
|
 +
| ?
 +
|-
 +
| align="right" | 26
 +
| FCD_CMD_BL_GET_BYTE_ADDR_RANGE
 +
| Get address range
 +
|
 +
| ?
 +
|-
 +
| align="right" | 27
 +
| FCD_CMD_BL_WRITE_FLASH_BLOCK
 +
| Write flash block
 +
|
 +
| ?
 +
|-
 +
| align="right" | 28
 +
| FCD_CMD_BL_READ_FLASH_BLOCK
 +
| Read flash block
 +
|
 +
| ?
 +
|-
 +
| align="right" | 100
 +
| FCD_CMD_APP_SET_FREQ_KHZ
 +
| Set frequency in kHz
 +
| 3 byte unsigned little endian frequency in kHz
 +
|
 +
|-
 +
| align="right" | 101
 +
| FCD_CMD_APP_SET_FREQ_HZ
 +
| Set frequency in Hz
 +
| 4 byte unsigned little endian frequency in Hz, returns wit actual frequency set in Hz
 +
|
 +
|-
 +
| align="right" | 102
 +
| FCD_CMD_APP_GET_FREQ_HZ
 +
| Read frequency in Hz
 +
| Returns 4 byte unsigned little endian frequency in Hz
 +
|
 
|}
 
|}
 +
 +
[[Category:Funcube Dongle]]

Revision as of 21:05, 12 December 2012

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

ID Command Description 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 Set frequency in kHz 3 byte unsigned little endian frequency in kHz
101 FCD_CMD_APP_SET_FREQ_HZ Set frequency in Hz 4 byte unsigned little endian frequency in Hz, returns wit actual frequency set in Hz
102 FCD_CMD_APP_GET_FREQ_HZ Read frequency in Hz Returns 4 byte unsigned little endian frequency in Hz