Plugin Commands: Multi-Network Price Passthrough

Macros

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MN_PRICE_PASSTHROUGH_PLUGIN_MN_PRICE_PASSTHROUGH_PRINT
plugin mn-price-passthrough print
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MN_PRICE_PASSTHROUGH_PLUGIN_MN_PRICE_PASSTHROUGH_SET_ROUTING
plugin mn-price-passthrough set-routing [fwdId:2] [fwdEndpoint:1] [esiEndpoint:1]
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MN_PRICE_PASSTHROUGH_PLUGIN_MN_PRICE_PASSTHROUGH_START
plugin mn-price-passthrough start
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MN_PRICE_PASSTHROUGH_PLUGIN_MN_PRICE_PASSTHROUGH_STOP
plugin mn-price-passthrough stop

Detailed Description

The Multi-Network Price Passthrough plugin is a plugin designed to demonstrate multi-network functionality by passing data from a "real" ESI on one network to a "proxy" ESI on another network via periodic polling and forwarding.

Macro Definition Documentation

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MN_PRICE_PASSTHROUGH_PLUGIN_MN_PRICE_PASSTHROUGH_PRINT

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MN_PRICE_PASSTHROUGH_PLUGIN_MN_PRICE_PASSTHROUGH_PRINT

plugin mn-price-passthrough print

  • Print the current price known to the proxy esi.

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MN_PRICE_PASSTHROUGH_PLUGIN_MN_PRICE_PASSTHROUGH_SET_ROUTING

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MN_PRICE_PASSTHROUGH_PLUGIN_MN_PRICE_PASSTHROUGH_SET_ROUTING

plugin mn-price-passthrough set-routing [fwdId:2] [fwdEndpoint:1] [esiEndpoint:1]

  • Set the routing parameters.
    • fwdId - INT16U - The node id of the forwarding endpoint.
    • fwdEndpoint - INT8U - The forwarding endpoint.
    • esiEndpoint - INT8U - The endpoint of the proxy ESI.

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MN_PRICE_PASSTHROUGH_PLUGIN_MN_PRICE_PASSTHROUGH_START

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MN_PRICE_PASSTHROUGH_PLUGIN_MN_PRICE_PASSTHROUGH_START

plugin mn-price-passthrough start

  • Starts polling and forwarding.

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MN_PRICE_PASSTHROUGH_PLUGIN_MN_PRICE_PASSTHROUGH_STOP

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MN_PRICE_PASSTHROUGH_PLUGIN_MN_PRICE_PASSTHROUGH_STOP

plugin mn-price-passthrough stop

  • Stops polling and forwarding.