Quantcast
Channel: Zigbee 和 Thread
Viewing all articles
Browse latest Browse all 16962

帖子: 协议栈 关于端点的问题

$
0
0

有几个问题想请教:

1、数据传输时,afAddrType_t 目标地址中的 endPoint ,端点,作用是什么,表示什么意思


// Fill out the endpoint description.
SampleApp_epDesc.endPoint = SAMPLEAPP_ENDPOINT;
SampleApp_epDesc.task_id = &SampleApp_TaskID;
SampleApp_epDesc.simpleDesc
= (SimpleDescriptionFormat_t *)&SampleApp_SimpleDesc;
SampleApp_epDesc.latencyReq = noLatencyReqs;

// Register the endpoint description with the AF
afRegister( &SampleApp_epDesc );

2、这里注册的描述是什么,为什么也是同一个值SAMPLEAPP_ENDPOINT

3、传输数据时这个endPoint是否重要?如果是,网络中的协调器、终端节点又该如何设定值 


Viewing all articles
Browse latest Browse all 16962

Trending Articles