Trust Center Keepalive#
API and Callbacks for the Trust Center Keepalive Component.
Silicon Labs implementation of Trust Center Keepalive for SE 1.2b The component periodically sends keepalive signals to the trust center to verify that it is accessible. If the trust center fails to acknowledge a series of keepalive signals, the component searches for another instance of the trust center on a different channel or short PAN ID. The frequency with which the component sends the keepalive signals has a default, but is ultimately determined by the attributes on the Trust Center. This component periodically reads the "TC Keep-Alive Base" and "TC Keep-Alive Jitter" to determine the rate that it will send future keepalives. Trust Center Keepalive is part of the optional Trust Center Swap-Out feature of Smart Energy 1.1. Devices are not required to implement this functionality. The trust center does not send keepalives, so this component should be disabled if the device is acting as the trust center.
Modules#
API#
Tick the network event.
Enable keep alive.
Macros#
API Documentation#
emberAfPluginTrustCenterKeepaliveTickNetworkEventHandler#
void emberAfPluginTrustCenterKeepaliveTickNetworkEventHandler (sl_zigbee_event_t * event)
Tick the network event.
N/A | event | * event Ver.: always |
70
of file app/framework/plugin/trust-center-keepalive/trust-center-keepalive.h
emberAfPluginTrustCenterKeepaliveEnable#
void emberAfPluginTrustCenterKeepaliveEnable (void )
Enable keep alive.
N/A |
75
of file app/framework/plugin/trust-center-keepalive/trust-center-keepalive.h
emberAfPluginTrustCenterKeepaliveDisable#
void emberAfPluginTrustCenterKeepaliveDisable (void )
N/A |
Disable keep alive.
80
of file app/framework/plugin/trust-center-keepalive/trust-center-keepalive.h
Macro Definition Documentation#
EMBER_AF_PLUGIN_TRUST_CENTER_KEEPALIVE_DELAY_INTERVAL#
#define EMBER_AF_PLUGIN_TRUST_CENTER_KEEPALIVE_DELAY_INTERVALValue:
(EMBER_AF_PLUGIN_TRUST_CENTER_KEEPALIVE_INTERVAL * MILLISECOND_TICKS_PER_MINUTE)
52
of file app/framework/plugin/trust-center-keepalive/trust-center-keepalive.h
EMBER_AF_PLUGIN_TRUST_CENTER_KEEPALIVE_FAILURE_LIMIT#
#define EMBER_AF_PLUGIN_TRUST_CENTER_KEEPALIVE_FAILURE_LIMITValue:
3
58
of file app/framework/plugin/trust-center-keepalive/trust-center-keepalive.h