通过C程序与RS232通讯 [英] Communicate with RS232 From C program

查看:173
本文介绍了通过C程序与RS232通讯的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望C代码能够像聊天程序那样在两台计算机之间发送和接收数据时与RS232通信.

我也想知道如何在C中以编程方式启用和禁用RS232的LOOP BACK.

I want C code to communicate with RS232 in sending and receiving data between two computers like chat program.

I want too to know how to enable and disable the LOOP BACK for RS232 programmatically in C.

Any one have a code for this?

推荐答案

Google是您的朋友:很好,经常拜访他.与在这里发布问题相比,他可以更快地回答问题.

一个简单的搜索 使用主题行中的文本 给出了很多答案:

"RS232来自C程序" [ ^ ]

请,将来至少自己进行基础研究,而不是浪费您的时间和我们的时间.
Google is your friend: Be nice and visit him often. He can answer questions a lot more quickly than posting them here...

A simple search using text from your subject line gave loads of answers:

"RS232 From C program"[^]

Please, in future do at least basic research yourself, rather than wasting your time, and our time.


这篇关于通过C程序与RS232通讯的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆