Functions | |
NUMBER | wlan.connect () |
Connects to the network using the default dialog Sony. More... | |
NUMBER | wlan.connect (NUMBER net) |
Connects to the network, without dialog. More... | |
NIL | wlan.autoconnect (NUMBER mode) |
Enables the AutoConnect in the background of wifi. More... | |
NIL | wlan.autoconnect (NUMBER mode, NUMBER scantime) |
Enables the AutoConnect in the background of wifi. More... | |
BOOLEAN | wlan.autostatus () |
Allows to know if the AutoConnect in thread mode is activated. More... | |
BOOLEAN | wlan.isconnected () |
Checks if the console is connected to a network. More... | |
STRING | wlan.over () |
Gets the name of the established connection. More... | |
NUMBER | wlan.status () |
Check the status of the wlan connection. More... | |
STRING | wlan.getip () |
Gets the local IP assigned by the access point to our console. More... | |
TABLE | wlan.getconfigs () |
Gets the network configurations detected in the PSP. More... | |
NUMBER | wlan.strength () |
Signal strength of a wireless access point connected. More... | |
BOOLEAN | wlan.add (STRING name, STRING ssid, STRING security, STRING pass) |
Allows you to add a network configuration on the console. More... | |
BOOLEAN | wlan.copy (NUMBER index1, NUMER index2) |
Allows you to copy a configuration to an existing network. More... | |
BOOLEAN | wlan.delete (NUMBER index) |
Allows deleting a Wifi access point. More... | |
BOOLEAN | wlan.backup (STRING backup) |
Backup network configurations. More... | |
BOOLEAN | wlan.restore (STRING backup) |
Restore the network settings using the backup created when use wlan.backup(). More... | |
BOOLEAN | wlan.restore (STRING backup, NUMBER rewrite) |
Restore the network settings using the backup created when use wlan.backup(). More... | |
TABLE | wlan.scan () |
Allows to obtain a table with data from networks close to the PSP. More... | |
NIL | wlan.disconnect () |
Disconnect wlan. More... | |
Wifi Connection.
NUMBER wlan.connect | ( | ) |
Connects to the network using the default dialog Sony.
NUMBER wlan.connect | ( | NUMBER | net | ) |
Connects to the network, without dialog.
net | The network that connects (1 for the first configured network, 2 for second and so on). |
NIL wlan.autoconnect | ( | NUMBER | mode | ) |
Enables the AutoConnect in the background of wifi.
mode | Any of the following values:
|
NIL wlan.autoconnect | ( | NUMBER | mode, |
NUMBER | scantime | ||
) |
Enables the AutoConnect in the background of wifi.
mode | Any of the following values:
|
scantime | Time in seconds between each scan. |
BOOLEAN wlan.autostatus | ( | ) |
Allows to know if the AutoConnect in thread mode is activated.
BOOLEAN wlan.isconnected | ( | ) |
Checks if the console is connected to a network.
STRING wlan.over | ( | ) |
Gets the name of the established connection.
NUMBER wlan.status | ( | ) |
Check the status of the wlan connection.
STRING wlan.getip | ( | ) |
Gets the local IP assigned by the access point to our console.
TABLE wlan.getconfigs | ( | ) |
Gets the network configurations detected in the PSP.
NUMBER wlan.strength | ( | ) |
Signal strength of a wireless access point connected.
BOOLEAN wlan.add | ( | STRING | name, |
STRING | ssid, | ||
STRING | security, | ||
STRING | pass | ||
) |
Allows you to add a network configuration on the console.
name | name of the new network. |
ssid | SSID of the network, this can be obtained by wlan.scan (). |
security | protection, the new network type, this can be obtained by wlan.scan (), it can be any of the following values:
|
pass | new network password. |
BOOLEAN wlan.copy | ( | NUMBER | index1, |
NUMER | index2 | ||
) |
Allows you to copy a configuration to an existing network.
index1 | It is the network settings to copy; It is the index obtained using wlan.getconfigs(). |
index2 | It is the destination network configuration; It is the index obtained using wlan.getconfigs() ; The network configuration will be replaced. |
BOOLEAN wlan.delete | ( | NUMBER | index | ) |
Allows deleting a Wifi access point.
index | It is the network settings to eliminate; It is the index obtained using wlan.getconfigs(). |
BOOLEAN wlan.backup | ( | STRING | backup | ) |
Backup network configurations.
backup | It is the path where the backup will be saved, you must include the file name: wlan.backup ("netconfig.bak"). |
BOOLEAN wlan.restore | ( | STRING | backup | ) |
Restore the network settings using the backup created when use wlan.backup().
backup | Is the path of the backup to restore, should include the file name: wlan.restore("netconfig.bak"). |
BOOLEAN wlan.restore | ( | STRING | backup, |
NUMBER | rewrite | ||
) |
Restore the network settings using the backup created when use wlan.backup().
backup | Is the path of the backup to restore, should include the file name: wlan.restore("netconfig.bak"). |
rewrite | It is the way to restore, you must put the value 1 to overwrite networks (your current networks will be lost). |
TABLE wlan.scan | ( | ) |
Allows to obtain a table with data from networks close to the PSP.
NIL wlan.disconnect | ( | ) |
Disconnect wlan.