Plugin Commands: Price Common#

Utility functions common to both Price Client / Server.

Macros#

#define

plugin price-common adj-st-t [startTimeUtc:4] [durationType:1]

#define

plugin price-common cnvrt-durn-to-sec [startTimeUtc:4] [duration:4] [durationType:1]

Macro Definition Documentation#

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_PRICE_COMMON_PLUGIN_PRICE_COMMON_ADJ_ST_T#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_PRICE_COMMON_PLUGIN_PRICE_COMMON_ADJ_ST_T

plugin price-common adj-st-t [startTimeUtc:4] [durationType:1]

  • Calculates a new UTC start time value based on the duration type parameter.

    • startTimeUtc - INT32U

    • durationType - INT8U


Definition at line 5095 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_PRICE_COMMON_PLUGIN_PRICE_COMMON_CNVRT_DURN_TO_SEC#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_PRICE_COMMON_PLUGIN_PRICE_COMMON_CNVRT_DURN_TO_SEC

plugin price-common cnvrt-durn-to-sec [startTimeUtc:4] [duration:4] [durationType:1]

  • Converts the duration to a number of seconds based on the duration type parameter.

    • startTimeUtc - INT32U

    • duration - INT32U

    • durationType - INT8U


Definition at line 5103 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc