The DlnLedGetState() function retrieves the current state of the LED.
DlnLedGetState()
DLN_RESULT DlnLedGetState( HDLN handle, uint8_t ledNumber DLN_LED_STATE* state );
A handle to the DLN-series adapter.
A number of the LED which state you want to know.
A pointer to the DLN_LED_STATE type, where the LED state is stored.
DLN_LED_STATE
The function was successful.
The specified LED number is not valid. Use the DlnLedGetCount()function to find the maximum possible LED number.
The DlnLedGetState() function is declared in the dln_led.h file.
dln_led.h