#pragma once #include #include "master.h" std::array macStringToBytes(const char* macStr) { std::array bytes; sscanf(macStr, "%hhx:%hhx:%hhx:%hhx:%hhx:%hhx", &bytes[0], &bytes[1], &bytes[2], &bytes[3], &bytes[4], &bytes[5]); return bytes; }