文件名称:tongxun
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- 辉*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
使用RS232接口(pc机COM口)
PC启动等待不少于10秒
POS机发送"Q",PC收到返回“R”
POS接收后发送最后一条记录的地址号(序号)
PC收到发回传送记录的首地址
pos机按接收到的首地址开始发送10条记录
pc每接收完8个字符(8个字节数据)返回一个“C”,10条记录(160个字符)完成后返回“E”
PC收到“C”继续发送,收到“E”结束本次发送
-Using the RS232 Interface (pc machine COM port) PC starts to wait for not less than 10 seconds POS machine to send " Q" , PC receive return " R" POS after receiving the address to send the last record number (serial number) PC received back transfer record by receiving the first address pos machine to begin sending the first address record 10 pc to receive complete 8 characters each (8 bytes of data) returns a " C" , 10 records (160 characters) after the completion of return " E " PC receive the" C " to send, receive" E " the end of this time sending
PC启动等待不少于10秒
POS机发送"Q",PC收到返回“R”
POS接收后发送最后一条记录的地址号(序号)
PC收到发回传送记录的首地址
pos机按接收到的首地址开始发送10条记录
pc每接收完8个字符(8个字节数据)返回一个“C”,10条记录(160个字符)完成后返回“E”
PC收到“C”继续发送,收到“E”结束本次发送
-Using the RS232 Interface (pc machine COM port) PC starts to wait for not less than 10 seconds POS machine to send " Q" , PC receive return " R" POS after receiving the address to send the last record number (serial number) PC received back transfer record by receiving the first address pos machine to begin sending the first address record 10 pc to receive complete 8 characters each (8 bytes of data) returns a " C" , 10 records (160 characters) after the completion of return " E " PC receive the" C " to send, receive" E " the end of this time sending
(系统自动生成,下载前可以参看下载内容)
下载文件列表
tongxun.c