It is possible. We do tftp connection qnx4 embedded system <-> Win hosh via rs-232.
This problem is solved by system configuration (running inetd on net.fd qnx driver)...
Yes but with rs-485 is quite different: this is a bus, rs-232 is point to point.
From the practical point of view the difference is that in rs-485 there are possibilities of collisions, and you shouls manage 'hardware' addressed to identify devices... (but maybe they could be the IP)
Well, RS-485 is quite special. It is different to RS-232 only in noise emunity (has the ability to reamplify signals in nodal stations. The amplifications are done using opamps). Correct me if I'm wrong, RS232 protocol is pretty much the same as RS485.
Basically, I would take a look at the TCIP lean book for some ideas as it focusses on the protocol very much -> so you can learn how to modify it to suit the RS485. It's tricky but tell me if there is any success in it.
Thanks. By the way, the book I mentioned is available for download somewhere in edaboard (someone told me). :roll:
Is that possible to use RS-485 TCP/IP connect to internet just like Local Area Network? Thereby, we can access one node at RS-485 TCP/IP network via internet or from other network which is connected together.
Anyway, talking about linux, maybe there is a possibility to use ham-radio tcp-ip communucation package. A radio network is very very similar to rs485 mulipoint bus network.
Anyone has more infos?
I mean RS485 is multidrop network, I don't know wheather each node at RS485 network have IP address (internet layer) that can be use for multi-network communication. Or RS485 just using the data link layer address??
Since if we lease a IP address from Internet Service provider, We can put our own network "online" or internet.
I mean RS485 is multidrop network, I don't know wheather each node at RS485 network have IP address (internet layer) that can be use for multi-network communication. Or RS485 just using the data link layer address??
Well..it was already mentioned above that your driver must take care about CDMA to avoid collisions...and for communicating with the Internet every node must have an IP address assigned..but those can be RFC1918 range like in most companies.
I've done a network driver for Linux where radio modem were used (also multiple accesses) connected via normal rs232 cable. And the simplest driver to build was to register the radio modem network as an ethernet interface (also CDMA).
The problem with SLIP/PPP is that they are meant to be used for point2point only communication. So you can't use it for nodes sharing same rs485 bus (o;
davorin: that's very interesting. Could you share this driver? Probably if your driver works with radios it colud easily be adapted to rs485 envirorment.