Hamlib 4.7~git
Loading...
Searching...
No Matches
amplist.h
Go to the documentation of this file.
1/*
2 * Hamlib Interface - list of known amplifiers
3 * Copyright (c) 2000-2011 by Stephane Fillod
4 * Copyright (c) 2000-2002 by Frank Singleton
5 * Copyright (C) 2019 by Michael Black W9MDB. Derived from rotlist.h
6 *
7 *
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
12 *
13 * This library 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 GNU
16 * Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 *
22 */
23/* SPDX-License-Identifier: LGPL-2.1-or-later */
24
25#ifndef _AMPLIST_H
26#define _AMPLIST_H 1
27
32
33
52
69#define AMP_MAKE_MODEL(a,b) ((a)*100+(b))
70
72#define AMP_BACKEND_NUM(a) ((a)/100)
73
74
83#define AMP_MODEL_NONE 0
84
85
87#define AMP_DUMMY 0
89#define AMP_BACKEND_DUMMY "dummy"
98#define AMP_MODEL_DUMMY AMP_MAKE_MODEL(AMP_DUMMY, 1)
105#define AMP_MODEL_NETAMPCTL AMP_MAKE_MODEL(AMP_DUMMY, 2)
106
107
109#define AMP_ELECRAFT 2
111#define AMP_BACKEND_ELECRAFT "elecraft"
118#define AMP_MODEL_ELECRAFT_KPA1500 AMP_MAKE_MODEL(AMP_ELECRAFT, 1)
119//#define AMP_MODEL_ELECRAFT_KPA500 AMP_MAKE_MODEL(AMP_ELECRAFT, 2)
120
121
123#define AMP_GEMINI 3
125#define AMP_BACKEND_GEMINI "gemini"
131#define AMP_MODEL_GEMINI_DX1200 AMP_MAKE_MODEL(AMP_GEMINI, 1)
132
133
135#define AMP_EXPERT 4
137#define AMP_BACKEND_EXPERT "expert"
143#define AMP_MODEL_EXPERT_FA AMP_MAKE_MODEL(AMP_EXPERT, 1)
144
145
147typedef int amp_model_t;
148
149
150#endif /* _AMPLIST_H */
151
int amp_model_t
Definition amplist.h:147