mac_indirect_polling.h
来自「zigbee location examples」· C头文件 代码 · 共 71 行
H
71 行
/*******************************************************************************************************
* *
* ********** *
* ************ *
* *** *** *
* *** +++ *** *
* *** + + *** *
* *** + CHIPCON CC2430 INTEGRATED 802.15.4 MAC AND PHY *
* *** + + *** Indirect Packet Polling + Related *
* *** +++ *** *
* *** *** *
* ************ *
* ********** *
* *
*******************************************************************************************************
* CONFIDENTIAL *
* The use of this file is restricted by the signed MAC software license agreement. *
* *
* Copyright Chipcon AS, 2005 *
*******************************************************************************************************/
#ifndef MACINDIRECTPOLLING_H
#define MACINDIRECTPOLLING_H
/*******************************************************************************************************
*******************************************************************************************************
************************** CONSTANTS AND MACROS **************************
*******************************************************************************************************
*******************************************************************************************************/
//-------------------------------------------------------------------------------------------------------
// Time constants (number of backoff periods)
// Retry timeout if there was a resource shortage when polling for an association response
#define MIP_RETRY_ASSOCIATION_RESPONSE_POLLING_TIMEOUT 10
//-------------------------------------------------------------------------------------------------------
/*******************************************************************************************************
*******************************************************************************************************
************************** FUNCTION PROTOTYPES **************************
*******************************************************************************************************
*******************************************************************************************************/
//-------------------------------------------------------------------------------------------------------
// Formats a data request frame and starts the transmission
ROOT MAC_ENUM mipTransmitDataRequest(BYTE coordAddrMode, WORD coordPanId, ADDRESS *pCoordAddress,
BOOL securityEnable);
// Internally generated data requests (uses mipTransmitDataRequest)
ROOT void mipTransmitAutoDataRequest(void);
ROOT MAC_ENUM mipTransmitAssocDataRequest(void);
void mipDataRequestTimeoutTask(MAC_TASK_INFO *pTask);
void mipPollAssociateResponseTask(MAC_TASK_INFO *pTask);
// Timeouts and related
void mipDataRequestTimeout(void);
MAC_STATE_TYPE mipCancelDataRequestTimeout(void);
void mipPollAssociateResponse(void);
//-------------------------------------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?