replace definitions for example byte to uint8_t etc.