AllJoyn/Samples/BACnetAdapter/bacnet-stack-0.8.2/demo/object/command.c
bool Command_In_Process_Set(
    uint32_t object_instance,
    bool value)
{
    bool status = false;
    unsigned int index;

    index = Command_Instance_To_Index(object_instance);
    if (index < MAX_COMMANDS) {
        Command_Descr[index].In_Process = value;
        status = true;
    }

    return status;
}
/**
 * For a given object instance-number, sets the command in-process value.
 *
 * @param  object_instance - object-instance number of the object
 * @param  value - true or false value to set
 *
 * @return  true if values are within range and in-process flag is set.
 */
For a given object instance-number, sets the command in-process value.
@param  object_instance - object-instance number of the object
@param  value - true or false value to set

@return  true if values are within range and in-process flag is set.
For a given object instance - number sets the command in - process value . @param object_instance - object - instance number of the object @param value - true or false value to set @return true if values are within range and in - process flag is set .
bool Command_In_Process_Set(
    uint32_t object_instance,
    bool value)
{
    bool status = false;
    unsigned int index;
    index = Command_Instance_To_Index(object_instance);
    if (index < MAX_COMMANDS) {
        Command_Descr[index].In_Process = value;
        status = true;
    }
    return status;
}
bool Command_In_Process_Set ( uint32_t object_instance , bool value ) { bool status = false ; unsigned int index ; index = Command_Instance_To_Index ( object_instance ) ; if ( index < MAX_COMMANDS ) { Command_Descr [ index ] . In_Process = value ; status = true ; } return status ; }
For a given object instance-number, sets the command in-process value.
For a given object instance - number sets the command in - process value .