u16_t len = rimebuf_datalen(); u8_t * ptr = (u8_t*)rimebuf_dataptr(); for(i=0; i < len; i++) { PRINTF("%x ", *(ptr + i)); } PRINTF("\n");