DWCApInfo

definition


#include <dwc.h>

typedef struct DWCstApInfo
{
	DWCApInfoType    aptype;
	DWCApInfoArea    area;
	char             spotinfo[DWC_SIZE_SPOTINFO+1];
	char             essid[WM_SIZE_SSID+1];
	u8          bssid[ WM_SIZE_BSSID ];
} DWCApInfo;
				

Description

The structure for storing access point information.

aptype The types of access points

DWC_APINFO_TYPE_USER0 :  The access point for connection target 1
DWC_APINFO_TYPE_USER1 :  The access point for connection target 2
DWC_APINFO_TYPE_USER2 :  The access point for connection target 3
DWC_APINFO_TYPE_USB :  The Nintendo Wi-Fi USB Connector
DWC_APINFO_TYPE_SHOP :  The Nintendo Wi-Fi Station
DWC_APINFO_TYPE_FREESPOT :  A FreeSpot connection
DWC_APINFO_TYPE_WAYPORT :  A Wayport connection (a North American hotspot)
DWC_APINFO_TYPE_OTHER :  Other
area The Nintendo Wi-Fi Station region
* Only valid when aptype is DWC_APINFO_TYPE_SHOP.
* As of the NITRO-DWC 1.1 release, there is no location in North America.

DWC_APINFO_AREA_JPN :  Japan
DWC_APINFO_AREA_USA :  North America
DWC_APINFO_AREA_EUR :  Europe
DWC_APINFO_AREA_AUS :  Australia

DWC_APINFO_AREA_UNKNOWN :  (not a Nintendo Wi-Fi Station)
spotinfo The Nintendo Wi-Fi Station location
* Only valid when aptype is DWC_APINFO_TYPE_SHOP.

A nine-digit string, in which the first seven are the postal code, and the last two the branch number.
essid The access point's SSID
* Only valid when aptype is DWC_APINFO_TYPE_USER*.
bssid The access point's BSSID

See Also

DWC_GetApInfo

Revision History

02/23/2006 Initial version