You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
namespace SlnMesnac.Rfid.Enum
|
|
|
|
|
{
|
|
|
|
|
public enum RecvState
|
|
|
|
|
{
|
|
|
|
|
//RFly-I160 返回数据 BB DD 00 01 40 41 0D
|
|
|
|
|
WaitingBeginChar1_State = 1, //等待接收帧同步字符1 0xBB
|
|
|
|
|
WaitingBeginChar2_State = 2, //等待接收帧同步字符2 0xDD
|
|
|
|
|
WaitingForBarcodeLength_State = 3, //等待条码长度不固定
|
|
|
|
|
WaitingForCode_State = 4, //等待指令编号Code 0x02
|
|
|
|
|
WaitingForStus_State = 5, //等待接受状态码 0x00
|
|
|
|
|
WaitingForTagCount_State = 6, //等待接受标签组数不固定
|
|
|
|
|
WaitingForCount_State = 7, //等待接收第一组标签读取次数 0x01
|
|
|
|
|
WaitingForRSSI_State = 8, //等待接收读取信号强度 0xCB
|
|
|
|
|
WaitingForAnt_State = 9, //等待接收天线端口 0x01
|
|
|
|
|
WaitingForPC1_State = 10, //等待接收EPC区域 0x00
|
|
|
|
|
WaitingForPC2_State = 11, //等待接收EPC区域 0x00
|
|
|
|
|
WaitingForData_State = 12, //等待接收数据字符
|
|
|
|
|
WaitingForXor_State = 13, //等待比对校验位
|
|
|
|
|
WaitingForEndChar_State = 14, //等待接收尾字符 0x0D
|
|
|
|
|
}
|
|
|
|
|
}
|