prp/PRP_EnvironmentConfiguration_T.c
/**
 * @fn void PRP_EnvironmentConfiguration_T_print(PRP_EnvironmentConfiguration_T* const me, uinteger32 level)
 * @brief Print the PRP_EnvironmentConfiguration_T status information
 * @param   me PRP_Environment_T this pointer
 * @param   level uinteger32 importance
 */
@fn void PRP_EnvironmentConfiguration_T_print(PRP_EnvironmentConfiguration_T* const me, uinteger32 level)
@brief Print the PRP_EnvironmentConfiguration_T status information
@param   me PRP_Environment_T this pointer
@param   level uinteger32 importance
@fn void PRP_EnvironmentConfiguration_T_print ( PRP_EnvironmentConfiguration_T * const me uinteger32 level ) @brief Print the PRP_EnvironmentConfiguration_T status information @param me PRP_Environment_T this pointer @param level uinteger32 importance
void PRP_EnvironmentConfiguration_T_print(PRP_EnvironmentConfiguration_T* const me, uinteger32 level)
{
    integer32 i;
    PRP_PRP_LOGOUT(3, "[%s] entering \n", __FUNCTION__);
    if (me == NULL_PTR) {
        return;
    }
    PRP_PRINTF( "%s\n", "======== EnvironmentConfiguration =====================");
    PRP_PRINTF( "node_:\t\t\t%s\n", me->node_);
    PRP_PRINTF( "manufacturer_:\t\t%s\n", me->manufacturer_);
    PRP_PRINTF( "version_:\t\t%s\n", me->version_);
    PRP_PRINTF( "%s", "mac_address_A_:\t\t");
    for (i=0; i<PRP_ETH_ADDR_LENGTH; i++) {
        if (i < 5) {
            PRP_PRINTF("%02x:", me->mac_address_A_[i]);
        } else {
            PRP_PRINTF("%02x\n", me->mac_address_A_[i]);
        }
    }
    PRP_PRINTF( "%s", "mac_address_B_:\t\t");
    for (i=0; i<PRP_ETH_ADDR_LENGTH; i++) {
        if (i < 5) {
            PRP_PRINTF("%02x:", me->mac_address_B_[i]);
        } else {
            PRP_PRINTF("%02x\n", me->mac_address_B_[i]);
        }
    }
    PRP_PRINTF( "adapter_active_A_:\t%u\n", me->adapter_active_A_);
    PRP_PRINTF( "adapter_active_B_:\t%u\n", me->adapter_active_B_);
    PRP_PRINTF( "duplicate_discard_:\t%u\n", me->duplicate_discard_);
    PRP_PRINTF( "transparent_reception_:\t%u\n", me->transparent_reception_);
    PRP_PRINTF( "%s\n", "=======================================================");
}
void PRP_EnvironmentConfiguration_T_print ( PRP_EnvironmentConfiguration_T * const me , uinteger32 level ) { integer32 i ; PRP_PRP_LOGOUT ( 3 , " \n " , __FUNCTION__ ) ; if ( me == NULL_PTR ) { return ; } PRP_PRINTF ( " \n " , " " ) ; PRP_PRINTF ( " \t \t \t \n " , me -> node_ ) ; PRP_PRINTF ( " \t \t \n " , me -> manufacturer_ ) ; PRP_PRINTF ( " \t \t \n " , me -> version_ ) ; PRP_PRINTF ( " " , " \t \t " ) ; for ( i = 0 ; i < PRP_ETH_ADDR_LENGTH ; i ++ ) { if ( i < 5 ) { PRP_PRINTF ( " " , me -> mac_address_A_ [ i ] ) ; } else { PRP_PRINTF ( " \n " , me -> mac_address_A_ [ i ] ) ; } } PRP_PRINTF ( " " , " \t \t " ) ; for ( i = 0 ; i < PRP_ETH_ADDR_LENGTH ; i ++ ) { if ( i < 5 ) { PRP_PRINTF ( " " , me -> mac_address_B_ [ i ] ) ; } else { PRP_PRINTF ( " \n " , me -> mac_address_B_ [ i ] ) ; } } PRP_PRINTF ( " \t \n " , me -> adapter_active_A_ ) ; PRP_PRINTF ( " \t \n " , me -> adapter_active_B_ ) ; PRP_PRINTF ( " \t \n " , me -> duplicate_discard_ ) ; PRP_PRINTF ( " \t \n " , me -> transparent_reception_ ) ; PRP_PRINTF ( " \n " , " " ) ; }
@fn void PRP_EnvironmentConfiguration_T_print(PRP_EnvironmentConfiguration_T* const me, uinteger32 level)
 @brief Print the PRP_EnvironmentConfiguration_T status information
 @param   me PRP_Environment_T this pointer
 @param   level uinteger32 importance
@fn void PRP_EnvironmentConfiguration_T_print ( PRP_EnvironmentConfiguration_T * const me uinteger32 level ) @brief Print the PRP_EnvironmentConfiguration_T status information @param me PRP_Environment_T this pointer @param level uinteger32 importance