I have an application which I want to communicate over a serial link to an embedded device. The communication protocol is binary - meaning that I have a structured message that I want to copy from memory into the serial byte stream unaltered (no encoding).
I am using Microsoft VS 2012 writing the application in C# with the .NET framework. I inherited a shell of an app which appears to be using the System.IO.Ports.SerialPort class to read/write to the com port.
Several coworkers have told me that I would have problems because modern communication libraries, or even the drivers for USB and serial, will assume you are communicating using some form of encoding like ASCII or Unicode. If anyone has an idea of how to start this please let me know. I appreciate any help.