📄 ipsadc_ipico_tto_io.java
字号:
/*
* Copyright 2005 i-Konect LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package org.firstopen.singularity.devicemgr.interrogator;
import java.math.BigInteger;
import java.util.ArrayList;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.firstopen.singularity.config.DeviceProfile;
import org.firstopen.singularity.system.Tag;
/**
* @author TomRose
* @version $Id: IPSADC_IPICO_TTO_IO.java 1242 2006-01-14 03:34:08Z TomRose $
*
*/
public class IPSADC_IPICO_TTO_IO extends IPSADC_IPICO_IO {
private Log log = LogFactory.getLog(IPSADC_IPICO_TTO_IO.class);
/**
*
*/
public IPSADC_IPICO_TTO_IO() {
super();
// TODO Auto-generated constructor stub
}
/**
* @param deviceProfile
*/
public IPSADC_IPICO_TTO_IO(DeviceProfile deviceProfile) {
super(deviceProfile);
// TODO Auto-generated constructor stub
}
/* Byte Description Info - Hexadecimal ASCII delimited records
* 0 Header character
* 1 Frame header, 1 Header character
* 2-3 Reader ID 0-255 in ASCII hex
* 4-15 Tag ID MS digit first
* 16-19 I and Q channel counter Binary counters 0-255 in ASCII hex
* 20-33 Date/Time Date and time with 10ms resolution. 390ms/10 = 39 =(27 =
* 0x32 + 0x37) and the month 12 is 0x31+ 0x32.
* 34-39 Tampered
* 40-41 LRC Checksum on bytes 2 to 35
* 42-43 End of packet (CR, LF) 0x0d, 0x0a
*
* (i.e. ASCII converison of byte array =
*
*
* aa 00 4497fc000022 0002 0510101630132d 32 00 ff 63<CR><LF>
*
* Instantaneous ID hits and IDs in transit are spooled in small packets, one for each ID. These can be
* considered as stand alone data-grams similar to the UDP protocol. Table 1 depicts the content of these
* data-grams for the hexadecimal ASCII format. This format converts the binary data to ASCII but with a
* hexadecimal base (e.g. 0b00101111 is converted to
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -