Skip to content

Request to provide API/functions to change Operational Dataset while BR is in automatic-start mode — plus questions about separating BRs, discovering Joiners, and hiding devices (TZ-2075) #153

@kunjsn123

Description

@kunjsn123

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate.
  • Provided a clear description of your suggestion.
  • Included any relevant context or examples.

Issue or Suggestion Description

I want to change the Thread Border Router (BR) configuration while it is running in automatic start mode.
Currently, when the BR autostarts, it forms or joins a network automatically using the dataset from menuconfig or NVS.
I need a way to change the Operational Dataset programmatically or through an API when autostart is enabled.


Details

1. Changing the dataset in automatic start mode

Please provide (or expose) a function that allows updating the Operational Dataset when the BR is in automatic start mode.
If such a function already exists, please share:

  • The function name and file name
  • Example usage or call sequence

If it’s not available, please suggest the best method to do this safely — for example:

  • Temporarily stop the Thread interface, apply new dataset parameters, and restart
  • Or update dataset values stored in NVS so the BR restarts with new configuration

2. Separating two border routers

I want to make two border routers operate as independent Thread networks.
Right now, I’m changing only the network key, and that seems to separate them.
Please confirm whether this is the correct approach or suggest a better method.

Possible parameters to change include:

  • Network Key
  • Extended PAN ID
  • PAN ID
  • Channel
  • Network Name

Which of these are required or recommended for complete separation?


3. Commissioning multiple Joiners

I’m also working on commissioning Thread devices.
Currently, I take a Thread client (Joiner) in joiner mode and start commissioning from the BR.

If I have multiple joiners nearby, how can I detect or list them, similar to a Wi-Fi scan that shows nearby devices?

I’ve already tested the CLI commands:

scan
discover

These only show devices that have already created or joined a network.
I need a way to see devices that are in joiner mode but not yet joined.

Please let me know if:

  • There is a function or method to detect joiners in range
  • Example code or file reference is available
  • Any plan to add this feature in future

4. Hiding my Thread devices from other BRs

When I run the scan or discover command, I can see all nearby Thread devices.
Is there a way to hide my devices so that other Thread Border Routers (for example, from other vendors) cannot see or add them?

If there is an API or configuration for this, please provide:

  • Function or configuration name
  • File reference
  • Example or short explanation

My goal is to make sure that only my own BR can see and commission my Thread devices.


Summary

Requested features / clarifications:

  1. Function or API to change dataset while BR autostart is enabled
  2. Best method to make two BRs independent networks
  3. Method or API to discover nearby Joiners (like Wi-Fi scan)
  4. Option to hide my devices from other BRs

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions