mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-19 02:22:10 -05:00
29 lines
593 B
C
29 lines
593 B
C
|
#ifndef WSPRSIM_UTILS_H
|
||
|
#define WSPRSIM_UTILS_H
|
||
|
|
||
|
#include <stdio.h>
|
||
|
#include <unistd.h>
|
||
|
#include <stdlib.h>
|
||
|
#include <ctype.h>
|
||
|
#include <string.h>
|
||
|
#include <stdint.h>
|
||
|
#include <time.h>
|
||
|
|
||
|
extern int printdata;
|
||
|
|
||
|
char get_locator_character_code(char ch);
|
||
|
|
||
|
char get_callsign_character_code(char ch);
|
||
|
|
||
|
long unsigned int pack_grid4_power(char *grid4, int power);
|
||
|
|
||
|
long unsigned int pack_call(char *callsign);
|
||
|
|
||
|
void pack_prefix(char *callsign, int32_t *n, int32_t *m, int32_t *nadd );
|
||
|
|
||
|
void interleave(unsigned char *sym);
|
||
|
|
||
|
int get_wspr_channel_symbols(char* message, unsigned char* symbols);
|
||
|
|
||
|
#endif
|