SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
fcdhidcmd.h
Go to the documentation of this file.
1 /***************************************************************************
2  * This file is part of Qthid.
3  *
4  * Copyright (C) 2010 Howard Long, G6LVB
5  * CopyRight (C) 2011 Alexandru Csete, OZ9AEC
6  * Mario Lorenz, DL5MLO
7  *
8  * Qthid is free software: you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation, either version 3 of the License, or
11  * (at your option) any later version.
12  *
13  * Qthid is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with Qthid. If not, see <http://www.gnu.org/licenses/>.
20  *
21  ***************************************************************************/
22 #ifndef FCDHIDCMD_H
23 #define FCDHIDCMD_H
24 
25 /* Commands applicable in bootloader mode */
26 #define FCD_CMD_BL_QUERY 1
27 #define FCD_CMD_BL_RESET 8
28 #define FCD_CMD_BL_ERASE 24
29 #define FCD_CMD_BL_SET_BYTE_ADDR 25
30 #define FCD_CMD_BL_GET_BYTE_ADDR_RANGE 26
31 #define FCD_CMD_BL_WRITE_FLASH_BLOCK 27
32 #define FCD_CMD_BL_READ_FLASH_BLOCK 28
34 /* Commands applicable in application mode */
35 #define FCD_CMD_APP_SET_FREQ_KHZ 100
36 #define FCD_CMD_APP_SET_FREQ_HZ 101
37 #define FCD_CMD_APP_GET_FREQ_HZ 102
39 #define FCD_CMD_APP_RESET 255
40 
41 #include "fcdprohidcmd.h"
42 #include "fcdproplushidcmd.h"
43 
44 #endif // FCDHIDCMD_H