Linux RS485 Programming examples

J

Thread Starter

Jonathan Beck

I'm programming for a SBC running linux. We want to use an RS485 multi-drop network which the card supports. I was hoping that some one
out there has some code to show how to program this interface.

Thanks
Jonathan Beck
 
C

Curt Wuollet

Should work just like RS232.
Email me and I can send some examples of setting up a port and sending and recieving characters. There may be some special ioctl calls for line wagging and such, but I think it should
be transparent i.e. just writing to and reading from a file descriptor.

Regards

cww
 
Top