搜索资源列表
bioscom
- 上位机(386以上PC机)的所有程序是在BORLAND C++环境下编译的,因此串行通信程序可以直接应用I/O通信库函数bioscom(),该函数在由port指定的I/O端口上执行RS-232通信操作。通信前,根据与8098单片机的通信协议,设定通信的串行端口、数据位数、停止位数、波特率,由于上位机时钟为12MHz,所以对应的波特率应设置为4800。下面给出上位机串行通信的部分程序:
linux串口调试助手
- 最近调Tinyos的东东,由于习惯在linux下搞。看到他用的java去通信感觉就不爽,就用c++搞了一个,把他的串口栈的东西除了,完善了下就用 QT4写了个界面,写了个串口调试助手。现在还有一个问题没有解决,就是如何获取当前可用串口列表,现在只是静态添加了几个。现在想法是利用dmesg获取分配的串口描述符,或者在/proc中读,但是/proc中获取不了描述符。不知道还有没有更好的办法,希望大家能提提意见。
com.c.tar
- 串口通信测试程序--可以用于嵌入式linux下串口通信,也可以用于x86下-Serial Communication Test Program- an embedded linux can be used under the serial communication, can also be used under x86
FPM.c.tar
- 利用linux写的串口参数设定函数。 编写串口通信时参考-Using linux to write the serial parameter setting function. Reference when writing serial communication
232chuanxing
- 这是一个在linux环境下用rs232串口实现的双机单工通信,使用C语言编写,下载后在linux下运行,效果较好-This is a linux environment using serial rs232 dual machine simplex communication, using C language, download linux run, better
linux_232_chat
- 这是一个在linux下用c语言编写的简单聊天程序,用232串口连接,使用双进程,能较好的实现双工通信,程序附带详细解释.-This is a C language under the Linux simple chat program, connected by 232 serial port, using a dual process, can realize the duplex communication better, program with detailed explanation.