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#

Trust Center Keepalive

API#

void

Tick the network event.

void

Macros#

#define
EMBER_AF_PLUGIN_TRUST_CENTER_KEEPALIVE_DELAY_INTERVAL (EMBER_AF_PLUGIN_TRUST_CENTER_KEEPALIVE_INTERVAL * MILLISECOND_TICKS_PER_MINUTE)

API Documentation#

emberAfPluginTrustCenterKeepaliveTickNetworkEventHandler#

void emberAfPluginTrustCenterKeepaliveTickNetworkEventHandler (sl_zigbee_event_t *event)

Tick the network event.

Parameters
N/Aevent

* event Ver.: always


Definition at line 70 of file app/framework/plugin/trust-center-keepalive/trust-center-keepalive.h

emberAfPluginTrustCenterKeepaliveEnable#

void emberAfPluginTrustCenterKeepaliveEnable (void)

Enable keep alive.

Parameters
N/A

Definition at line 75 of file app/framework/plugin/trust-center-keepalive/trust-center-keepalive.h

emberAfPluginTrustCenterKeepaliveDisable#

void emberAfPluginTrustCenterKeepaliveDisable (void)
Parameters
N/A

Disable keep alive.


Definition at line 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_INTERVAL
Value:
  (EMBER_AF_PLUGIN_TRUST_CENTER_KEEPALIVE_INTERVAL * MILLISECOND_TICKS_PER_MINUTE)

Definition at line 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_LIMIT
Value:
3

Definition at line 58 of file app/framework/plugin/trust-center-keepalive/trust-center-keepalive.h