Framework Callbacks#

These callbacks are contributed by the framework.

Functions#

int
main(MAIN_FUNCTION_PARAMETERS)

Provides the main application entry point.

void
emberAfCounterHandler(EmberCounterType type, EmberCounterInfo info)
bool

NCP Application hook callback for green power messages.

bool
emberAfNcpDGpSentHandler(EmberStatus status, uint8_t gpepHandle)

NCP Application hook callback for green power messages.

void

Mark Buffers.

Function Documentation#

main#

int main (MAIN_FUNCTION_PARAMETERS )

Provides the main application entry point.

Parameters
N/A

This callback provides the main application entry point for an NCP application.


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

emberAfCounterHandler#

void emberAfCounterHandler (EmberCounterType type, EmberCounterInfo info)
Parameters
N/Atype
N/Ainfo

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

emberAfNcpGpepIncomingMessageHandler#

bool emberAfNcpGpepIncomingMessageHandler (GP_PARAMS , gpdLink, sequenceNumber, *addr, gpdfSecurityLevel, gpdfSecurityKeyType, autoCommissioning, rxAfterTx, gpdSecurityFrameCounter, gpdCommandId, mic, proxyTableIndex, gpdCommandPayloadLength, *gpdCommandPayload)

NCP Application hook callback for green power messages.

Parameters
N/A

Ver.: always

N/AgpdLink

Ver.: always

N/AsequenceNumber

Ver.: always

N/A*addr

Ver.: always

N/AgpdfSecurityLevel

Ver.: always

N/AgpdfSecurityKeyType

Ver.: always

N/AautoCommissioning

Ver.: always

N/ArxAfterTx

Ver.: always

N/AgpdSecurityFrameCounter

Ver.: always

N/AgpdCommandId

Ver.: always

N/Amic

Ver.: always

N/AproxyTableIndex

Ver.: always

N/AgpdCommandPayloadLength

Ver.: always

N/A*gpdCommandPayload

Ver.: always

This function is called by the application hook plugin to allow user to take an action gpd message is received. The return code true indicate the user handled the message and false allows the stack to handle it.


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

emberAfNcpDGpSentHandler#

bool emberAfNcpDGpSentHandler (EmberStatus status, uint8_t gpepHandle)

NCP Application hook callback for green power messages.

Parameters
N/Astatus

Ver.: always

N/AgpepHandle

Ver.: always

This function is called by the application hook plugin to allow user to take an action gpd message is sent. The return code true indicate the user handled the message and false allows the stack to handle it.


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

emberAfMarkBuffersCallback#

void emberAfMarkBuffersCallback (void )

Mark Buffers.

Parameters
N/A

This function is called when the garbage collector runs. Any buffers held by the application must be marked.


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