Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Design and Architecture
  4. RS232 protocol

RS232 protocol

Scheduled Pinned Locked Moved Design and Architecture
hardwaresalesquestioncareer
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AlecJames
    wrote on last edited by
    #1

    I'm looking at a new project where the customer wants to use RS232 serial comms to exchange information between 2 embedded systems. (They need the new system to support legacy boxes, they can change the protocol on the old boxes but will not chnage the hardware. At the momment each box has is own way.) I'm having trouble locating an industry standard for the protocol. I've found ISO 1745 which looks like it should do the job but its dated 1975 and that just feels wrong. Does anyone know of a more recent industry standard that defines point to point data exchange over RS232? Thanks Alec

    L L 2 Replies Last reply
    0
    • A AlecJames

      I'm looking at a new project where the customer wants to use RS232 serial comms to exchange information between 2 embedded systems. (They need the new system to support legacy boxes, they can change the protocol on the old boxes but will not chnage the hardware. At the momment each box has is own way.) I'm having trouble locating an industry standard for the protocol. I've found ISO 1745 which looks like it should do the job but its dated 1975 and that just feels wrong. Does anyone know of a more recent industry standard that defines point to point data exchange over RS232? Thanks Alec

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      AlecJames wrote:

      Does anyone know of a more recent industry standard that defines point to point data exchange over RS232?

      It seems to be discussed here[^] and there are reference links at the bottom that may link to the specs.

      1 Reply Last reply
      0
      • A AlecJames

        I'm looking at a new project where the customer wants to use RS232 serial comms to exchange information between 2 embedded systems. (They need the new system to support legacy boxes, they can change the protocol on the old boxes but will not chnage the hardware. At the momment each box has is own way.) I'm having trouble locating an industry standard for the protocol. I've found ISO 1745 which looks like it should do the job but its dated 1975 and that just feels wrong. Does anyone know of a more recent industry standard that defines point to point data exchange over RS232? Thanks Alec

        L Offline
        L Offline
        Luc Pattyn
        wrote on last edited by
        #3

        Hi, you can use any protocol you like, or come up with your own; I often have. It all depends on your needs (throughput, reliability, recovery, multi-drop, etc). One not so simple example is SLIP. If you roll your own, first decision is binary versus text (compactness versus ease of communication, getting all characters through the driver/modem/...). Whatever you choose, make sure you know to locate the end of each message: either prefix the length, or set a unique terminator (CR and/or LF on text). :)

        Luc Pattyn [Forum Guidelines] [My Articles]


        The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.


        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups