/// <summary> /// Get location msg reply byte [ ]. /// </summary> /// <param name="imei">The imei</param> /// <param name="needSerialNo">The need serial no</param> /// <param name="serialNo">The serial no</param> /// <returns>The msg reply byte [ ]</returns> public static byte[] getLocationMsgReply(String imei, bool needSerialNo, int serialNo) { byte[] command = { 0x23, 0x23, 0x02 }; return(Encoder.getLocationMsgReply(imei, needSerialNo, serialNo, command, MessageEncryptType.NONE, null)); }
public byte[] getLocationMsgReply(String imei, bool needSerialNo, int serialNo) { byte[] command = { 0x26, 0x26, 0x02 }; return(Encoder.getLocationMsgReply(imei, needSerialNo, serialNo, command, encryptType, aesKey)); }
public byte[] getLocationMsgReply(String imei, bool needSerialNo, int serialNo, int protocolHeadType) { byte[] command = { 0x25, 0x25, (byte)protocolHeadType }; return(Encoder.getLocationMsgReply(imei, needSerialNo, serialNo, command, encryptType, aesKey)); }