1亿文档 免费下载
afInit()
ZigBee学习之30——afInit()
#ifndef NONWK
//如果禁止了NWK,APS,ZDO函数功能,则需要单独初始化AF层
// Since the AF isn't a task, call it's initialization routine afInit();
//【AF.c】
void afInit( void )
{
//开始时没有设置ENDPOINT,对于AF的初始化就是初始化ENDPOINT
epList = NULL;
// epList_t *epList;
typedef enum
{
eEP_AllowMatch = 1,
eEP_NotUsed
} eEP_Flags;
typedef struct
{
endPointDesc_t *epDesc;
eEP_Flags flags;
pDescCB pfnDescCB; // Don't use if this function pointer is NULL.
void *nextDesc;
猜你喜欢