FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kLight_AddState ( kLight  light,
kLightState state 
)

Creates and adds a new state with default values.

The new state is added to the end of the light's state list.

Parameters
lightLight object.
stateReceives the new state object.
Returns
Operation status.