AllJoyn/Samples/BACnetAdapter/bacnet-stack-0.8.2/demo/object/bi.c
bool Binary_Input_Valid_Instance(
    uint32_t object_instance)
{
    if (object_instance < MAX_BINARY_INPUTS) {
        return true;
    }

    return false;
}
/* we simply have 0-n object instances.  Yours might be */
/* more complex, and then you need validate that the */
/* given instance exists */
we simply have 0-n object instances.  Yours might be
more complex, and then you need validate that the
given instance exists
we simply have 0 - n object instances . Yours might be more complex and then you need validate that the given instance exists
bool Binary_Input_Valid_Instance(
    uint32_t object_instance)
{
    if (object_instance < MAX_BINARY_INPUTS) {
        return true;
    }
    return false;
}
bool Binary_Input_Valid_Instance ( uint32_t object_instance ) { if ( object_instance < MAX_BINARY_INPUTS ) { return true ; } return false ; }
we simply have 0-n object instances.
we simply have 0 - n object instances .