![Nke Watteco LWC Server Скачать руководство пользователя страница 20](http://html1.mh-extra.com/html/nke-watteco/lwc-server/lwc-server_user-manual_1697344020.webp)
LWC Server User Guide
All Rights Reserved – nke Watteco®
LWC Server User Guide
Page 20 of 25
6.4.9
MAC:
S
ENDING
/R
ECEIVING
MAC
FRAMES
This resource is used to send a MAC frame (or display a received MAC frame) to (or from) one of the
provisioned end-devices. This allows especially to choose the LoRaWAN port on which the frame will be sent.
By default, this port is 125.
If the port chosen by the user is 6, then a 6lowpan header (7EF700F3450000) is added to the frame.
6.4.9.1
<S
ET
>
C
OMMAND
Request:
<Set><MS><DevRef><MS>
{MAC}
=[<FPort>]<FS><HexStr>
<HexStr> ::=
The ZCL frame presented as a hexadecimal string.
Use example:
SET 3 MAC=10,1105001300552000
Response:
<RSet><MS><DevRef><MS><status>
<status>::=
<StatusG>
(cf.
§6.3
)
Response example:
RSET 0100676A SUCCESS MAC
Actions:
If the request succeed, a frame is directly send to the end-device if the latter is a class C device. For the
class A devices, the frame is stored, waiting for an uplink from the end-device.
In case of a fail, the HOST application has to manage a buffer or a retry procedure in order to be sure that
the frame has been sent.
6.4.9.2
<I
NDIC
>
C
OMMAND
Indication:
<Indic><MS><DevRef><MS>
{MAC}
=<Direction><FS><FPort><FS><FCountUp><FS><HexSt
r>
<Direction> :
Frame direction
-
{NONE | N}
: None
-
{UP | U}
:
Uplink (End-device
LWC Server)
-
{DOWN | D}
: Downlink (LWC Server
End-device)
-
{BOTH | B}
: Uplink and Downlink
-
{JOIN REQUEST | JR}
:
Join Request (End-device
LWC Server)
<HexStr> ::=
The ZCL frame presented as a hexadecimal string.
Example:
INDIC 01006768 MAC=UP,125,3,110A00520000410C000000000000000000000000
Содержание LWC Server
Страница 1: ...LWC SERVER USER GUIDE...