From 37f727ac0746fd85504aa46c1f023c09b3eff33a Mon Sep 17 00:00:00 2001 From: hibby Date: Fri, 16 Feb 2018 15:17:14 +0000 Subject: New upstream version 1.8.0+repack --- lib/wsprd/wsprsim_utils.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 lib/wsprd/wsprsim_utils.h (limited to 'lib/wsprd/wsprsim_utils.h') diff --git a/lib/wsprd/wsprsim_utils.h b/lib/wsprd/wsprsim_utils.h new file mode 100644 index 00000000..2f4151a5 --- /dev/null +++ b/lib/wsprd/wsprsim_utils.h @@ -0,0 +1,28 @@ +#ifndef WSPRSIM_UTILS_H +#define WSPRSIM_UTILS_H + +#include +#include +#include +#include +#include +#include +#include + +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, char* hashtab, unsigned char* symbols); + +#endif -- cgit v1.2.3