5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-17 14:18:31 -04:00
ardupilot/Tools/ArdupilotMegaPlanner/CommsSerial.cs
2011-09-09 11:31:32 +10:00

24 lines
579 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using System.IO.Ports;
using System.IO;
namespace ArdupilotMega
{
public interface ICommsSerial
{
// from serialport class
int BaudRate { get; set; }
bool DtrEnable { get; set; }
string PortName { get; set; }
StopBits StopBits { get; set; }
Parity Parity { get; set; }
bool IsOpen { get; }
void Open();
void Open(bool getparams);
void Close();
int DataBits { get; set; }
}
}