Plugin Commands: Simple Metering Server

Macros

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SIMPLE_METERING_SERVER_PLUGIN_SIMPLE_METERING_SERVER_CONFIGURE_MIRROR
plugin simple-metering-server configure-mirror [client:2] [serverEndpoint:1] [clientEndpoint:1] [IssuerEventId:4] [ReportingInterval:4] [mirrorNotificationReporting:1] [NotificationScheme:1]
#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SIMPLE_METERING_SERVER_PLUGIN_SIMPLE_METERING_SERVER_TOGGLE_FAST_POLL_MODE
plugin simple-metering-server toggle-fast-poll-mode [enableFastPolling:1]

Detailed Description

The simple-metering-server plugin contributes CLI commands to the application framework to be used in conjunction with the Simple Metering cluster in a server context

Macro Definition Documentation

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SIMPLE_METERING_SERVER_PLUGIN_SIMPLE_METERING_SERVER_CONFIGURE_MIRROR

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SIMPLE_METERING_SERVER_PLUGIN_SIMPLE_METERING_SERVER_CONFIGURE_MIRROR

plugin simple-metering-server configure-mirror [client:2] [serverEndpoint:1] [clientEndpoint:1] [IssuerEventId:4] [ReportingInterval:4] [mirrorNotificationReporting:1] [NotificationScheme:1]

  • Send configure mirror command to Metering client.
    • client - INT16U - The network address of the server to which the request will be sent.
    • serverEndpoint - INT8U - The local endpoint from which the request will be sent.
    • clientEndpoint - INT8U - The remote endpoint to which the request will be sent.
    • IssuerEventId - INT32U - The issuer event Id as specified by the device.
    • ReportingInterval - INT32U - 3 bytes of Reporting Interval value.
    • mirrorNotificationReporting - INT8U - Mirror Notification Reporting value
    • NotificationScheme - INT8U - Mirror Notification Reporting value

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SIMPLE_METERING_SERVER_PLUGIN_SIMPLE_METERING_SERVER_TOGGLE_FAST_POLL_MODE

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SIMPLE_METERING_SERVER_PLUGIN_SIMPLE_METERING_SERVER_TOGGLE_FAST_POLL_MODE

plugin simple-metering-server toggle-fast-poll-mode [enableFastPolling:1]

  • Disable fast polling mode for testing.
    • enableFastPolling - INT8U - 1 to enable, 0 to disable fast polling mode.