Redler Technologies Inc.

VirtualCom Class

This communication type behaves like a driver.

Definition

Namespace: Redler.Motion.Communication.MotionCom
Assembly: Redler.Motion.Communication (in Redler.Motion.Communication.dll) Version: 0.0.0.0
C#
public sealed class VirtualCom : MotionCom
Inheritance
Object    MotionCom    VirtualCom

Constructors

VirtualCom Create a new instance of the virtual communication

Properties

DefaultBaudrate The default baudrate when the unit is in firmware mode
(Overrides MotionComDefaultBaudrate)
DefaultBootBaudrate The default baudrate when the unit is in bootloader mode
(Overrides MotionComDefaultBootBaudrate)
IsConnected Indicates if the communication converter is connected
(Overrides MotionComIsConnected)

Methods

ChangeBaudrate Changes the baudrate of the converter
(Overrides MotionComChangeBaudrate(Int32))
CloseCom Closes the communication port
(Overrides MotionComCloseCom)
CloseComAsync
(Overrides MotionComCloseComAsync)
ConnectCom Connects to the selected communication port
(Overrides MotionComConnectCom)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
EraseAsync Erases the flash according to the given burn file
(Overrides MotionComEraseAsync(MotionPacketHelperBurnFile))
ExitBoot Exits the bootloader and runs the FW
(Overrides MotionComExitBoot(Int32, NullableTimeSpan))
ExitBootAsync Exits the bootloader and runs the FW
(Overrides MotionComExitBootAsync(Int32, NullableTimeSpan))
FlushRxBuffer Flushes the rx buffer of the serial converter
(Overrides MotionComFlushRxBuffer)
FlushRxBufferAsync Flushes the rx buffer of the serial converter asynchronously
(Overrides MotionComFlushRxBufferAsync)
GetBaudrate Gets the current baudrate of the converter
(Overrides MotionComGetBaudrate)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
LoadDefaultParameters Load the default parameters to the driver.
(Inherited from MotionCom)
PreserveBootDataAsync Checks if the burn file is a boot file. If so, when the boot version is between 20122 and 30205, then we preserve the hw version, sn, pn, data code, lot, tech code and factory code in the address 3F 00 00 40. Assumes that the burn file is a boot file. Also, this method assumes that there are no additional messages running in the background.
(Inherited from MotionCom)
ProgramAsync Burns the driver according to the given burn file, and updates the progress object according to the offset and how much to proceed
(Overrides MotionComProgramAsync(MotionPacketHelperBurnFile, IProgressDouble, Double, Double))
ReceiveBuffer Receives all the bytes that are currently on the RX buffer synchronously
(Overrides MotionComReceiveBuffer)
ReceiveBufferAsync Receives all the bytes that are currently on the RX buffer asynchronously
(Overrides MotionComReceiveBufferAsync)
ReceivePacket Receives a packet synchronously
(Overrides MotionComReceivePacket)
ReceivePacketAsync Receives a packet asynchronously
(Overrides MotionComReceivePacketAsync)
ResetDriver Resets the driver
(Inherited from MotionCom)
SaveParameters Saves the parameters to the driver
(Inherited from MotionCom)
SendData Sends an array of bytes through the communication port
(Overrides MotionComSendData(Byte))
SendPacket Sends a packet synchronously
(Overrides MotionComSendPacket(MotionDataPacket))
SendPacketAsync Sends a packet asynchronously
(Overrides MotionComSendPacketAsync(MotionDataPacket))
SendReceivePacketAsync Sends a packet and then receives a packet.
(Inherited from MotionCom)
SetDriverBootBaudrate Assuming that the driver is in BL mode. Setting the BL baudrate.
(Overrides MotionComSetDriverBootBaudrate(UInt32))
SetDriverBootBaudrateAsync Assuming that the driver is in BL mode. Setting the BL baudrate.
(Overrides MotionComSetDriverBootBaudrateAsync(UInt32))
SetReceiveTimeOut Sets the maximum time to wait for the RX buffer to fill
(Overrides MotionComSetReceiveTimeOut(UInt64))
ToStringReturns a string that represents the current object.
(Inherited from Object)
TryCalibrate Tries to calibrate the driver with the specified calibration type
(Inherited from MotionCom)

See Also