Instead of this, you can just do 0x80.toByte, 0x02.toByte, etc. I think that `val PROTO: Byte = 0x80` doesn't work because `0x80` is an integer bigger than 127 (namely 128), but others will work (for example `val TWO: Byte = 0x02` does).