Техническая Спецификация для Atmel ATSAM3S-EK2
Atmel AVR2055
25
8348D-AVR-06/12
press the
SW0
button within five seconds after reset, or otherwise the default
precompiled link keys are used (see Section
NOTE
Swap out functionality is available only as part of
_SESec_
application configurations;
that is, those configurations which rely on the Certicom ECC-based key establishment
mechanism.
4.10 Integrated ESP and Meter
The application implementing both Energy Service Portal (ESP) and the Meter may
be compiled from reference application’s sources if (in the
configuration.h
file):
•
APP_DEVICE_TYPE_ESP
is defined
•
APP_ENABLE_INTEGRATED_METER
is set to
1
ESP’s clusters and Meter’s clusters reside on different endpoints. For ZCL layer,
which supports interactions between clusters, it does not matter whether a command
is sent to the same or to a different network address, because the actual destination
for a command is an endpoint. Requests addressed to the own network address
traverse to the network layer of the BitCloud stack, which sends them back to the
upper stack layers so that requests eventually reach the destination endpoint. Thus,
the multi-layer architecture of the ZigBee stack allows producing a single physical
device that brings two separate logical devices to the network. The reference
The service endpoint for the integrated ESP and Meter is the same as for the ESP,
and so such device acts as the ZigBee coordinator, being able to form a network, and
the trust center, distributing link keys to other devices. The application for the
integrated ESP and Meter is, in fact, implemented as the ESP application that
registers additional endpoint with the server side of the metering cluster.
Note that the value of the Current Summation Delivered attribute starts from zero and
Note that the value of the Current Summation Delivered attribute starts from zero and
is incremented every 10 seconds (the
DELAY_TILL_NEXT_MEASUREMENT
constant
constant’s value).
UART output is combined of ESP’s and Meter’s output messages.
UART output is combined of ESP’s and Meter’s output messages.