6.6.2. Switching an Input to All Outputs ................................................... 63
6.6.3. Locking the Video Port .................................................................... 63
6.6.4. Muting the Video Port ..................................................................... 63
6.6.5. Setting the Autoselect Policy .......................................................... 64
6.6.6. Changing the Autoselect-Included Input Ports .............................. 64
6.6.7. Changing the Input Port Priority ..................................................... 64
6.6.8. Querying the Connected Source ..................................................... 64
6.6.9. Querying the Connected Destinations ........................................... 64
6.6.10. Querying the Input Switching Capability ...................................... 65
6.6.11. Querying the Video Signal Presence ............................................ 65
6.6.12. HDCP Setting (Input Port) ............................................................. 65
6.6.13. HdcpMode ..................................................................................... 66
6.6.14. Querying Embedded Audio Presence .......................................... 66
6.6.15. Muting Embedded Audio .............................................................. 66
6.6.16. Setting Output Signal Type ........................................................... 66
6.6.17. Turning on Output 5V .................................................................... 67
6.7. CEC Command Sending ................................................................68
6.7.1. Simple CEC Code Sending .............................................................. 68
6.7.2. Remote Control Code Sending ....................................................... 68
6.8. Audio Port Settings....................................................................69
6.8.1. Switching Audio Input ..................................................................... 69
6.8.2. Querying the Connected Source ..................................................... 69
6.8.3. Querying the Connected Destinations ........................................... 69
6.8.4. Setting Autoselect Operation Mode ............................................... 69
6.8.5. Setting the Followed Video Port to Autoselect .............................. 70
6.8.6. Locking the Audio Port .................................................................... 70
6.8.7. Muting the Audio Port 1 .................................................................. 70
6.8.8. Muting the Audio Port 2 .................................................................. 71
6.8.9. Querying the Audio Signal Presence .............................................. 71
6.8.10. Analog Audio Output Volume (dB) Setting .................................. 71
6.8.11. Analog Audio Output Volume Percent Setting ............................ 71
6.8.12. Setting the Balance ....................................................................... 72
6.8.13. Analog Audio Output Level Setting by Steps (dB) ....................... 72
6.8.14. Analog Audio Output Level Setting by Steps in Percent ............. 72
6.8.15. Analog Audio Output Balance Setting by Steps .......................... 72
6.9. EDID Management .......................................................................73
6.9.1. Querying the Emulated EDIDs ......................................................... 73
6.9.2. Querying the Validity of a Dynamic EDID ....................................... 73
6.9.3. Query the Preferred Resolution of a User EDID ............................. 73
6.9.4. Emulating an EDID to an Input Port ................................................ 73
6.9.5. Emulating an EDID to All Input Ports .............................................. 74
6.9.6. Copying an EDID to User Memory .................................................. 74
6.9.7. Deleting an EDID from User Memory ............................................. 74
6.9.8. Resetting the Emulated EDIDs ........................................................ 74
MMX2 series – User's Manual
6.10. Ethernet Port Configuration ..................................................75
6.10.1. Setting the DHCP State ................................................................. 75
6.10.2. Changing the IP Address (Static) ................................................. 75
6.10.3. Changing the Subnet Mask (Static) ............................................. 75
6.10.4. Changing the Gateway Address (Static) ...................................... 76
6.10.5. Applying Network Settings ........................................................... 76
6.10.6. Setting the Hostname ................................................................... 76
6.11. Network Security .....................................................................77
6.11.1. Enabling/Disabling Ethernet Port ................................................. 77
6.11.2. Querying Network Service Port Number ...................................... 77
6.11.3. Enabling/Disabling Network Service Port .................................... 77
6.11.4. Querying the Username for Authentication ................................. 77
6.11.5. Setting Password for Authentication ........................................... 78
6.11.6. Enabling Authentication ................................................................ 78
6.12. Serial Port Configuration .......................................................79
6.12.1. BAUD Rate Setting ......................................................................... 79
6.12.2. Stop Bits Setting ............................................................................ 79
6.12.3. Querying Data Bits ......................................................................... 79
6.12.4. Parity Setting ................................................................................. 79
6.12.5. Querying the Serial over IP Port Number ..................................... 80
6.12.6. Enabling the Serial over IP Port .................................................... 80
6.13. Serial Port Messaging .............................................................80
6.13.1. Sending a Message via RS-232 .................................................... 80
6.14. GPIO Port Configuration .........................................................81
6.14.1. Setting the Direction of a GPIO Pin .............................................. 81
6.14.2. Setting the Output Level of a GPIO Pin ........................................ 81
6.14.3. Setting the Output Level for a Specified Time ............................. 81
6.14.4. Toggling the Level of a GPIO Pin .................................................. 81
6.15. OCS Port Configuration ...........................................................82
6.15.1. Querying the Input Level of an OCS Pin ....................................... 82
6.15.2. Setting the Sensor Type ................................................................ 82
6.15.3. Querying the Reported OCS State ................................................ 82
6.16. Updating the Device via REST API .............................................83
6.16.1. Querying the Update REST API Version ....................................... 83
6.16.2. The Updating Process ................................................................... 83
6.16.3. Uploading the Package ................................................................. 84
6.16.4. Configuration Parameters – Keep the Current Settings ............. 84
6.16.5. Executing the Update .................................................................... 85
6.16.6. Querying the State of the Updating Process ............................... 85
6.17. Lightware REST API Quick Summary.........................................86
7. LW3 PROGRAMMERS' REFERENCE ...............................................90
7.1. Overview ......................................................................................91
7.2. Instructions for the Terminal Application Usage ....................91
7.3. Websocket (WS) or Secured Websocket (WSS) Usage ................91
Applied firmware package: v2.9.0b6 | LDC software: v2.7.6b4
7.4. Protocol Rules ...........................................................................92
7.4.1. LW3 Tree Structure and Command Structure (examples) ............ 92
7.4.2. General Rules ................................................................................... 92
7.4.3. Legend for the Control Commands ................................................ 92
7.4.4. Command Types ............................................................................. 93
7.4.5. Prefix Summary ............................................................................... 93
7.4.6. Error Messages ............................................................................... 93
7.4.7. Escaping .......................................................................................... 93
7.4.8. Signature .......................................................................................... 94
7.4.9. Subscription ..................................................................................... 94
7.4.10. Notifications about the Changes of the Properties .................... 94
7.5. System Commands.......................................................................95
7.5.1. Setting the Device Label ................................................................. 95
7.5.2. Resetting the Device........................................................................ 95
7.5.3. Restoring the Factory Default Settings .......................................... 95
7.5.4. Querying the Firmware Package Version ....................................... 95
7.5.5. Control Lock ..................................................................................... 95
7.5.6. Setting the Current Time ................................................................. 95
7.5.7. Identifying the Device ...................................................................... 96
7.5.8. Toggling the Dark Mode Setting ..................................................... 96
7.5.9. Setting the Delay of the Dark Mode Setting ................................... 96
7.6. Video Port Settings - General ....................................................96
7.6.1. Switching Video Input ..................................................................... 96
7.6.2. Switching an Input to All Outputs ................................................... 96
7.6.3. Locking the Video Port .................................................................... 96
7.6.4. Muting the Video Port ..................................................................... 97
7.6.5. Setting the Autoselect Policy .......................................................... 97
7.6.6. Changing the Autoselect Included Input Ports .............................. 97
7.6.7. Changing the Input Port Priority ..................................................... 97
7.6.8. Querying the Connected Source ..................................................... 97
7.6.9. Querying the Input Switching Capability ........................................ 98
7.6.10. Querying the Connected Destinations ......................................... 98
7.6.11. Querying the Video Signal Presence ............................................ 98
7.6.12. HDCP Setting (Input Port) ............................................................. 98
7.6.13. HdcpMode ..................................................................................... 98
7.6.14. OutputSignalType .......................................................................... 99
7.6.15. EmbeddedAudioPresent ............................................................... 99
7.6.16. EmbeddedAudioMute ................................................................... 99
7.6.17. Output5VMode .............................................................................. 99
7.6.18. HDCP Capability (Output Port) ..................................................... 99
7.6.19. HDCP Setting (Output Port) ........................................................ 100
7.7. Audio Port Settings..................................................................100
7.7.1. Switching Audio Input ................................................................... 100
7.7.2. Querying the Connected Source ................................................... 100
5
Need help?
Do you have a question about the MMX2-4x3-H20 and is the answer not in the manual?