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/AnbAdditiveModes

number of additive modes

N/AadditiveModeConsumption

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 ./app/ncp/doc/callback.doc

emberAfPluginCoulombCounterThresholdReachedCallback#

void emberAfPluginCoulombCounterThresholdReachedCallback (uint32_t recordedEnergyConsumption)

Coulomb Counter Threshold Callback.

Parameters
N/ArecordedEnergyConsumption

Called when Coulomb Counter threshold has been reached.


Definition at line 420 of file ./app/ncp/doc/callback.doc