For the message type need come up with some message type identifier that isn't a string.
At the moment "ge-cam" or "state" appears as literal string in the packet. I was hoping protobuf would encode this more efficiently. At the moment it still takes up a bunch of bytes when it should be less than 1.
Using some constants would be fine. TYPE.cam = 0; TYPE.status = 1; TYPE.gecam=2 ?
Or another idea?
For the message type need come up with some message type identifier that isn't a string.
At the moment "ge-cam" or "state" appears as literal string in the packet. I was hoping protobuf would encode this more efficiently. At the moment it still takes up a bunch of bytes when it should be less than 1.
Using some constants would be fine. TYPE.cam = 0; TYPE.status = 1; TYPE.gecam=2 ? Or another idea?
tcpdump output...