associationexample.h

来自「Zigbee的nesc源码」· C头文件 代码 · 共 22 行

H
22
字号
#define BEACON_ORDER 6
#define SUPERFRAME_ORDER 4
//the starting channel needs to be diferrent that the existent coordinator operating channels
#define LOGICAL_CHANNEL 0x15
 

#define TYPE_DEVICE END_DEVICE
//#define TYPE_DEVICE COORDINATOR

//PAN VARIABLES
#define PANID 0x1234



enum {
	COORDINATOR = 0x00,
	ROUTER =0x01,
	END_DEVICE = 0x02
	};


⌨️ 快捷键说明

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