Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • Is it just strings of ASCII characters (codes 32 to 127 + \n) that you want to send? Commented May 5, 2017 at 14:08
  • No, I'm sending n number of u8 ints (words?) that are represented as \code characters put together to form a string. Commented May 5, 2017 at 15:36
  • But the actual string content that is sent over the wire only consists of printable characters? You're sending such things as \024\075\216\030\777\000\123 etc? Commented May 5, 2017 at 15:46
  • Or are you sending the actual 8 bit values that you have put into the string using '\whatever`? Commented May 5, 2017 at 15:51
  • Right now, I'm sending and receiving the actual 8bit values the entire process is as follows: Computer Input: U16 Address, U16 Data, U8 Function Code U16 Address -> U8 Address Split High, U8 Address Split Low U16 Data -> U8 Data Split High, U8 Data Split Low U8 Array of [U8 Address Split High, U8 Address Split Low, U8 Data Split High, U8 Data Split Low, U8 Function Code] U8 Array -> Message String Output: Message String Commented May 5, 2017 at 17:15