Receive routines interface.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
Data Structures | |
struct | NWK_DataInd_t |
Typedefs | |
typedef struct NWK_DataInd_t | NWK_DataInd_t |
Enumerations | |
enum | { NWK_IND_OPT_ACK_REQUESTED = 1 << 0, NWK_IND_OPT_SECURED = 1 << 1, NWK_IND_OPT_BROADCAST = 1 << 2, NWK_IND_OPT_LOCAL = 1 << 3, NWK_IND_OPT_BROADCAST_PAN_ID = 1 << 4, NWK_IND_OPT_LINK_LOCAL = 1 << 5, NWK_IND_OPT_MULTICAST = 1 << 6 } |
Functions | |
void | NWK_SetAckControl (uint8_t control) |
void | nwkRxDecryptConf (NwkFrame_t *frame, bool status) |
void | nwkRxInit (void) |
Initializes the Rx module. More... | |
void | nwkRxTaskHandler (void) |
Rx Module task handler. More... | |
typedef struct NWK_DataInd_t NWK_DataInd_t |
anonymous enum |
void NWK_SetAckControl | ( | uint8_t | control | ) |
References nwkRxAckControl.
void nwkRxDecryptConf | ( | NwkFrame_t * | frame, |
bool | status | ||
) |
References NWK_RX_STATE_FINISH, NWK_RX_STATE_INDICATE, and NwkFrame_t::state.
Referenced by nwkSecurityTaskHandler().
void nwkRxInit | ( | void | ) |
Initializes the Rx module.
References SYS_Timer_t::handler, SYS_Timer_t::interval, SYS_Timer_t::mode, NWK_DUPLICATE_REJECTION_TABLE_SIZE, NWK_OpenEndpoint(), NWK_RX_DUPLICATE_REJECTION_TIMER_INTERVAL, NWK_SERVICE_ENDPOINT_ID, nwkRxDuplicateRejectionTimerHandler(), nwkRxSeriveDataInd(), SYS_TIMER_INTERVAL_MODE, and NwkDuplicateRejectionEntry_t::ttl.
Referenced by NWK_Init().
void nwkRxTaskHandler | ( | void | ) |
Rx Module task handler.
References NWK_RX_STATE_DECRYPT, NWK_RX_STATE_FINISH, NWK_RX_STATE_INDICATE, NWK_RX_STATE_RECEIVED, NWK_RX_STATE_ROUTE, nwkFrameFree(), nwkFrameNext(), nwkRouteFrame(), nwkRxHandleIndication(), nwkRxHandleReceivedFrame(), nwkSecurityProcess(), and NwkFrame_t::state.
Referenced by NWK_TaskHandler().