1.2.5.36 ADP_MAC_GET_CFM_CALLBACK Typedef
C
typedef void (*ADP_MAC_GET_CFM_CALLBACK)(ADP_MAC_GET_CFM_PARAMS* pGetCfm);
Summary
Pointer to an ADP MAC Get Confirm Event handler function. This is the confirmation of a MAC parameter Get through ADP API.
Description
This data type defines the required function signature for the ADP MAC Get Confirm event handling callback function. The ADP MAC Get Confirm primitive allows the upper layer to be notified of the completion of an ADP MAC Get Request. A client must register a pointer using the event handling function whose function signature (parameter and return value types) matches the types specified by this function pointer in order to receive ADP MAC Get Confirm events back from module.
The ADP MAC Get Confirm is generated after ADP_MacGetRequest function call to indicate the result.
Parameters
Param | Description |
---|---|
pGetCfm | Pointer to structure containing the Get result. See ADP_MAC_GET_CFM_PARAMS |
Returns
None.
Example
App_MacGetConfirm(ADP_MAC_GET_CFM_PARAMS *params) { // Check result if (params->status == G3_SUCCESS) { // The value is in params->attributeValue } }
Remarks
None.