
What is inside the TCP/IP packet is trivial data that gets exchanged between the master and the slave (polling, transport commands, ticket content information, magnetic encoding info, etc, etc - all quite straightforward stuff actually). I agree that the logical way would be (have been) to use PPP or maybe SLIP, but unfortunately in its time it was done this way.
SERIAL OVER TCP SERIAL
So, it communicates through this serial protocol (rs485) and in those packets I find first the ARP stuff to agree on the (fixed) IPs, and after that IP and TCP packets (raw).Īfter stripping off the serial protocol I have pure TCP/IP from the ticket-printer to which I (or what piece of software for me) basically must respond - its those reponses I have to implement. The point is that, yes they use their own tcp/ip stack, but it should be compliant with a standard stack. True, rs485 is multi-drop, but not in this case, there is just one master en one slave device, so comms is quite easy (actually it is done this way, because the same protocol is used for ticket validation devices on busses/metro, which do have more slave devices). For historical reasons (how many times I've had to hear that in this job upto now) through rs485. It is a legacy Motorola device (a POS to be exact) which talks to its ticket-printer (with its own motorola board). Small wonder that I couldn't find a fast & easy solution. (IP+OR+TCPIP+OR+%20%22TCP%2FIP%22+OR+TCP)+stack+bridge+-linuxįirst off, thank you all for your comments. If you still need a software (or different hardware solution) you can search some more. If you give up and buy the converter device, you can make an additional benefit of using computers which do not have any serial or parallel ports. No, I did not yet, but think about it: you may spend much more money (read "working time", which is more expensive than money) for poor-software solution. You may say I did not answer your Question. Search in internet and you will be able to find relatively inexpensive device. (Many computers don't have a serial or parallel port anyway.)įor example, I've found the site, see or some other products. One solution I can see is using some piece of hardware which would allow you to use Etherner port on you computer host instead of serial port device.
