| | |
| | | byte[] crcBs = new byte[4] ; |
| | | ByteUtil.int2Bytes_BE(crcBs, crc, 0); |
| | | byte[] bytes = new byte[ProtocolConstantV206V1.UG_lenTail] ; |
| | | bytes[0] = crcBs[3] ; |
| | | bytes[1] = crcBs[4] ; |
| | | bytes[0] = crcBs[2] ; |
| | | bytes[1] = crcBs[3] ; |
| | | bytes[2] = ProtocolConstantV206V1.P_Tail_Byte ; |
| | | return bytes ; |
| | | } |
| | |
| | | byte[] crcBs = new byte[4] ; |
| | | ByteUtil.int2Bytes_BE(crcBs, crc, 0); |
| | | byte[] bytes = new byte[ProtocolConstantV206V2.UG_lenTail] ; |
| | | bytes[0] = crcBs[3] ; |
| | | bytes[1] = crcBs[4] ; |
| | | bytes[0] = crcBs[2] ; |
| | | bytes[1] = crcBs[3] ; |
| | | bytes[2] = ProtocolConstantV206V1.P_Tail_Byte ; |
| | | return bytes ; |
| | | } |
| | |
| | | byte[] crcBs = new byte[4] ; |
| | | ByteUtil.int2Bytes_BE(crcBs, crc, 0); |
| | | byte[] bytes = new byte[ProtocolConstantV206V202404.UG_lenTail] ; |
| | | bytes[0] = crcBs[3] ; |
| | | bytes[1] = crcBs[4] ; |
| | | bytes[0] = crcBs[2] ; |
| | | bytes[1] = crcBs[3] ; |
| | | bytes[2] = ProtocolConstantV206V202404.P_Tail_Byte ; |
| | | return bytes ; |
| | | } |