Tani OpcPipe protocol  1.0.5
Tani OpcPipe protocol
Macros
values for the options and OPCPIPE_PARAMS::Options in starting a connection, bitwise

Macros

#define TU_OPT_SENDCACHE_OVERWRITE   0x0001
 data in send cache will be overwritten else no send cache
 
#define TU_OPT_BLOCK   0x0002
 all functions are blocking if the connection exists and send buffer is full
 
#define TU_OPT_MEMLIM_10M   0x0004
 limit memory for frames to 10 MB
 
#define TU_OPT_MEMLIM_1M   0x0008
 limit memory for frames to 1 MB
 
#define TU_OPT_MEMLIM_100K   0x0010
 limit memory for frames to 100 K
 
#define TU_OPT_MEMLIM_50K   0x0020
 limit memory for frames to 50 K
 
#define TU_OPT_MEMLIM_MASK   0x003c
 mask for memory limits
 
#define TU_OPT_DEVICE_DATA_ACK   0x0040
 connection uses acks for device data
 
#define TU_OPT_NO_WRITE_WITH_WRONG_TYPE   0x0080
 disable data conversion on write; required for strict UA spec compatibility
 
#define TU_OPT_ENABLE_REC_QUEUE   0x0100
 enable receive queue in PLC Engine (useful mainly for MQTT)
 

Detailed Description