DlnGetMessage()

Syntax

C/C++
  DLN_RESULT DlnGetMessage(
      HDLN handle,
      void* messageBuffer,
      uint16_t messageSize
   );
     

The DlnGetMessage() function retrieves a message (response or event) sent by the device.

Parameters:

handle
A handle to the DLN-series adapter.
messageBuffer
A pointer to the buffer that receives the message information.
messageSize
The maximum number of bytes to be retrieved.

This function is defined in the dln.h file.