I thought that I can do that easily as I was doing similar with
uint8_t array[6] = {0x00, 0x0d, 0x3f, 0xcd, 0x02, 0x5f}
But, it turns out to be, I am not there yet.
Input structure;
char *MAC_ADDR = "\x00\x22\xC7\xFF\xFF\x27";
I want it to be converted into;
char *MAC_ADDR_NEW = "0022C7FFFF27";
Your inputs are highly appreciated.