Go to the documentation of this file.
16 #ifndef PSPNET_APCTL_H
17 #define PSPNET_APCTL_H
23 #define PSP_NET_APCTL_STATE_DISCONNECTED 0
24 #define PSP_NET_APCTL_STATE_SCANNING 1
25 #define PSP_NET_APCTL_STATE_JOINING 2
26 #define PSP_NET_APCTL_STATE_GETTING_IP 3
27 #define PSP_NET_APCTL_STATE_GOT_IP 4
28 #define PSP_NET_APCTL_STATE_EAP_AUTH 5
29 #define PSP_NET_APCTL_STATE_KEY_EXCHANGE 6
31 #define PSP_NET_APCTL_EVENT_CONNECT_REQUEST 0
32 #define PSP_NET_APCTL_EVENT_SCAN_REQUEST 1
33 #define PSP_NET_APCTL_EVENT_SCAN_COMPLETE 2
34 #define PSP_NET_APCTL_EVENT_ESTABLISHED 3
35 #define PSP_NET_APCTL_EVENT_GET_IP 4
36 #define PSP_NET_APCTL_EVENT_DISCONNECT_REQUEST 5
37 #define PSP_NET_APCTL_EVENT_ERROR 6
38 #define PSP_NET_APCTL_EVENT_INFO 7
39 #define PSP_NET_APCTL_EVENT_EAP_AUTH 8
40 #define PSP_NET_APCTL_EVENT_KEY_EXCHANGE 9
41 #define PSP_NET_APCTL_EVENT_RECONNECT 10
43 #define PSP_NET_APCTL_INFO_PROFILE_NAME 0
44 #define PSP_NET_APCTL_INFO_BSSID 1
45 #define PSP_NET_APCTL_INFO_SSID 2
46 #define PSP_NET_APCTL_INFO_SSID_LENGTH 3
47 #define PSP_NET_APCTL_INFO_SECURITY_TYPE 4
48 #define PSP_NET_APCTL_INFO_STRENGTH 5
49 #define PSP_NET_APCTL_INFO_CHANNEL 6
50 #define PSP_NET_APCTL_INFO_POWER_SAVE 7
51 #define PSP_NET_APCTL_INFO_IP 8
52 #define PSP_NET_APCTL_INFO_SUBNETMASK 9
53 #define PSP_NET_APCTL_INFO_GATEWAY 10
54 #define PSP_NET_APCTL_INFO_PRIMDNS 11
55 #define PSP_NET_APCTL_INFO_SECDNS 12
56 #define PSP_NET_APCTL_INFO_USE_PROXY 13
57 #define PSP_NET_APCTL_INFO_PROXY_URL 14
58 #define PSP_NET_APCTL_INFO_PROXY_PORT 15
59 #define PSP_NET_APCTL_INFO_8021_EAP_TYPE 16
60 #define PSP_NET_APCTL_INFO_START_BROWSER 17
61 #define PSP_NET_APCTL_INFO_WIFISP 18
63 #define PSP_NET_APCTL_INFO_SECURITY_TYPE_NONE 0
64 #define PSP_NET_APCTL_INFO_SECURITY_TYPE_WEP 1
65 #define PSP_NET_APCTL_INFO_SECURITY_TYPE_WPA 2
91 typedef void (*
sceNetApctlHandler)(
int oldState,
int newState,
int event,
int error,
void *pArg);