Plugin Commands: Price Common
Macros |
|
#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]
|
|
#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]
|
Detailed Description
Utility functions common to both Price Client / Server.
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
◆ 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