table of contents
other versions
- buster-backports 3.1.6-2~bpo10+2
- testing 3.1.6-2
- unstable 3.1.6-2
MODBUS_GET_SLAVE(3) | libmodbus Manual | MODBUS_GET_SLAVE(3) |
NAME¶
modbus_get_slave - get slave number in the contextSYNOPSIS¶
int modbus_get_slave(modbus_t *ctx);DESCRIPTION¶
The modbus_get_slave() function shall get the slave number in the libmodbus context.RETURN VALUE¶
The function shall return the slave number if successful. Otherwise it shall return -1 and set errno to one of the values defined below.ERRORS¶
EINVALThe libmodbus context is undefined.
SEE ALSO¶
modbus_set_slave(3)AUTHORS¶
The libmodbus documentation was written by Stéphane Raimbault <stephane.raimbault@gmail.com>02/28/2020 | libmodbus v3.1.6 |