ft8_lib/ft8/v1/pack.h

10 lines
243 B
C
Raw Permalink Normal View History

2018-10-18 15:42:43 +08:00
#pragma once
#include <stdint.h>
// Pack FT8 text message into 72 bits
// [IN] msg - FT8 message (e.g. "CQ TE5T KN01")
// [OUT] packed - 9 byte array to store the 72 bit payload (MSB first)
int packmsg(const char *msg, uint8_t *dat);