HBLink/hb_const.py

42 lines
1.5 KiB
Python
Raw Normal View History

2016-10-23 12:07:16 -04:00
#!/usr/bin/env python
#
2016-11-21 20:13:32 -05:00
###############################################################################
# Copyright (C) 2016 Cortney T. Buffington, N0MJS <n0mjs@me.com>
#
# 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 3 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
###############################################################################
2016-10-23 12:07:16 -04:00
from __future__ import print_function
__author__ = 'Cortney T. Buffington, N0MJS'
__copyright__ = 'Copyright (c) 2016 Cortney T. Buffington, N0MJS and the K0USY Group'
<<<<<<< HEAD:enc_dmr.py
2016-10-23 12:07:16 -04:00
__credits__ = 'Jonathan Naylor, G4KLX'
=======
2016-11-23 16:01:05 -05:00
__credits__ = ''
>>>>>>> modularization:hb_const.py
2016-11-23 08:38:08 -05:00
__license__ = 'GNU GPLv3'
2016-10-23 12:07:16 -04:00
__maintainer__ = 'Cort Buffington, N0MJS'
__email__ = 'n0mjs@me.com'
2016-11-23 16:01:05 -05:00
# Timers
STREAM_TO = .360
2016-10-23 12:07:16 -04:00
2016-11-23 16:01:05 -05:00
# HomeBrew Protocol Frame Types
HBPF_VOICE = 0x0
HBPF_VOICE_SYNC = 0x1
HBPF_DATA_SYNC = 0x2
HBPF_SLT_VHEAD = 0x1
HBPF_SLT_VTERM = 0x2