Gas Proxy Function#
API and Callbacks for the Gas Proxy Function Component.
Silicon Labs implementation of the Gas Proxy Function (GPF). This component receives and processes GBZ Top Off Messages. NOTE: This component uses malloc and should only be used in a non-SoC setup.
Modules#
Handlers#
API#
Ignore future commands. Per GBCS v0.8.1, section 10.3.4.2 Step 12/13, it is inferred that per elemental ZCL command, future commands ( startTime greater than now ) will be discarded and the application will be notified.
Handlers Documentation#
emberAfPluginGasProxyFunctionNonTapOffMessageHandler#
EmberStatus emberAfPluginGasProxyFunctionNonTapOffMessageHandler (uint8_t * gbzCommands, uint16_t gbzCommandsLength, uint16_t messageCode)
N/A | gbzCommands | |
N/A | gbzCommandsLength | |
N/A | messageCode |
47
of file app/framework/plugin/gas-proxy-function/gas-proxy-function.h
emberAfPluginGasProxyFunctionTapOffMessageHandler#
EmberStatus emberAfPluginGasProxyFunctionTapOffMessageHandler (uint8_t * gbzCommand, uint16_t gbzCommandLength, uint8_t * gbzCommandResponse, uint16_t gbzCommandResponseLength, uint16_t messageCode)
N/A | gbzCommand | |
N/A | gbzCommandLength | |
N/A | gbzCommandResponse | |
N/A | gbzCommandResponseLength | |
N/A | messageCode |
51
of file app/framework/plugin/gas-proxy-function/gas-proxy-function.h
API Documentation#
emberAfPluginGasProxyFunctionIgnoreFutureCommand#
bool emberAfPluginGasProxyFunctionIgnoreFutureCommand (uint32_t startTime)
Ignore future commands. Per GBCS v0.8.1, section 10.3.4.2 Step 12/13, it is inferred that per elemental ZCL command, future commands ( startTime greater than now ) will be discarded and the application will be notified.
N/A | startTime |
Returns
true - if future dated current command are ignored, false - otherwise.
90
of file app/framework/plugin/gas-proxy-function/gas-proxy-function.h