⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mac_indirect_polling.h

📁 zigbee location examples
💻 H
字号:
/*******************************************************************************************************
 *                                                                                                     *
 *        **********                                                                                   *
 *       ************                                                                                  *
 *      ***        ***                                                                                 *
 *      ***   +++   ***                                                                                *
 *      ***   + +   ***                                                                                *
 *      ***   +                         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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -