#include "utils.h" void printBytes(const char title[], const std::vector &b) { Serial0.flush(); printf("%s: ", title); for (auto v : b) { printf("0x%02x ", v); } printf("\n"); Serial0.flush(); } void printBytes(const char title[], const std::vector &b) { Serial0.flush(); printf("%s: ", title); for (auto v : b) { printf("0x%04x ", v); } printf("\n"); Serial0.flush(); } void printBool(const char title[], const std::vector &vals) { Serial0.flush(); printf("%s: ", title); for (auto j(0); j < vals.size(); j++) { printf("%s ", vals.at(j) ? "True" : "False"); } printf("\n"); Serial0.flush(); }