nRF5 SDK v13.0.0
Data Structures | Typedefs | Functions
MAC MLME Reset API

Module to declare MAC MLME Reset API. More...

Data Structures

struct  mlme_reset_conf_t
 MLME-Reset.confirm. More...
 
struct  mlme_reset_req_t
 MLME-RESET.request. More...
 

Typedefs

typedef void(* mlme_reset_conf_cb_t )(mlme_reset_conf_t *)
 MLME-RESET confirm callback. More...
 

Functions

void mlme_reset_req (mlme_reset_req_t *req, mlme_reset_conf_cb_t conf_cb)
 MLME-RESET request. More...
 

Detailed Description

Module to declare MAC MLME Reset API.

The MAC Reset module declares MLME Reset primitives and necessary types according to the MAC specification. More specifically, MLME Reset request aka mlme_reset_req(), and MLME Reset confirm callback typedef aka mlme_reset_conf_cb_t primitives are declared.

Typedef Documentation

typedef void(* mlme_reset_conf_cb_t)(mlme_reset_conf_t *)

MLME-RESET confirm callback.

The MLME-RESET.confirm primitive is generated by the MLME and issued to its next higher layer in response to an MLME-RESET.request primitive and following the receipt of the PLME-SET-TRXSTATE.confirm primitive.

Parameters
resetstatus (MAC_SUCCESS only).

In accordance with IEEE Std 802.15.4-2006, section 7.1.9.2

Function Documentation

void mlme_reset_req ( mlme_reset_req_t req,
mlme_reset_conf_cb_t  conf_cb 
)

MLME-RESET request.

The MLME-RESET.request primitive is generated by the next higher layer and issued to the MLME to request a reset of the MAC sublayer to its initial conditions. The MLME-RESET.request primitive is issued prior to the use of the MLME-START.request or the MLME-ASSOCIATE.request primitives.

Parameters
[in]reqpointer to MCPS-RESET.request structure.
[in]conf_cbpointer to user callback.

In accordance with IEEE Std 802.15.4-2006, section 7.1.9.1


Documentation feedback | Developer Zone | Subscribe | Updated