Logo Search packages:      
Sourcecode: hf version File versions

mt63hf.h

/*
 *    mt63hf.h 
 *    
 *    by GŁnther Montag 2004
 *
 *    functions to link the
 *       MT63 transmitter and receiver in C++ for LINUX
 *       by Pawel Jalocha, SP9VRC
 *    to 
 *      hf by Tom Sailer 
 *    This file is part of hf's the libmt63.a
 *
 *    hf and MT63 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.
 *
 *    hf and MT63 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 MT63; if not, write to the Free Software
 *    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 */

#ifndef MT63HF_H
#define MT63HF_H

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

int mt63_rx_start(unsigned int bandwidth, unsigned int doubleinterleave, 
    unsigned int integration, float soundcorr);
int mt63_tx_start(unsigned int bandwidth, unsigned int doubleinterleave, 
    float soundcorr, unsigned char* call);
void mt63_decode(short *samples, int count);
int mt63_encode(char ch); 
void mt63_finish_tx();
void mt63_tx_send_jam(); 
void mt63_direct_rx(void);
void mt63_direct_tx(void);

#ifdef __cplusplus
}
#endif /* __cplusplus */

extern char code[16];
#define ENCODEBUFSIZE 1602 /* is maximal length, used for bandwidth 500 */
extern short encodebuf[ENCODEBUFSIZE];

#endif /* MT63HF_H */

Generated by  Doxygen 1.6.0   Back to index