Skip to content

Recommended way to know if a Thread device is connected #8324

Closed Answered by jwhui
OlivierGre asked this question in Q&A
Discussion options

You must be logged in to vote

It really depends on how you define "connected". For example, it could be:

  1. Attached to a Thread network with one or more neighbors
  2. Attached to a Thread network with a Thread Border Router providing external connectivity
  3. Attached to a Thread network with a Thread Border Router providing public Internet connectivity

For (1), simply checking the neighbor table is at least one entry should be sufficient.
For (2), checking the Thread Network Data for an on-mesh prefix and an external route should be sufficient.
For (3), checking the Thread Network Data for an on-mesh prefix and a default route should be sufficient.

Beyond that, others define "connected" as being able to establish a session w…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jwhui
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants