NWK_DataReq() interface.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
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 |
void NWK_DataReq | ( | NWK_DataReq_t * | req | ) |
Adds request req to the queue of outgoing requests.
[in] | req | Pointer 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.
Referenced by appSendData().
void nwkDataReqInit | ( | void | ) |
Initializes the Data Request module.
Referenced by NWK_Init().
void nwkDataReqTaskHandler | ( | void | ) |
Data Request module task handler.
References NWK_DataReq_t::next, NWK_DATA_REQ_STATE_CONFIRM, NWK_DATA_REQ_STATE_INITIAL, NWK_DATA_REQ_STATE_WAIT_CONF, nwkDataReqConfirm(), and nwkDataReqSendFrame().
Referenced by NWK_TaskHandler().