“UINT8C DataBuf[26]={0x30,0x00,0xc3,0x00,0xff,0xec,0x9f,0xec,0xff,0xec,0xdf,0xec,
0xdf,0xec,0xdf,0xec,0x9f,0xec,0x9f,0xec,0x9f,0xec,0x9f,0xec,
0xff,0xec};”
case 0xC0:
pDescr = &DataBuf[num];
len = 2;
if(num<24)
{
num += 2;
}
else
{
num = 24;
}
break;
case 0x40:
len = 9; //保证状态阶段,这里只要比8大,且不等于0xff即可
break;