change unsinged char to uint8_t...,chang struct name with '_t','_s'