Logo
UNICENS V2.3.0-4567
User Manual and API Reference
Ucs_Return_t Ucs_Network_RegisterAliveCb ( Ucs_Inst_t self,
Ucs_Network_AliveCb_t  report_fptr 
)

Registers the alive message callback function.

Only one callback function can be registered at the same time.

Parameters
selfThe instance
report_fptrCallback function presenting the alive message.
Returns
Possible return values are shown in the table below.
Value Description
UCS_RET_SUCCESS No error
UCS_RET_ERR_BUFFER_OVERFLOW A Callback function is already registered.