'state' and 'mode' in thrNeighbor_t

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

'state' and 'mode' in thrNeighbor_t

Jump to solution
719 Views
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...

Labels (1)
Tags (1)
0 Kudos
1 Solution
567 Views
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.

View solution in original post

0 Kudos
1 Reply
568 Views
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 Kudos