# Name of the plugin.
name=Partner Link Key Exchange
category=Smart Energy

# Any string is allowable here.  Generally it is either: Production Ready, Test Tool, or Requires Extending
qualityString=Production Ready (Certifiable)
# This must be one of the following:  productionReady, testTool, extensionNeeded
quality=production

#requiredApis=address-table
requiredPlugins=address-table

introducedIn=se-1.1-07-5356-16

# Description of the plugin.
description=Ember implementation of Partner Link Key Exchange.  Partner link key exchange is a feature in Smart Energy where a device may obtain an APS link key with another, non-trust center device.  This code handles the necessary process to request a link key with a partner device, then contact the trust center and ask it to generate a new link key and send it securely to both devices.

# List of .c files that need to be compiled and linked in.
sourceFiles=partner-link-key-exchange.c, partner-link-key-exchange-cli.c

# List of callbacks implemented by this plugin
implementedCallbacks=emberAfInitiatePartnerLinkKeyExchangeCallback,emberAfPartnerLinkKeyExchangeRequestCallback,emberAfPartnerLinkKeyExchangeResponseCallback

# Turn this on by default
includedByDefault=true

# Which clusters does it depend on
dependsOnClusterClient=key establishment
dependsOnClusterServer=key establishment

options=timeoutSeconds

timeoutSeconds.name=Timeout (in seconds)
timeoutSeconds.description=The amount of time, in seconds, the plugin will wait for a partner link key exchange request to complete.
timeoutSeconds.type=NUMBER:1,255
timeoutSeconds.default=5

events=timeout
timeout.type=network

setup(bookkeeping) {
  zigbeeKeyEstablishment=emberAfPluginPartnerLinkKeyExchangeZigbeeKeyEstablishmentCallback
}