This function gets the execution result of the Communication library that was executed immediately before.

Syntax

int GetErrorStatus(void);

Parameters

None

Return value

Returns a COM API error code.
ValueDescription
COM_ERROR_00 Not Error
COM_ERROR_01 Parameter Error
COM_ERROR_02 COM Number Not Supported
COM_ERROR_03 Max SIO Num Over
COM_ERROR_04 Device Not Find
COM_ERROR_05 Connect Failed
COM_ERROR_06 Send Error
COM_ERROR_07 Receive TimeOut
COM_ERROR_08 Status Error
COM_ERROR_09 Exclusive Device Select
COM_ERROR_10 CONFIGURATION Error
COM_ERROR_13 Cancel Event

Remarks

COM_ERROR_00 is returned if the Communication library is not running.

Requirements

Header file:
lib.h
Library file:
libSTARTUPOPH5000.a

Last updated: 2020/10/07