1@echo off
2
3:: ###############################################################################
4:: #
5:: # Copyright (C) 2009-2013 Nintendo.  All rights reserved.
6:: #
7:: # These coded instructions, statements, and computer programs contain
8:: # proprietary information of Nintendo of America Inc. and/or Nintendo
9:: # Company Ltd., and are protected by Federal copyright law.  They may
10:: # not be disclosed to third parties or copied or duplicated in any form,
11:: # in whole or in part, without the prior written consent of Nintendo.
12:: #
13:: ###############################################################################
14
15call getbridgetype.bat
16
17if /I "%BRIDGE_TYPE%"=="Mion" (
18    if "%1"=="" (
19        echo Current Bridge Name        = %BRIDGE_CURRENT_NAME%
20        echo Current Bridge IP Address  = %BRIDGE_CURRENT_IP_ADDRESS%
21    ) else (
22        getbridgeconfig.exe %*
23    )
24) else (
25    echo Bridge type invalid: This bridge tool only works with Catdev v3 or ev_x4 and newer devkits
26)
27