Lw3 Commands; Get Command - Lightware HDMI-TPS-TX210 User Manual

Hdbaset multimedia extender
Hide thumbs Also See for HDMI-TPS-TX210:
Table of Contents

Advertisement

 
7. LW3 Programmer's Reference
7.3. LW3 Commands
7.3.1. Get Command
The 'GET' command can be used to get the child nodes, properties and methods of a specific node. It can
also be used to get the value of a property.
The Response Format
The first two characters of a response unambiguously identify the type of the element that the response
line concerns. The first character is the type of the element (node, property or method), the second is for
miscellaneous information (e.g. read/write rights).
The defined prefixes are:
'n-':
'pr':
'pw':
'm-':
After the prefix, the response contains the full path of the node, property or method after a space character.
Get All Children of a Node
Get all of the child nodes of a parent node, with one GET command.
Command format:
GET●[nodePath]
Response format:
n-●[nodePath]
Example:
˃ GET /MEDIA
˂ n- /MEDIA/VIDEO
˂ n- /MEDIA/AUDIO
˂ n- /MEDIA/UART
˂ n- /MEDIA/IR
˂ 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●[nodePath].*
Response format: (for properties)
pX●[nodePath].[propertyName]=[parameter]
node
property - only readable
property - writable, readable
method executable
HDMI-TPS-TX200 series – User's Manual
Legend:
Response format: (for methods)
m-●[nodePath]:[methodName]
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●[nodePath]
Response format: (for nodes)
n-●[nodePath]
Response format: (for properties)
pX●[nodePath].[propertyName]=[parameter]
Legend:
Response format: (for methods)
m-●[nodePath]:[methodName]
X can be:
'r':
read-only
'w':
read-write
X can be:
'r':
read-only
'w':
read-write
52

Advertisement

Table of Contents
loading

Table of Contents