2016-01-14 18:45:04 +00:00
|
|
|
/*
|
2020-10-14 15:16:54 +00:00
|
|
|
* Copyright (C) 2015,2016,2017,2018,2020 by Jonathan Naylor G4KLX
|
2016-01-14 18:45:04 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#if !defined(Defines_H)
|
|
|
|
#define Defines_H
|
|
|
|
|
2016-03-03 18:01:01 +00:00
|
|
|
const unsigned char MODE_IDLE = 0U;
|
2016-03-03 21:45:20 +00:00
|
|
|
const unsigned char MODE_DSTAR = 1U;
|
|
|
|
const unsigned char MODE_DMR = 2U;
|
|
|
|
const unsigned char MODE_YSF = 3U;
|
2016-09-06 18:09:46 +00:00
|
|
|
const unsigned char MODE_P25 = 4U;
|
2018-01-11 19:35:33 +00:00
|
|
|
const unsigned char MODE_NXDN = 5U;
|
2018-06-07 17:46:03 +00:00
|
|
|
const unsigned char MODE_POCSAG = 6U;
|
2020-10-14 15:16:54 +00:00
|
|
|
const unsigned char MODE_M17 = 7U;
|
2020-04-11 19:42:05 +00:00
|
|
|
|
|
|
|
const unsigned char MODE_FM = 10U;
|
|
|
|
|
2016-09-27 18:47:07 +00:00
|
|
|
const unsigned char MODE_CW = 98U;
|
2016-03-03 21:45:20 +00:00
|
|
|
const unsigned char MODE_LOCKOUT = 99U;
|
2016-03-21 22:47:58 +00:00
|
|
|
const unsigned char MODE_ERROR = 100U;
|
2018-08-15 16:17:42 +00:00
|
|
|
const unsigned char MODE_QUIT = 110U;
|
2016-01-14 18:45:04 +00:00
|
|
|
|
|
|
|
const unsigned char TAG_HEADER = 0x00U;
|
|
|
|
const unsigned char TAG_DATA = 0x01U;
|
|
|
|
const unsigned char TAG_LOST = 0x02U;
|
|
|
|
const unsigned char TAG_EOT = 0x03U;
|
|
|
|
|
2016-09-05 16:40:43 +00:00
|
|
|
enum HW_TYPE {
|
|
|
|
HWT_MMDVM,
|
|
|
|
HWT_DVMEGA,
|
2017-12-26 21:10:47 +00:00
|
|
|
HWT_MMDVM_ZUMSPOT,
|
|
|
|
HWT_MMDVM_HS_HAT,
|
2018-03-05 21:04:01 +00:00
|
|
|
HWT_MMDVM_HS_DUAL_HAT,
|
2018-02-14 15:18:34 +00:00
|
|
|
HWT_NANO_HOTSPOT,
|
2018-05-05 13:42:01 +00:00
|
|
|
HWT_NANO_DV,
|
2019-05-30 01:22:53 +00:00
|
|
|
HWT_D2RG_MMDVM_HS,
|
2017-11-16 19:57:11 +00:00
|
|
|
HWT_MMDVM_HS,
|
2020-01-08 09:58:41 +00:00
|
|
|
HWT_OPENGD77_HS,
|
2020-11-08 21:46:19 +00:00
|
|
|
HWT_SKYBRIDGE,
|
2016-09-05 16:40:43 +00:00
|
|
|
HWT_UNKNOWN
|
|
|
|
};
|
|
|
|
|
2016-02-25 19:54:18 +00:00
|
|
|
enum RPT_RF_STATE {
|
|
|
|
RS_RF_LISTENING,
|
|
|
|
RS_RF_LATE_ENTRY,
|
|
|
|
RS_RF_AUDIO,
|
2016-07-12 06:50:01 +00:00
|
|
|
RS_RF_DATA,
|
2017-02-16 19:49:58 +00:00
|
|
|
RS_RF_REJECTED,
|
|
|
|
RS_RF_INVALID
|
2016-02-25 19:54:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
enum RPT_NET_STATE {
|
|
|
|
RS_NET_IDLE,
|
|
|
|
RS_NET_AUDIO,
|
|
|
|
RS_NET_DATA
|
2016-01-19 17:43:33 +00:00
|
|
|
};
|
|
|
|
|
2019-11-05 08:42:21 +00:00
|
|
|
enum DMR_BEACONS {
|
|
|
|
DMR_BEACONS_OFF,
|
|
|
|
DMR_BEACONS_NETWORK,
|
|
|
|
DMR_BEACONS_TIMED
|
|
|
|
};
|
|
|
|
|
2019-11-17 02:57:58 +00:00
|
|
|
enum DMR_OVCM_TYPES {
|
|
|
|
DMR_OVCM_OFF,
|
|
|
|
DMR_OVCM_RX_ON,
|
|
|
|
DMR_OVCM_TX_ON,
|
|
|
|
DMR_OVCM_ON
|
|
|
|
};
|
|
|
|
|
2016-01-14 18:45:04 +00:00
|
|
|
#endif
|