6. LW2 Programmer's Reference
6.6. LW2 Commands – Quick Summary
General LW2 Commands
Querying the Supported Commands
{LCMD}
Querying the Product Type
{i}
Querying the Device Label
{LABEL}
Querying the Control Protocol
{P_?}
Querying the Current Firmware Package Version
{F}
View Firmware for All Controllers
{FC}
Connection Test
{PING}
Querying the Serial Number
{S}
Compile Time
{CT}
Querying the Health Status
{ST}
View Installed Board
{IS}
Restarting the Device
{RST}
Restoring the Factory Default Settings
{FACTORY=ALL}
RAP-B511 series – User's Manual
Network Configuration
GPIO Port Configuration
Applied firmware package: v1.1.0b3b3 | LDC software: v2.5.1b5
Querying the Current IP Status
{IP_STAT=?}
Setting the IP Address
{IP_ADDRESS=<type>;<ip_address>}
Setting the Subnet Mask
{IP_NETMASK=<subnet_mask>}
Setting the Gateway Address
{IP_GATEWAY=<gateway_addr>}
Applying the Network Settings
{ip_apply}
Enable/disable the Ethernet Port
{ETH_ENABLE=<switch>}
Setting the Level and Direction for Each Pins
{GPIO<pin_nr>=<dir>;<level>}
64