1.3.4.1.11 MAC_PLC_ResetRequest Function

C

void MAC_PLC_ResetRequest
(
    MAC_RESET_REQUEST_PARAMS *rstParams
);

Summary

The MAC_PLC_ResetRequest primitive resets the MAC PLC module.

Description

Reset operation initializes MAC PLC State Machine and PIB to their default values. Result is provided in the corresponding Confirm callback.

Precondition

MAC_PLC_Init routine must have been called before.

Parameters

ParamDescription
rstParamsPointer to structure containing required parameters for request. See MAC_RESET_REQUEST_PARAMS

Returns

None.

Example

MAC_RESET_REQUEST_PARAMS params = {
    .setDefaultPib = true
};

MAC_PLC_ResetRequest(&params);

// Wait for Reset Confirm

Remarks

None.