ArduinoModbus - modbusTCPServer.begin()

Description

Start the Modbus TCP server.

Syntax

modbusTCPserver.begin();
modbusTCPserver.begin(id);

Parameters

  • id - the (slave) id of the server, defaults to 0xff (TCP);

Returns

1 on success, 0 on failure