mcserver.txt

来自「一个读取ic卡的读卡程序。一个读取ic卡的读卡程序一个读取ic卡的读卡程序」· 文本 代码 · 共 19 行

TXT
19
字号
int WINAPI MCServer(int port, const char *qs, int second)
//	int port :	串口号;
//	int second:	等待时间,0为无限等待;
//	return :	0--成功;
//			-1--超时;
//			1--fail to start communication;
//			2--communication break;
//			3--fail to end communication;
//			11--fail to open file;
//			12--record number format error;
//			13--record type format error;
//			14--record file end unexpected;
//			21--fail to create file;
//			22--record file format error;
//			23--packet out of sequence;
//			24--packet format error.

qs 为轮询包的内容,通常为"\x05"。

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?