1.3.5.6.43 BMNG_SetCallbacks Function

C

void BMNG_SetCallbacks(BMNG_CALLBACKS *bmngCallbacks);

Summary

Sets the callbacks to the PRIME Base Management.

Description

This routine sets the callbacks to the PRIME Base Management.

Precondition

None.

Parameters

ParamDescription
bmngCallbacksPointer to the Base Management callback structure

Returns

None.

Example

BMNG_CALLBACKS bmngCallbacks;
    
memset(bmngCallbacks, NULL, sizeof(bmngCallbacks);

bmngCallbacks.network_event_ind = netEventInd;
bmngCallbacks.pprof_ack = pprofACk;
bmngCallbacks.pprof_get_response = pprofGetResp;

BMNG_SetCallbacks(&bmngCallbacks);

Remarks

Unused callbacks must be set to NULL.