AllJoyn/Samples/BACnetAdapter/bacnet-stack-0.8.2/demo/object/lo.c
bool Lighting_Output_Default_Step_Increment_Set(
    uint32_t object_instance,
    float step_increment)
{
    bool status = false;
    unsigned int index = 0;

    index = Lighting_Output_Instance_To_Index(object_instance);
    if ((index < MAX_LIGHTING_OUTPUTS) &&
        (step_increment >= 0.1) &&
        (step_increment <= 100.0)) {
        Lighting_Output[index].Default_Step_Increment = step_increment;
        status = true;
    }

    return status;
}
/**
 * For a given object instance-number, sets the default-step-increment
 * property value of the object.
 *
 * @param object_instance - object-instance number of the object
 * @param step_increment - holds the value to be set
 *
 * @return true if value was set
 */
For a given object instance-number, sets the default-step-increment
property value of the object.

@param object_instance - object-instance number of the object
@param step_increment - holds the value to be set

@return true if value was set
For a given object instance - number sets the default - step - increment property value of the object . @param object_instance - object - instance number of the object @param step_increment - holds the value to be set @return true if value was set
bool Lighting_Output_Default_Step_Increment_Set(
    uint32_t object_instance,
    float step_increment)
{
    bool status = false;
    unsigned int index = 0;
    index = Lighting_Output_Instance_To_Index(object_instance);
    if ((index < MAX_LIGHTING_OUTPUTS) &&
        (step_increment >= 0.1) &&
        (step_increment <= 100.0)) {
        Lighting_Output[index].Default_Step_Increment = step_increment;
        status = true;
    }
    return status;
}
bool Lighting_Output_Default_Step_Increment_Set ( uint32_t object_instance , float step_increment ) { bool status = false ; unsigned int index = 0 ; index = Lighting_Output_Instance_To_Index ( object_instance ) ; if ( ( index < MAX_LIGHTING_OUTPUTS ) && ( step_increment >= 0.1 ) && ( step_increment <= 100.0 ) ) { Lighting_Output [ index ] . Default_Step_Increment = step_increment ; status = true ; } return status ; }
For a given object instance-number, sets the default-step-increment
 property value of the object.
For a given object instance - number sets the default - step - increment property value of the object .