LWC Server User Guide
All Rights Reserved – nke Watteco®
LWC Server User Guide
Page 7 of 25
6
C
OMMAND
I
NTERPRETER
6.1
E
XCHANGES DESCRIPTION
The exchange protocol used for the LoRaWAN Coordinator Command Line Interpreter (LWCCLI) is built with
ASCII frame made up of 7 bits characters ended with the <EOL> character.
It allows 2 types of simple exchanges:
The “Request/Response”:
HOST
<Request>
LWC
HOST
<Response>
LWC
The “Indications”:
HOST
<Indication>
LWC
The responses can either directly return the required data or constitute a simple acknowledgement to the
request. The requested data may be sent later as an
<Indication>.
Typically, this is the way of working
for frames sent to the end-devices.
A general representation of each 3 possible command lines can be seen here below:
<Request> ::=
<Cmd>
<MS><DevRef>[<Param><Op><Val>]
<EOL>
<Response> ::=
<ResType><Cmd>
<MS><DevRef><MS><status>[<MS><Param>[<Oper><Val>]]
<EOL>
<Indic>
::=
<Ind>
<MS><DevRef>[<MS><Param>[<Op><Val>]]
<EOL>
Each <KeyWord> is defined in the following chapters
N.B.
The KeyWords accept two formats: a short one and a long one (ex:
DEVICE_LIST
<->
DL
). Indeed, a
specific LWC Server parameter allows to choose the wanted format:
VERBOSE
.
All the non-numerical values has to respect the letter case
Summary of Contents for LWC Server
Page 1: ...LWC SERVER USER GUIDE...