I’m trying to connect my Fez Panda II with my Sm5100b gsm unit. But i just cant get the connection going cause i keep getting SerialError.Frame errors. Here are some snippets of what i’m doing. And the error keeps occurring on the line following the write command.
SerialPort gsmSerailPort = new SerialPort(Serial.COM1, 9600, Parity.None, 8, StopBits.One);
gsmSerailPort.Handshake = Handshake.None;
byte OutBuffer = System.Text.Encoding.UTF8.GetBytes(cmd + endline);
gsmSerailPort.Write(OutBuffer, 0, OutBuffer.Length);
The Sm5100b does work at 9600 as i have tested it on my Arduino Mega successfully.
Any help would be greatly appreciated.