#include <el_utils.h>
|
char * | id |
|
CONN_ROLE_T | cn_role |
| connection identificator More...
|
|
int | slave_id |
| connection role master?slave CR_MASTER/CR_SLAVE More...
|
|
CONN_TYPE_T | cn_type |
|
union { |
struct { |
char * node |
|
char * serv |
| node: "1.2.3.4", "::1", "mail.ru" More...
|
|
IP_TYPES_T ip_type |
| service : "80", "http" More...
|
|
int family |
|
int sa_len |
|
sau_static_t sau |
|
} tcp |
|
struct { |
char * dev |
|
int speed |
| serial device /dev/ttyS1, /dev/ttyUSB1 More...
|
|
int cd |
| connection speed 9600, 57600, 115200 More...
|
|
int dtr |
| 0,0x30,0x31 -->no change, set low, set HIGH More...
|
|
int dsr |
| 0,0x30,0x31 -->no change, set low, set HIGH More...
|
|
int cts |
| 0,0x30,0x31 -->no change, set low, set HIGH More...
|
|
int rts |
| 0,0x30,0x31 -->no change, set low, set HIGH More...
|
|
} rtu |
|
}; | |
| CT_TCP/CT_RTU. More...
|
|
◆ cd
connection speed 9600, 57600, 115200
◆ cn_role
◆ cn_type
◆ cts
0,0x30,0x31 -->no change, set low, set HIGH
◆ dev
◆ dsr
0,0x30,0x31 -->no change, set low, set HIGH
◆ dtr
0,0x30,0x31 -->no change, set low, set HIGH
◆ family
◆ id
◆ ip_type
◆ node
◆ rts
0,0x30,0x31 -->no change, set low, set HIGH
◆ sa_len
◆ sau
◆ serv
node: "1.2.3.4", "::1", "mail.ru"
◆ slave_id
connection role master?slave CR_MASTER/CR_SLAVE
◆ speed
serial device /dev/ttyS1, /dev/ttyUSB1
The documentation for this struct was generated from the following file:
- /home/ps/elemy_wrt/elemy-utils/libelutils/elutils/el_utils.h