📄 mac_indirect_polling.h
字号:
/*******************************************************************************************************
* *
* ********** *
* ************ *
* *** *** *
* *** +++ *** *
* *** + + *** *
* *** + CHIPCON CC2420 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, 2004 *
*******************************************************************************************************
* This module contains functions related to indirect packet polling, including packet formatting and *
* timeouts. *
*******************************************************************************************************
* Compiler: AVR-GCC *
* Target platform: CC2420DB, CC2420 + any ATMEGA MCU *
*******************************************************************************************************
* The revision history is located at the bottom of this file *
*******************************************************************************************************/
#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
MAC_ENUM mipTransmitDataRequest(BYTE coordAddrMode, WORD coordPanId, ADDRESS *pCoordAddress, ZBOOL securityEnable);
// Internally generated data requests (uses mipTransmitDataRequest)
void mipTransmitAutoDataRequest(void);
MAC_ENUM mipTransmitAssocDataRequest(void);
// Timeouts and related
void mipDataRequestTimeout(void);
MAC_STATE_TYPE mipCancelDataRequestTimeout(void);
void mipPollAssociateResponse(void);
//-------------------------------------------------------------------------------------------------------
#endif
/*******************************************************************************************************
* Revision history:
*
* $Log: mac_indirect_polling.h,v $
* Revision 1.4 2004/08/13 13:04:43 jol
* CC2420 MAC Release v0.7
*
*
*******************************************************************************************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -