AllJoyn/Samples/BACnetAdapter/bacnet-stack-0.8.2/demo/object/command.c
bool Command_Valid_Instance(
    uint32_t object_instance)
{
    unsigned int index;

    index = Command_Instance_To_Index(object_instance);
    if (index < MAX_COMMANDS)
        return true;

    return false;
}
/**
 * Determines if a given object instance is valid
 *
 * @param object_instance - object-instance number of the object
 *
 * @return true if the instance is valid, and false if not
 */
Determines if a given object instance is valid
@param object_instance - object-instance number of the object

@return true if the instance is valid, and false if not
Determines if a given object instance is valid @param object_instance - object - instance number of the object @return true if the instance is valid and false if not
bool Command_Valid_Instance(
    uint32_t object_instance)
{
    unsigned int index;
    index = Command_Instance_To_Index(object_instance);
    if (index < MAX_COMMANDS)
        return true;
    return false;
}
bool Command_Valid_Instance ( uint32_t object_instance ) { unsigned int index ; index = Command_Instance_To_Index ( object_instance ) ; if ( index < MAX_COMMANDS ) return true ; return false ; }
Determines if a given object instance is valid
 @param object_instance - object-instance number of the object
Determines if a given object instance is valid @param object_instance - object - instance number of the object