The DlnI2cSlaveLoadReply() function loads data to be transferred to an I2C master device.
A handle to the DLN-series adapter.
A number of the I2C slave port.
A size of the data buffer to be loaded. The size is specified as a number bytes and can vary from 1 to 256.
A pointer to an array of unsigned 8-bit integers that receives data to be sent to an I2C master. The size of the buffer is specified in the size parameter.
The function successfully loaded data to the buffer.
The port number is not valid. Use the DlnI2cSlaveGetPortCount() function to find the maximum possible port number.
The function cannot specify I2C slave addresses for the DLN adapter while the I2C slave port is busy transmitting data.
The specified buffer size is not valid.
The DlnI2cSlaveLoadReply() function is defined in the dln_i2c_slave.h file.