7. LW3 Programmers’ Reference
RAP-B511 series
– User's Manual
88
Applied firmware package: v1.1.0b3b3 | LDC software: v2.5.1b5
7.14.9.
Apply Network Settings
Always call the
Apply settings
function to save the network settings.
Command and Response
ç
CALL·/MANAGEMENT/NETWORK:ApplySettings()
æ
mO /MANAGEMENT/NETWORK:ApplySettings
Example
ç
CALL /MANAGEMENT/NETWORK:ApplySettings()
æ
mO /MANAGEMENT/NETWORK:ApplySettings
7.15.
Ethernet Tool Kit
DIFFERENCE:
This feature and below commands are available from FW package v1.1.0b3.
7.15.1.
Device Filter Based on MAC Address
You can create a list of network devices based on the MAC address which are allowed controlling the device,
or querying parameters to/from the Lightware device.
#macfilter
#new
Command and Response
ç
SET·/MANAGEMENT/MACFILTER.MACaddress
<loc>
=
<MAC_address>
;
<receive>
;
<send>
;
<name>
æ
pw·/MANAGEMENT/MACFILTER.MACaddress
<loc>
=
<MAC_address>
;
<receive>
;
<send>
;
<name>
The filter is disabled as default. Set the
FilterEnable
property to
true
as shown in the example.
Parameters
Parameter
Parameter description
Values
Value description
<loc>
Location of the address
1-8
The default values of
1, 2
and
3
ensure that
address resolution and device discovery
continue to work after enabling the MAC
filter
<MAC_address>
The MAC address of the
device
Unique value Hex format, divided by a colon
<receive>
Enable/disable the
parameter querying option
false
(or
0
)
The device is
not allowed
to query
parameters from the LW device
true
(or
1
)
The device is
allowed
to query parameters
from the LW device
<send>
Enable/disable the
parameter setting option
false
(or
0
)
The device is
not allowed
to change
parameters in the LW device
true
(or
1
)
The device is
allowed
to change parameters
in the LW device
<name>
Unique name for the better
identification (optional)
Any string
Up to 5 ASCII characters (longer names
are truncated)
Example
ç
SET /MANAGEMENT/MACFILTER/MACaddress4=(04:D4:C4:4D:01:43;1;1;Tech)
æ
pw /MANAGEMENT/MACFILTER/MACaddress4=(04:D4:C4:4D:01:43;1;1;Tech)
ç
SET /MANAGEMENT/MACFILTER.FilterEnable=true
æ
pw /MANAGEMENT/MACFILTER.FilterEnable=true
New MAC address is saved into the 4th property with name 'Tech', which may query/set parameters from/in
the Lightware device. The
FilterEnable
property is set to
true
, thus, the filter is enabled.