beautypg.com

Port commands – Silex technology Embedded Intelligent Module SX-560 User Manual

Page 84

background image

Page 78

Silex

Console Commands

Part Number 140-00192-100

Command

Description

SET NW
WPAPSK

Sets WPA PSK pass phrase or hex key.

This value is only used if the authentication mode is WPA-PSK or WPA2-PSK. The
argument to this command is either a pass phrase of 8 to 63 characters or exactly
64 hex characters representing the 256 bit PSK value.

Format:

SET NW WPAPSK

SH NW DISCONN Displays the current value of the network disconnection timer

Sample output:

Disconnect Timer: 5

SET NW
DISCONN*

Sets the period of the network link disconnection watchdog timer. In wireless
infrastructure mode, this timer monitors the wireless link, and if the unit is not
connected to an AP for the time specified, the unit is reset.

SET NW DISCONN nn

N = 0

watchdog timer is disabled

1-255

watchdog timer period in minutes


The factory default value is 5 minutes.

This timer also controls a receive activity monitor when the wireless network link is
connected. If no packets are received during the time specified, and the link
remains up, the unit will reset at the end of the time period.

SET NW RESET*

This command stops, and then resets the wireless network interface. This will
effectively disassociate the unit from an access point if it is connected. If the unit is
in wireless infrastructure mode, the unit will then scan and attempt to reconnect to a
suitable access point, if one is available.


Format:

SET NW RESET


*Not implemented in early releases of SX-560 firmware.

Port Commands

Table 35 Port Commands

.

Command

Description

SH PORT

Shows port parameters
Sample output:

Port Q-Size Type Attributes

*S1 0 serial 115200 N 8 1 XON/XOFF

Note: Examples shown are for Serial Port (S1). To use the commands with Serial Port 2 (S2), substitute the

port name S2 instead of S1 in the command