5

Is there a serial protocol available for linux that allows for multiple devices to communicate over a serial interface (shared serial bus) with TCP/IP.

My understanding is that PPP is meant for only two devices to communicate over serial (client/server). Where as I am looking for a low level protocol suitable for carrying TCP/IP over a multidrop serial bus (only one I can imagine using is RS485).

michael
  • 2,577
  • 5
  • 39
  • 62
  • You have that wrong. PPP is to *connect* two *points,* but after that it is a fully featured TCP/IP network that supports multiple connections between multiple peers. – user207421 Nov 12 '13 at 05:29
  • hmm. I am looking at implementing TCP/IP over something like SPI where there are multiple end points on a shared bus. Are you saying PPP is suitable? – michael Nov 12 '13 at 15:36
  • I *said* that your understanding is wrong. – user207421 Nov 12 '13 at 22:01
  • 1
    Yes PPP should be suitable. Since you intend to use TCP, I assume it's not multicast(though not necessarily imppossible in theory), so in that case PPP can always be used for communication between two peers, even if there are more than 1 peer at the SPI end. – goldenmean Nov 17 '13 at 21:37
  • 2
    Yes, I want this too. Cannot find an existing IP stack for multidrop RS485. Would be great! – Frans Lundberg Mar 04 '16 at 13:26
  • 3
    @michael, have you succeeded in building TCP over serial bus? – Alexander Selishchev Aug 12 '16 at 08:57
  • Curious about this, too. @michael did you end up finding something? – mattes Mar 18 '19 at 23:25

0 Answers0