I noticed that the GatewayController.cs#L39 code skipped 12 bytes when reading the data packet. The comment stated that it was CRC + Protocol type conversion + payload length, but I didn’t quite understand what these 12 bytes represented. , could you please tell me their specific functions and construction methods?
CRC is the packet hash (iirc not actually CRC32 but still 4 bytes long).
TypeConversion is I believe their internal corresponding packet type by number, the values are obfuscated in reality so I didn't use it.
PayloadLength as the name suggests is the rest of the payload length outside the header, not important in this context since it's already guaranteed because that is in the http context.
I noticed that the GatewayController.cs#L39 code skipped 12 bytes when reading the data packet. The comment stated that it was
CRC + Protocol type conversion + payload length
, but I didn’t quite understand what these 12 bytes represented. , could you please tell me their specific functions and construction methods?