Property | Type | Description | |
---|---|---|---|
incomingPacket |
Method | Description | |
---|---|---|
Dispose ( ) : void | ||
OnNewSerialDataReceived ( object sender, |
||
ParseData ( string packetStr ) : void | ||
SendPacket ( PacketTypes ptype, int nodeId, int sensorID, Commands command, int payload ) : void | ||
SerialReaderWriter ( |
||
SerialReaderWriter ( int baudrate = 115200, string comport = "COM2" ) : System | ||
StartListening ( ) : void | ||
StopListening ( ) : void |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Method | Description | |
---|---|---|
ComputeParity ( ) : int |
public OnNewSerialDataReceived ( object sender, |
||
sender | object | |
e | ||
return | void |
public SendPacket ( PacketTypes ptype, int nodeId, int sensorID, Commands command, int payload ) : void | ||
ptype | PacketTypes | |
nodeId | int | |
sensorID | int | |
command | Commands | |
payload | int | |
return | void |
public SerialReaderWriter ( |
||
settings | ||
return | System |
public SerialReaderWriter ( int baudrate = 115200, string comport = "COM2" ) : System | ||
baudrate | int | |
comport | string | |
return | System |