mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-13 15:37:03 +00:00
18 lines
353 B
C
18 lines
353 B
C
/**
|
|
* @copyright Utilitech AS 2023
|
|
* License: Fair Source
|
|
*
|
|
*/
|
|
|
|
#ifndef _HEXUTILS_H
|
|
#define _HEXUTILS_H
|
|
|
|
#include <stdint.h>
|
|
#include "Arduino.h"
|
|
|
|
String toHex(uint8_t* in);
|
|
String toHex(uint8_t* in, uint16_t size);
|
|
void fromHex(uint8_t *out, String in, uint16_t size);
|
|
bool stripNonAscii(uint8_t* in, uint16_t size, bool extended = false);
|
|
|
|
#endif |