uint32_t EI_API_ADP_setModuleNetworkStatusFunc | ( | T * | pAdp_p, |
EI_API_ADP_CBStatus | callback_p | ||
) |
Handle module and network status changes.
This function is used to register a callback function which will be triggered if the adapter status (network or module) changes. The knowledge of the adapter status enables the user to set Network Status and Module Status indicators.
[in] | pAdp_p | Pointer to the adapter. |
[in] | callback_p | Callback function of EI_API_ADP_CBStatus type. |
EI_API_ADP_eERR_OK | Success. |
EI_API_ADP_eERR_GENERAL | General error. |