Green Power Client#

Callbacks for Green Power Client Component.

Callbacks#

void
emberAfGreenPowerClientGpdfSinkTableBasedForwardCallback(EmberGpAddress *addr, EmberGpSinkListEntry *sinkList, uint8_t maxNumberEntries)

Green power client Sink table based forward callback.

Callbacks Documentation#

emberAfGreenPowerClientGpdfSinkTableBasedForwardCallback#

void emberAfGreenPowerClientGpdfSinkTableBasedForwardCallback (EmberGpAddress * addr, EmberGpSinkListEntry * sinkList, uint8_t maxNumberEntries)

Green power client Sink table based forward callback.

Parameters
N/Aaddr

gpd address Ver.: always

N/AsinkList

sink list pointer , that can be used to update the sink list Ver.: always

N/AmaxNumberEntries

maximum number of sink list entires Ver.: always

This function is called by the Green Power client before forwarding the gp notification. This callback provides the pointer to the group list for the paired gpd. In case of a combo application, where the green power server is also present, this callback is consumed by the green power server to update the sinklist from the sink table.


Definition at line 114 of file app/framework/plugin/green-power-client/green-power-client.h