Index: sources/device/DeviceError.h =================================================================== diff -u -r0932b2beee9cc169291cbf69161f902f805237b1 -r472c10e72a8d278f13d2343f9c81c1def14490ff --- sources/device/DeviceError.h (.../DeviceError.h) (revision 0932b2beee9cc169291cbf69161f902f805237b1) +++ sources/device/DeviceError.h (.../DeviceError.h) (revision 472c10e72a8d278f13d2343f9c81c1def14490ff) @@ -42,33 +42,39 @@ // The scripts can use the exit code of each commands they execute and the assumption is most of Linux commands exit codes are less than 1000. // so any error less that 1000 will be identified as device error - eDevice_Scripts_Error_Start = 1000, // the script itself in system starts from 0 so give it enough gap - eDevice_Scripts_Error_Unknown = 1000, + eDevice_Scripts_Error_Start = 1000 , // the script itself in system starts from 0 so give it enough gap + eDevice_Scripts_Error_Unknown = 1000 , - eDevice_Scripts_Error_Status , - eDevice_Scripts_Error_NotFound , - eDevice_Scripts_Error_NotExecutable , - eDevice_Scripts_Error_IsRunning , - eDevice_Scripts_Error_OutOfRange , - eDevice_Scripts_Error_Incorrect_Req , - eDevice_Scripts_Error_Incorrect_Rsp , + eDevice_Scripts_Error_Status , + eDevice_Scripts_Error_NotFound , + eDevice_Scripts_Error_NotExecutable , + eDevice_Scripts_Error_IsRunning , - eDevice_Watch_Error_NotCreate , - eDevice_Watch_Error_NotFound , - eDevice_Watch_Error_NotAdded , + eDevice_Scripts_Error_Incorrect_Req_Len , + eDevice_Scripts_Error_Incorrect_Req_Type , + eDevice_Scripts_Error_Incorrect_Req_Range , - eDevice_BCuff_Error_Reset , + eDevice_Scripts_Error_Incorrect_Rsp_Len , + eDevice_Scripts_Error_Incorrect_Rsp_Type , + eDevice_Scripts_Error_Incorrect_Rsp_Range , - eDevice_BCuff_Error_Query , - eDevice_BCuff_Error_Query_Empty , - eDevice_BCuff_Error_Query_Addr , + eDevice_Watch_Error_NotCreate , + eDevice_Watch_Error_NotFound , + eDevice_Watch_Error_NotAdded , - eDevice_CryptSetup_Error , - eDevice_FactoryReset_Error , - eDevice_Decommission_Error , - eDevice_WifiList_Error , - eDevice_USBMount_Error , + eDevice_BCuff_Error_Reset , + eDevice_BCuff_Error_Query , + eDevice_BCuff_Error_Query_Empty , + eDevice_BCuff_Error_Query_Addr , + + eDevice_CryptSetup_Error , + eDevice_FactoryReset_Error , + eDevice_Decommission_Error , + eDevice_Brightness_Error , + eDevice_WifiList_Error , + eDevice_USBMount_Error , + eDevice_Error_End };