public class MotionKorlanCom : MotionCom| MotionKorlanCom | Constructor |
| 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) |
| Protocol |
The protocol
(Inherited from MotionCom) |
| 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) |
| Equals | Determines 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)) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| 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) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| LoadDefaultParameters |
Load the default parameters to the driver.
(Inherited from MotionCom) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| 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)) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| TryCalibrate |
Tries to calibrate the driver with the specified calibration type
(Inherited from MotionCom) |