linbpq/adif-HPLaptop.h

37 lines
815 B
C
Raw Normal View History

2022-08-28 09:35:46 +01:00
// ADIF Logging Bits
typedef struct ADIF
{
char Call[16];
time_t StartTime;
int Mode;
char LOC[7];
char Band[8]; // ?Derive from freq?
int Freq;
// Extra fields for Trimode comment fields
char CMSCall[16];
char ServerSID[80];
char UserSID[80];
char ReportMode[16];
char Termination[8]; // Last "F" message from CMS
int Sent;
int Received;
int BytesSent;
int BytesReceived;
char Dirn; // Direction of current transfer (In/Out)
int FBBIndex; // For saving proposals
int FBBLen[5]; // Proposed messages
BOOL GotFC; // Flag for acking messages on first FC
char PartMessage[256]; // Some modes frame size too small for complete lines
} ADIF;
BOOL UpdateADIFRecord(ADIF * ADIF, char * Msg, char Dirn);
BOOL WriteADIFRecord(ADIF * ADIF);