led_get_domain()

Get the unique domain ID for the LED service.

Synopsis:

#include <bps/led.h>
 
BPS_API int led_get_domain()

Arguments:

Library:

libbps

Description:

The led_get_domain() function gets the unique domain ID for the LED service. You can use this function in your application to test whether an event that you retrieve using bps_get_event() is an LED event, and respond accordingly.

Returns:

The domain ID for the LED service.