From: hadaq Date: Wed, 23 Dec 2009 20:53:24 +0000 (+0000) Subject: update of errors/status X-Git-Tag: v6.0~299 X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=4d28c4113b119b0fa9d2063e29136805f343fc66;p=trbnettools.git update of errors/status . --- diff --git a/libtrbnet/trberror.c b/libtrbnet/trberror.c index 062aef4..e1381fc 100644 --- a/libtrbnet/trberror.c +++ b/libtrbnet/trberror.c @@ -65,23 +65,29 @@ const char* trb_strerror(int trberrno) const char* trb_strterm(TRB_TERM term) { static const char commonStatusBits[16][64] = { - "COM_Endpoint not reached", /* error */ - "COM_Coll: collision detected", /* error */ - "COM_WordMiss: word missing", /* error */ - "COM_Checksum: checksum error", /* status, at the moment */ - "COM_DontKnow: dont understand", /* error */ - "COM_BufferMatch: buffer mismatch", /* error */ - "", "", "", "", "", "", "", "", "", "" + "COM_EndpointReached: no endpoint has been reached", /* error */ + "COM_Collision: collision has been detected", /* error */ + "COM_WordMissing: mismatch of packet counters (EOB)", /* error */ + "COM_Checksum: checksum error", /* status, at the moment */ + "COM_DontUnderstand: endpoint doesn't understand data", /* error */ + "COM_BufferMismatch: buffer numbers (EOB and ACK) mismatch", /* error */ + "COM_AnswerMissing: One endpoint didn't react", /* error */ + "", "", "", "", "", "", "", "", "" }; static const char ch0StatusBits[16][64] = { - "Ch0_TrigCtr: trigger counter mismatch", /* status */ - "", - "", - "", - "Ch0_BufferHalfFull: data-buffers half full", /* status */ - "Ch0_BuffersFull: data-buffers almost full" /* status */ - "", "", "", "", "", "", "", "", "", "" + "Ch0_TrigCtr: trigger counter mismatch", /* status */ + "Ch0_TrigMissing: timing trigger missing", /* status */ + "", + "", + "", + "", + "", + "", + "Ch0_BufferHalfFull: data-buffers half full", /* status */ + "Ch0_BuffersFull: data-buffers almost full", /* status */ + "Ch0_NotConfigured: endpoint is not configured", /* status */ + "", "", "", "", "" }; static const char ch1StatusBits[16][64] = { @@ -107,8 +113,8 @@ const char* trb_strterm(TRB_TERM term) static const char ch3StatusBits[16][64] = { "Ch3_Address: unknown address", /* error */ - "Ch3_TimeOut: timeout error", /* error */ - "Ch3_NoData: no more data" /* status */ + "Ch3_Timeout: timeout error", /* error */ + "Ch3_NoMoreData: no more data" /* status */ "", "", "", "", "", "", "", "", "", "", "", "", "" };