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

#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.
#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.
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MN_PRICE_PASSTHROUGH_PLUGIN_MN_PRICE_PASSTHROUGH_START

plugin mn-price-passthrough start

  • Starts polling and forwarding.
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_MN_PRICE_PASSTHROUGH_PLUGIN_MN_PRICE_PASSTHROUGH_STOP

plugin mn-price-passthrough stop

  • Stops polling and forwarding.