DlnTransaction()

Syntax

C/C++
  DLN_RESULT DlnTransaction(
     void* command,
     void* responseBuffer,
     uint16_t responseBufferSize
  );
     

The DlnTransaction() function sends a synchronous command, waits for a response and returns the response details.

Parameters:

command
A pointer to a variable that contains a command to be sent.
responseBuffer
A pointer to the buffer that receives the response information.
responseBufferSize
The maximum number of bytes to be retrieved.

This function is defined in the dln.h file.