Lw2 Programmer's Reference; Lw2 Protocol Description; General Lw2 Commands; View Product Type - Lightware RAP-B511-EU-K User Manual

Room automation panel
Table of Contents

Advertisement

 

6. LW2 Programmer's Reference

6
L W2 Programmer' s Reference
The device can be controlled through a reduced command set of LW2 protocol
commands to ensure the compatibility with other Lightware products. The
supported LW2 commands are described in this chapter.

LW2 Protocol Description

Ý

General LW2 Commands

Ý
Network Configuration
Ý
GPIO Configuration
Ý
LW2 Commands – Quick Summary
Ý
RAP-B511 series – User's Manual
6.1. LW2 Protocol Description
Below listed commands can be sent to the device in RAW format via the TCP/IP port no. 10001.
The device accepts commands surrounded by curly brackets - { } - and responds data surrounded by round
brackets - ( ) - only if a command was successfully executed.
Format
<in>
<out>
<in
>
2
<out
>
2
<loc>
<id>
<id²>
CrLf
6.2. General LW2 Commands
6.2.1. View Product Type
Description: The device responds its label.
Format
Command {i}
Response (I:<PRODUCT_TYPE>)CrLf
Explanation: The connected device is a RAP-B511-EU-K.
Legend: <PRODUCT_TYPE> shows type.
6.2.2. View Device Label
Description: The device responds its name.
Format
Command {label}
Response (LABEL=<DEVICE_LABEL>)CrLf
Explanation: The connected device is a RAP-B511-EU-K.
Legend: <DEVICE_LABEL> shows the label.
Explanation
Input number in 1 or 2 digit ASCII format (01, 5, 07, 16, etc.)
Output number in 1 or 2 digit ASCII format
Input number in 2 digit ASCII format (01, 02, 10, 12 etc.)
Output number in 2 digit ASCII format (01, 02, 10, 12 etc.)
Location number in 1, 2 or 3 digit ASCII format
id number in 1 or 2 digit ASCII format
id number in 2 digit ASCII format
Carriage return, Line feed (0x0D, 0x0A)
Space character (0x20)
Each command issued by the controller
Each response received from the router
Example
 {i}
 (I:RAP-B511-EU-K)
Example
 {label}
 (LABEL=RAP-B511)
40

Advertisement

Table of Contents
loading

Table of Contents