added read_icom_frame,icom2hamlib_mode,hamlib2icom_mode

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@189 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.1.0
Stéphane Fillod, F8CFE 2000-10-08 21:35:48 +00:00
rodzic c7496a3574
commit adb7d4f37b
1 zmienionych plików z 7 dodań i 1 usunięć

Wyświetl plik

@ -6,7 +6,7 @@
* via serial interface to an ICOM using the "CI-V" interface.
*
*
* $Id: frame.h,v 1.1 2000-10-01 12:31:20 f4cfe Exp $
* $Id: frame.h,v 1.2 2000-10-08 21:35:48 f4cfe Exp $
*
*
* This program is free software; you can redistribute it and/or
@ -28,6 +28,8 @@
#ifndef _FRAME_H
#define _FRAME_H 1
#include <hamlib/rig.h>
/*
* helper functions
*/
@ -37,6 +39,10 @@ int make_cmd_frame_freq(char frame[], char re_id, char cmd, int subcmd, freq_t f
int make_cmd_frame_chan(char frame[], char re_id,char cmd,int subcmd,int chan);
int icom_transaction (RIG *rig, int cmd, int subcmd, const char *payload, int payload_len, char *data, int *data_len);
int read_icom_frame(FILE *stream, unsigned char rxbuffer[], int timeout);
unsigned short hamlib2icom_mode(rmode_t mode);
rmode_t icom2hamlib_mode(unsigned short icmode);
#endif /* _FRAME_H */