phy_const.h

来自「802.15.4协议的实现」· C头文件 代码 · 共 23 行

H
23
字号
/*
 * @author IPP HURRAY http://www.hurray.isep.ipp.pt/art-wise
 * @author Andre Cunha
 */
// The PHY constants are defined here.
#define aMaxPHYPacketSize  127
#define aTurnaroundTime 12

#define INIT_CURRENTCHANNEL 0x15
#define INIT_CHANNELSSUPPORTED 0x0
#define INIT_TRANSMITPOWER 15
#define INIT_CCA_MODE 0

// PHY PIB attribute and psdu
typedef struct
{
	uint8_t phyCurrentChannel;
	uint8_t phyChannelsSupported;
	uint8_t phyTransmitPower;
	uint8_t phyCcaMode;
} phyPIB;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?