unexpected syn is now an error, simplified, log self-update requests specially
This commit is contained in:
@@ -25,8 +25,7 @@
|
||||
static const int RESULT_OK = 0; //!< success
|
||||
|
||||
static const int RESULT_IN_ESC = 1; //!< start of escape sequence received
|
||||
static const int RESULT_SYN = 2; //!< regular SYN after message received
|
||||
static const int RESULT_EMPTY = 3; //!< empty result
|
||||
static const int RESULT_EMPTY = 2; //!< empty result
|
||||
|
||||
static const int RESULT_ERR_GENERIC_IO = -1; //!< generic I/O error (usually fatal)
|
||||
static const int RESULT_ERR_DEVICE = -2; //!< generic device error (usually fatal)
|
||||
@@ -52,6 +51,7 @@ static const int RESULT_ERR_ACK = -19; //!< ACK error
|
||||
static const int RESULT_ERR_NAK = -20; //!< NAK received
|
||||
|
||||
static const int RESULT_ERR_NO_SIGNAL = -21; //!< no signal found on the bus
|
||||
static const int RESULT_ERR_SYN = -22; //!< SYN received instead of answer
|
||||
|
||||
/** type for result code. */
|
||||
typedef int result_t;
|
||||
|
||||
Reference in New Issue
Block a user