我原来一个帖子,没有人解了,我自己找到了解决办法,就是关于串口的问题、
我单位一个门禁道闸系统,我想得到它的串口信息。用串口检测精灵可以检测到所有的读写数据:如下:16进制,这全是写的数据,我把道闸返回的数据去了:第五条是开闸命令,但我对16进制不太熟悉,谁给指导一下:199,10:33:12,park.exe(620),IRP_MJ_WRITE,COM1,14,
01 99 0C 01 41 41 0E 09 07 0A 21 0C 2A 0D | \#1?\#12\#1AA\#14\#9\#7
201,10:33:12,park.exe(620),IRP_MJ_WRITE,COM1,8,
01 99 06 01 44 43 00 0D | \#1?\#6\#1DC\#0\#13,
203,10:33:12,park.exe(620),IRP_MJ_WRITE,COM1,8,
01 99 06 01 49 41 0F 0D | \#1?\#6\#1IA\#15\#13,
205,10:33:12,park.exe(620),IRP_MJ_WRITE,COM1,8,
01 99 06 01 49 42 0C 0D | \#1?\#6\#1IB\#12\#13,
207,10:33:12,park.exe(620),IRP_MJ_WRITE,COM1,9,
01 99 07 01 4A 43 02 0D 0D | \#1?\#7\#1JC\#2\#13\#13,
209,10:33:12,park.exe(620),IRP_MJ_WRITE,COM1,14,
01 99 0C 01 53 44 02 30 39 00 00 00 11 0D | \#1?\#12\#1SD\#209\#0
211,10:33:12,park.exe(620),IRP_MJ_WRITE,COM1,8,
01 99 06 01 49 41 0F 0D | \#1?\#6\#1IA\#15\#13,
213,10:33:12,park.exe(620),IRP_MJ_WRITE,COM1,8,
01 99 06 01 49 42 0C 0D | \#1?\#6\#1IB\#12\#13,
215,10:33:14,park.exe(620),IRP_MJ_WRITE,COM1,14,
01 99 0C 01 53 44 02 31 31 00 00 00 18 0D | \#1?\#12\#1SD\#211\#0
217,10:33:14,park.exe(620),IRP_MJ_WRITE,COM1,8,
01 99 06 01 49 41 0F 0D | \#1?\#6\#1IA\#15\#13,
219,10:33:14,park.exe(620),IRP_MJ_WRITE,COM1,8,
01 99 06 01 49 42 0C 0D | \#1?\#6\#1IB\#12\#13,
221,10:33:14,park.exe(620),IRP_MJ_WRITE,COM1,14,
01 99 0C 01 53 44 02 31 31 00 00 00 18 0D | \#1?\#12\#1SD\#211\#0
223,10:33:14,park.exe(620),IRP_MJ_WRITE,COM1,8,
01 99 06 01 49 41 0F 0D | \#1?\#6\#1IA\#15\#13,
224,10:33:14,park.exe(620),IRP_MJ_READ,COM1,16,
03 10 01 49 41 00 22 1D 27 0A 11 1A 20 0F 2C 0D | \#3\#16
225,10:33:14,park.exe(620),IRP_MJ_WRITE,COM1,8,
01 99 06 01 49 42 0C 0D | \#1?\#6\#1IB\#12\#13,
227,10:33:14,park.exe(620),IRP_MJ_WRITE,COM1,8,
01 99 06 01 49 41 0F 0D | \#1?\#6\#1IA\#15\#13,
228,10:33:14,park.exe(620),IRP_MJ_READ,COM1,16,
03 10 01 49 41