请问怎样在linux里向串口发送16进制数,在linux环境下对串口的读写用write和read函数来实现,而write函数的具体形式为:
int _write(
int fd,
const void *buffer,
unsigned int count
);
fd
File descriptor of file into which data is written.
buffer
Data to be written.
count
Number of bytes.
我只试过直接发送一个字符串,不知是否有谁以16进制数发送过。。。
还请大侠帮帮忙
[ 此贴被XChinux在2008-10-06 21:09重新编辑 ]