Coulomb Counter Callbacks#
These callbacks are contributed by the Coulomb Counter plugin.
Functions#
void
emberAfPluginCoulombCounterInitCallback(uint8_t *nbAdditiveModes, uint16_t *additiveModeConsumption)
Coulomb Counter Initializtion Callback.
void
emberAfPluginCoulombCounterThresholdReachedCallback(uint32_t recordedEnergyConsumption)
Coulomb Counter Threshold Callback.
Function Documentation#
emberAfPluginCoulombCounterInitCallback#
void emberAfPluginCoulombCounterInitCallback (uint8_t * nbAdditiveModes, uint16_t * additiveModeConsumption)
Coulomb Counter Initializtion Callback.
Parameters
N/A | nbAdditiveModes | number of additive modes |
N/A | additiveModeConsumption | location to store current consumption for each mode |
Called when Coulomb Counter is initialized. Should be used to configure additional additive modes
Definition at line
411
of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/ncp/doc/callback.doc
emberAfPluginCoulombCounterThresholdReachedCallback#
void emberAfPluginCoulombCounterThresholdReachedCallback (uint32_t recordedEnergyConsumption)
Coulomb Counter Threshold Callback.
Parameters
N/A | recordedEnergyConsumption |
Called when Coulomb Counter threshold has been reached.
Definition at line
420
of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/ncp/doc/callback.doc