#include #include void dump_hex(uint8_t * buf, int size) { while(size--) { printf("%02x ", *buf++); } printf("\n"); }