2021-08-05 10:56:35 +00:00
|
|
|
#ifndef _INCLUDE_UNPACK_H_
|
|
|
|
#define _INCLUDE_UNPACK_H_
|
2019-01-02 18:54:18 +00:00
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2021-08-05 10:56:35 +00:00
|
|
|
// field1 - at least 14 bytes
|
|
|
|
// field2 - at least 14 bytes
|
|
|
|
// field3 - at least 7 bytes
|
2021-11-08 20:44:37 +00:00
|
|
|
int ft8_unpack77_fields(const uint8_t *a77, char *field1, char *field2, char *field3);
|
2019-01-02 18:54:18 +00:00
|
|
|
|
2021-08-05 10:56:35 +00:00
|
|
|
// message should have at least 35 bytes allocated (34 characters + zero terminator)
|
2021-11-08 20:44:37 +00:00
|
|
|
int ft8_unpack77(const uint8_t *a77, char *message);
|
2019-01-02 18:54:18 +00:00
|
|
|
|
2021-08-05 10:56:35 +00:00
|
|
|
#endif // _INCLUDE_UNPACK_H_
|