コード例 #1
0
 public byte[] getLocationAlarmMsgReply(String imei, bool needSerialNo, int serialNo, int sourceAlarmCode)
 {
     byte[] command = { 0x26, 0x26, 0x04 };
     return(Encoder.getLocationAlarmMsgReply(imei, needSerialNo, serialNo, sourceAlarmCode, command, encryptType, aesKey));
 }
コード例 #2
0
 /// <summary>
 /// Get location alarm 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>
 /// <param name="sourceAlarmCode">The source alarm code</param>
 /// <returns>The msg reply byte [ ]</returns>
 public static byte[] getLocationAlarmMsgReply(String imei, bool needSerialNo, int serialNo, int sourceAlarmCode)
 {
     byte[] command = { 0x23, 0x23, 0x04 };
     return(Encoder.getLocationAlarmMsgReply(imei, needSerialNo, serialNo, sourceAlarmCode, command, MessageEncryptType.NONE, null));
 }