1.5.3.4.6 SRV_USER_PIB_SetRequestCbRegister Function

C

void SRV_USER_PIB_SetRequestCbRegister(SRV_USER_PIB_SET_REQUEST_CALLBACK callback);

Summary

Register a function to be called to get the result of setting a user PIB.

Description

This routine allows a client to register an event handling function to be called with the result of setting a user PIB.

Parameters

Param Description
callback Pointer to the callback function

Returns

None.

Example

static void APP_SetRequestHandler(uint8_t setResult)
{
    if (setResult == true)
    {
        ...
    }
}

int main(void)
{
    SRV_USER_PIB_Initialize();

    SRV_USER_PIB_SetRequestCbRegister(APP_SetRequestHandler);
}

Remarks

None.