Go to the source code of this file.
◆ PSP_NET_APCTL_EVENT_CONNECT_REQUEST
#define PSP_NET_APCTL_EVENT_CONNECT_REQUEST 0 |
◆ PSP_NET_APCTL_EVENT_DISCONNECT_REQUEST
#define PSP_NET_APCTL_EVENT_DISCONNECT_REQUEST 5 |
◆ PSP_NET_APCTL_EVENT_EAP_AUTH
#define PSP_NET_APCTL_EVENT_EAP_AUTH 8 |
◆ PSP_NET_APCTL_EVENT_ERROR
#define PSP_NET_APCTL_EVENT_ERROR 6 |
◆ PSP_NET_APCTL_EVENT_ESTABLISHED
#define PSP_NET_APCTL_EVENT_ESTABLISHED 3 |
◆ PSP_NET_APCTL_EVENT_GET_IP
#define PSP_NET_APCTL_EVENT_GET_IP 4 |
◆ PSP_NET_APCTL_EVENT_INFO
#define PSP_NET_APCTL_EVENT_INFO 7 |
◆ PSP_NET_APCTL_EVENT_KEY_EXCHANGE
#define PSP_NET_APCTL_EVENT_KEY_EXCHANGE 9 |
◆ PSP_NET_APCTL_EVENT_RECONNECT
#define PSP_NET_APCTL_EVENT_RECONNECT 10 |
◆ PSP_NET_APCTL_EVENT_SCAN_COMPLETE
#define PSP_NET_APCTL_EVENT_SCAN_COMPLETE 2 |
◆ PSP_NET_APCTL_EVENT_SCAN_REQUEST
#define PSP_NET_APCTL_EVENT_SCAN_REQUEST 1 |
◆ PSP_NET_APCTL_INFO_8021_EAP_TYPE
#define PSP_NET_APCTL_INFO_8021_EAP_TYPE 16 |
◆ PSP_NET_APCTL_INFO_BSSID
#define PSP_NET_APCTL_INFO_BSSID 1 |
◆ PSP_NET_APCTL_INFO_CHANNEL
#define PSP_NET_APCTL_INFO_CHANNEL 6 |
◆ PSP_NET_APCTL_INFO_GATEWAY
#define PSP_NET_APCTL_INFO_GATEWAY 10 |
◆ PSP_NET_APCTL_INFO_IP
#define PSP_NET_APCTL_INFO_IP 8 |
◆ PSP_NET_APCTL_INFO_POWER_SAVE
#define PSP_NET_APCTL_INFO_POWER_SAVE 7 |
◆ PSP_NET_APCTL_INFO_PRIMDNS
#define PSP_NET_APCTL_INFO_PRIMDNS 11 |
◆ PSP_NET_APCTL_INFO_PROFILE_NAME
#define PSP_NET_APCTL_INFO_PROFILE_NAME 0 |
◆ PSP_NET_APCTL_INFO_PROXY_PORT
#define PSP_NET_APCTL_INFO_PROXY_PORT 15 |
◆ PSP_NET_APCTL_INFO_PROXY_URL
#define PSP_NET_APCTL_INFO_PROXY_URL 14 |
◆ PSP_NET_APCTL_INFO_SECDNS
#define PSP_NET_APCTL_INFO_SECDNS 12 |
◆ PSP_NET_APCTL_INFO_SECURITY_TYPE
#define PSP_NET_APCTL_INFO_SECURITY_TYPE 4 |
◆ PSP_NET_APCTL_INFO_SECURITY_TYPE_NONE
#define PSP_NET_APCTL_INFO_SECURITY_TYPE_NONE 0 |
◆ PSP_NET_APCTL_INFO_SECURITY_TYPE_WEP
#define PSP_NET_APCTL_INFO_SECURITY_TYPE_WEP 1 |
◆ PSP_NET_APCTL_INFO_SECURITY_TYPE_WPA
#define PSP_NET_APCTL_INFO_SECURITY_TYPE_WPA 2 |
◆ PSP_NET_APCTL_INFO_SSID
#define PSP_NET_APCTL_INFO_SSID 2 |
◆ PSP_NET_APCTL_INFO_SSID_LENGTH
#define PSP_NET_APCTL_INFO_SSID_LENGTH 3 |
◆ PSP_NET_APCTL_INFO_START_BROWSER
#define PSP_NET_APCTL_INFO_START_BROWSER 17 |
◆ PSP_NET_APCTL_INFO_STRENGTH
#define PSP_NET_APCTL_INFO_STRENGTH 5 |
◆ PSP_NET_APCTL_INFO_SUBNETMASK
#define PSP_NET_APCTL_INFO_SUBNETMASK 9 |
◆ PSP_NET_APCTL_INFO_USE_PROXY
#define PSP_NET_APCTL_INFO_USE_PROXY 13 |
◆ PSP_NET_APCTL_INFO_WIFISP
#define PSP_NET_APCTL_INFO_WIFISP 18 |
◆ PSP_NET_APCTL_STATE_DISCONNECTED
#define PSP_NET_APCTL_STATE_DISCONNECTED 0 |
◆ PSP_NET_APCTL_STATE_EAP_AUTH
#define PSP_NET_APCTL_STATE_EAP_AUTH 5 |
◆ PSP_NET_APCTL_STATE_GETTING_IP
#define PSP_NET_APCTL_STATE_GETTING_IP 3 |
◆ PSP_NET_APCTL_STATE_GOT_IP
#define PSP_NET_APCTL_STATE_GOT_IP 4 |
◆ PSP_NET_APCTL_STATE_JOINING
#define PSP_NET_APCTL_STATE_JOINING 2 |
◆ PSP_NET_APCTL_STATE_KEY_EXCHANGE
#define PSP_NET_APCTL_STATE_KEY_EXCHANGE 6 |
◆ PSP_NET_APCTL_STATE_SCANNING
#define PSP_NET_APCTL_STATE_SCANNING 1 |
◆ sceNetApctlHandler
◆ sceNetApctlAddHandler()
Add an apctl event handler.
- Parameters
-
handler | - Pointer to the event handler function. |
pArg | - Value to be passed to the pArg parameter of the handler function. |
- Returns
- A handler id or < 0 on error.
◆ sceNetApctlConnect()
int sceNetApctlConnect |
( |
int |
connIndex | ) |
|
Connect to an access point.
- Parameters
-
connIndex | - The index of the connection. |
- Returns
- < 0 on error.
◆ sceNetApctlDelHandler()
int sceNetApctlDelHandler |
( |
int |
handlerId | ) |
|
Delete an apctl event handler.
- Parameters
-
handlerId | - A handler as created returned from sceNetApctlAddHandler. |
- Returns
- < 0 on error.
◆ sceNetApctlDisconnect()
Disconnect from an access point.
- Returns
- < 0 on error.
◆ sceNetApctlGetInfo()
Get the apctl information.
- Parameters
-
code | - One of the PSP_NET_APCTL_INFO_* defines. |
pInfo | - Pointer to a SceNetApctlInfo. |
- Returns
- < 0 on error.
◆ sceNetApctlGetState()
int sceNetApctlGetState |
( |
int * |
pState | ) |
|
Get the state of the access point connection.
- Parameters
-
pState | - Pointer to receive the current state (one of the PSP_NET_APCTL_STATE_* defines). |
- Returns
- < 0 on error.
◆ sceNetApctlInit()
int sceNetApctlInit |
( |
int |
stackSize, |
|
|
int |
initPriority |
|
) |
| |
Init the apctl.
- Parameters
-
stackSize | - The stack size of the internal thread. |
initPriority | - The priority of the internal thread. |
- Returns
- < 0 on error.
◆ sceNetApctlTerm()
Terminate the apctl.
- Returns
- < 0 on error.