diff options
| author | hibby <d@vehibberd.com> | 2018-02-16 15:17:14 +0000 |
|---|---|---|
| committer | hibby <d@vehibberd.com> | 2018-02-16 15:17:14 +0000 |
| commit | 37f727ac0746fd85504aa46c1f023c09b3eff33a (patch) | |
| tree | c8a7ce04545040a8f161ba279528730bd9a3e6ab /lib/wsprd/wsprsim_utils.h | |
| parent | d63dd8d081a6fcd0715cd13f26df59fb831769d2 (diff) | |
New upstream version 1.8.0+repackupstream/1.8.0+repack
Diffstat (limited to 'lib/wsprd/wsprsim_utils.h')
| -rw-r--r-- | lib/wsprd/wsprsim_utils.h | 28 |
1 files changed, 28 insertions, 0 deletions
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 <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, char* hashtab, unsigned char* symbols); + +#endif |
