utils.h 378 Bytes
Newer Older
developer4 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/*
 * utils.h
 */

#ifndef UTILS_H_
#define UTILS_H_

#define DEFAULT_LINE_LEN		60

size_t hex2bin(uint8_t *dst, const char *src);
void print_ln_len(char symbol, uint8_t cnt);
void print_ln(char symbol);
void print_hex(const uint8_t *data, uint32_t len, const char *delimiter);
void print_hex_ln(const uint8_t *data, uint32_t len, const char *delimiter);

#endif /* UTILS_H_ */