Microchip® Advanced Software Framework

nwkDataReq.h File Reference

NWK_DataReq() interface.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

#include <stdint.h>
#include <stdbool.h>
#include "sysConfig.h"

Data Structures

struct  NWK_DataReq_t
 

Typedefs

typedef struct NWK_DataReq_t NWK_DataReq_t
 

Enumerations

enum  {
  NWK_OPT_ACK_REQUEST = 1 << 0,
  NWK_OPT_ENABLE_SECURITY = 1 << 1,
  NWK_OPT_BROADCAST_PAN_ID = 1 << 2,
  NWK_OPT_LINK_LOCAL = 1 << 3,
  NWK_OPT_MULTICAST = 1 << 4
}
 

Functions

void NWK_DataReq (NWK_DataReq_t *req)
 Adds request req to the queue of outgoing requests. More...
 
void nwkDataReqInit (void)
 Initializes the Data Request module. More...
 
void nwkDataReqTaskHandler (void)
 Data Request module task handler. More...
 

typedef struct NWK_DataReq_t NWK_DataReq_t

anonymous enum
Enumerator
NWK_OPT_ACK_REQUEST 
NWK_OPT_ENABLE_SECURITY 
NWK_OPT_BROADCAST_PAN_ID 
NWK_OPT_LINK_LOCAL 
NWK_OPT_MULTICAST 

void NWK_DataReq ( NWK_DataReq_t req)

Adds request req to the queue of outgoing requests.

Parameters
[in]reqPointer to the request parameters

References NWK_DataReq_t::frame, NwkIb_t::lock, NWK_DataReq_t::next, NWK_DATA_REQ_STATE_INITIAL, NWK_SUCCESS_STATUS, nwkDataReqQueue, nwkIb, NWK_DataReq_t::state, and NWK_DataReq_t::status.

void nwkDataReqInit ( void  )

Initializes the Data Request module.

Referenced by NWK_Init().

void nwkDataReqTaskHandler ( void  )