Tani web based tools  2.01.01
Tani web socket JSON frames
Macros
error values

Macros

#define ERR_OPCPIPE_OK   0
 no error occured
 
#define ERR_OPCPIPE_NOT_INITIALIZED   1
 library not initialized correctly
 
#define ERR_OPCPIPE_ALREADY_INITIALIZED   2
 library already initialized
 
#define ERR_OPCPIPE_NUMBER_EXHAUSTED   3
 too many connections
 
#define ERR_OPCPIPE_BAD_HANDLE   4
 wrong handle given in call
 
#define ERR_OPCPIPE_MEMERR   5
 memory allocation error
 
#define ERR_OPCPIPE_BAD_RIGHTS   6
 access rights wrong
 
#define ERR_OPCPIPE_BAD_ITEMHANDLE   7
 itemhandle wrong
 
#define ERR_OPCPIPE_BAD_ITEMSYNTAX   8
 itemsyntax wrong ("will never work")
 
#define ERR_OPCPIPE_ITEM_UNKNOWN   9
 item doesn't exist; itemsyntax (possibly) correct ("doesn't work now, maybe works later")
 
#define ERR_OPCPIPE_BAD_TOPICPATH   10
 topic name wrong
 
#define ERR_OPCPIPE_DUPLICATENAME   12
 name duplicate
 
#define ERR_OPCPIPE_BAD_SESSION   13
 used for circumventing bugs in some UA servers
 
#define ERR_OPCPIPE_BAD_PASSWORD   20
 password wrong
 
#define ERR_OPCPIPE_BAD_PARAMETERS   21
 parameters wrong
 
#define ERR_OPCPIPE_BAD_OPCODE   22
 opcode wrong or not implemented
 
#define ERR_OPCPIPE_BAD_TOPICHANDLE   23
 topic handle wrong
 
#define ERR_OPCPIPE_BAD_NETPARAMS   24
 network parameters wrong
 
#define ERR_OPCPIPE_WAIT   25
 request not completed yet, answer will arrive asynchrnously
 
#define ERR_OPCPIPE_IS_INACTIVE   26
 operation not possible on inactive item
 
#define ERR_OPCPIPE_TRY_AGAIN   27
 try again later
 
#define ERR_OPCPIPE_CONNECTION   28
 conection failure
 
#define ERR_OPCPIPE_ITEMDATA_DROPPED   29
 data dropped because of error or stall
 
#define ERR_OPCPIPE_SYNTAXINVALID   30
 data syntax invalid
 
#define ERR_OPCPIPE_SYNTAXWARN   31
 data syntax possibly wrong
 
#define ERR_OPCPIPE_ACKMODE   32
 data_ack mode enabled on other side
 
#define ERR_OPCPIPE_IS_ACTIVE   33
 operation not possible on active item
 
#define ERR_OPCPIPE_BAD_ARRAYINDEX   34
 array index format bad
 
#define ERR_OPCPIPE_ARRAYINDEX_OUT_OF_RANGE   35
 array index out of range
 
#define ERR_OPCPIPE_STRUCTURE_MISSING   36
 the structure is missed
 
#define ERR_OPCPIPE_NO_PREFIX   37
 for redirect confirm: value is not a prefix, thus not useable for browsing
 

Detailed Description