'state' and 'mode' in thrNeighbor_t

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

'state' and 'mode' in thrNeighbor_t

跳至解决方案
1,635 次查看
jc_pacheco
NXP Employee
NXP Employee

Can you define the "state" and "mode" fields of the thrNeighbor_t structure? 

They're not defined in the "Kinetis Thread Stack API Reference Manual" and no enumeration I could find in the code...

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,483 次查看
jc_pacheco
NXP Employee
NXP Employee

The 'state' and 'mode' fields are used within the Thread library, those fields are not used at Application layer.

state: Used to track the current state of a neighbor (Idle, attached, commissioning, etc.)
mode: Used to identify neighbor type and capabilities. See typedef enum modeFlags_tag.

Normally the Application layer doesn't need the details regarding the neighbors for other purposed than statistics for example the “get neighbors” command.

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,484 次查看
jc_pacheco
NXP Employee
NXP Employee

The 'state' and 'mode' fields are used within the Thread library, those fields are not used at Application layer.

state: Used to track the current state of a neighbor (Idle, attached, commissioning, etc.)
mode: Used to identify neighbor type and capabilities. See typedef enum modeFlags_tag.

Normally the Application layer doesn't need the details regarding the neighbors for other purposed than statistics for example the “get neighbors” command.

0 项奖励
回复