Framework Callbacks
Functions |
|
int | main (MAIN_FUNCTION_PARAMETERS) |
Provides the main application entry point.
|
|
void | emberAfCounterHandler ( EmberCounterType type, EmberCounterInfo info) |
bool | emberAfNcpGpepIncomingMessageHandler (GP_PARAMS) |
NCP Application hook callback for green power messages.
|
|
bool | emberAfNcpDGpSentHandler ( EmberStatus status, uint8_t gpepHandle) |
NCP Application hook callback for green power messages.
|
|
void | emberAfMarkBuffersCallback (void) |
Mark Buffers.
|
Detailed Description
These callbacks are contributed by the framework.
Function Documentation
◆ emberAfCounterHandler()
void emberAfCounterHandler | ( | EmberCounterType |
type,
|
EmberCounterInfo |
info
|
||
) |
◆ emberAfMarkBuffersCallback()
void emberAfMarkBuffersCallback | ( | void |
|
) |
Mark Buffers.
This function is called when the garbage collector runs. Any buffers held by the application must be marked.
◆ emberAfNcpDGpSentHandler()
bool emberAfNcpDGpSentHandler | ( | EmberStatus |
status,
|
uint8_t |
gpepHandle
|
||
) |
NCP Application hook callback for green power messages.
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.
- Parameters
-
status
Ver.: always gpepHandle
Ver.: always
◆ emberAfNcpGpepIncomingMessageHandler()
bool emberAfNcpGpepIncomingMessageHandler | ( | GP_PARAMS |
|
) |
NCP Application hook callback for green power messages.
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.
- Parameters
-
status
Ver.: always gpdLink
Ver.: always sequenceNumber
Ver.: always *addr
Ver.: always gpdfSecurityLevel
Ver.: always gpdfSecurityKeyType
Ver.: always autoCommissioning
Ver.: always rxAfterTx
Ver.: always gpdSecurityFrameCounter
Ver.: always gpdCommandId
Ver.: always mic
Ver.: always proxyTableIndex
Ver.: always gpdCommandPayloadLength
Ver.: always *gpdCommandPayload
Ver.: always
◆ main()
int main | ( | MAIN_FUNCTION_PARAMETERS |
|
) |
Provides the main application entry point.
This callback provides the main application entry point for an NCP application.