The DlnSpiSlaveSetEventSize() function sets the event buffer size.
DlnSpiSlaveSetEventSize()
DLN_RESULT DlnSpiSlaveSetEventSize( HDLN handle, uint8_t port, uint16_t size );
A handle to the DLN-series adapter.
A number of the SPI slave port to be configured.
Event buffer size parameter. Its value can vary from 1 to 256 bytes.
The function successfully configured the event buffer size.
The port number is not valid. Use the DlnSpiSlaveGetPortCount() function to find the maximum possible port number.
The buffer size is not valid. The DLN-series adapters support up to 256 bytes of the buffer.
The DlnSpiSlaveSetEventSize() function is defined in the dln_spi_slave.h file.
dln_spi_slave.h