Before sending poll message for slave id 2, I call modbus_set_slave() with slave id as 2. The set slave function returns 0 (success) and then I call modbus_read_input_bits() with appropriate values. But the poll message is not going out rather I am getting error as "Error: ...