pspsdk-1.0+beta2
pspwlan.h File Reference

Go to the source code of this file.

Functions

int sceWlanDevIsPowerOn (void)
 Determine if the wlan device is currently powered on.
int sceWlanGetSwitchState (void)
 Determine the state of the Wlan power switch.
int sceWlanGetEtherAddr (u8 *etherAddr)
 Get the Ethernet Address of the wlan controller.
int sceWlanDevAttach (void)
 Attach to the wlan device.
int sceWlanDevDetach (void)
 Detach from the wlan device.

Function Documentation

int sceWlanDevAttach ( void  )

Attach to the wlan device.

Returns
0 on success, < 0 on error.
int sceWlanDevDetach ( void  )

Detach from the wlan device.

Returns
0 on success, < 0 on error/
int sceWlanDevIsPowerOn ( void  )

Determine if the wlan device is currently powered on.

Returns
0 if off, 1 if on
int sceWlanGetEtherAddr ( u8 etherAddr)

Get the Ethernet Address of the wlan controller.

Parameters
etherAddr- pointer to a buffer of u8 (NOTE: it only writes to 6 bytes, but requests 8 so pass it 8 bytes just in case)
Returns
0 on success, < 0 on error
int sceWlanGetSwitchState ( void  )

Determine the state of the Wlan power switch.

Returns
0 if off, 1 if on