more error codes
This commit is contained in:
16
src/mbusgw.h
16
src/mbusgw.h
@ -19,10 +19,18 @@
|
||||
|
||||
#define SUCCESS 0
|
||||
#define ERROR_TIMEOUT 1
|
||||
#define ERROR_STATE_ENGINE 2
|
||||
#define ERROR_LOOP_FAILURE 3
|
||||
#define ERROR_TX_REG_UNACCESSIBLE 4
|
||||
#define ERROR_OUT_OF_MEMORY 5
|
||||
#define ERROR_LOOP_FAILURE 2
|
||||
#define ERROR_TX_REG_UNACCESSIBLE 3
|
||||
#define ERROR_OUT_OF_MEMORY__FRAME 4
|
||||
#define ERROR_OUT_OF_MEMORY__USERDATA 5
|
||||
#define ERROR_STATE_ENGINE__START1 10
|
||||
#define ERROR_STATE_ENGINE__LENGTH1 11
|
||||
#define ERROR_STATE_ENGINE__LENGTH2 12
|
||||
#define ERROR_STATE_ENGINE__START2 13
|
||||
#define ERROR_STATE_ENGINE__INVALID_CHKSUM 14
|
||||
#define ERROR_STATE_ENGINE__STOP 15
|
||||
#define ERROR_STATE_ENGINE__ILLEGAL_STATE 16
|
||||
#define ERROR_STATE_ENGINE__UNKNOWN 17
|
||||
|
||||
|
||||
typedef struct {
|
||||
|
Reference in New Issue
Block a user