LW3 Commands
Get Command
also be used to get the value of a property.
‘n-’: node
‘pr’: property - only readable
‘pw’: property - writable, readable
‘m-’: method executable
Get All Children of a Node
Get all of the child nodes of a parent node, with one GET command.
Command format: GET●
Response format: n-●
Example:
˃ GET /MEDIA
˂ n- /MEDIA/VIDEO
˂ n- /MEDIA/AUDIO
˂ n- /MEDIA/UART
˂ n- /MEDIA/KM
˂ n- /MEDIA/GPIO
˂ n- /MEDIA/ETHERNET
Get All Properties and Methods of a Node
Get all properties and methods of a node, with one GET command and asterisk character.
Command format: GET●
Response format: (for properties)
●
Legend:
‘r’: read-only
‘w’: read-write
Response format: (for methods)
m-●
Example:
˃ GET /EDID.*
˂ pr /EDID.EdidStatus=D1:E1;D1:E2;D1:E3;D1:E4
˂ m- /EDID:switch
˂ m- /EDID:switchAll
˂ m- /EDID:copy
˂ m- /EDID:delete
˂ m- /EDID:reset
Get All Child Nodes, Properties and Methods of a Node
Get all child nodes, properties and methods of a node with one command, without using a wild card.
Command format: GETALL●
Response format: (for nodes)
n-●
Response format: (for properties)
●
Legend:
‘r’: read-only
‘w’: read-write
Response format: (for methods)
m-●