Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update MIGRATION_GUIDE_08.md #1393

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/MIGRATION_GUIDE_08.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ Afterward you start the node. Here you have two options:
The following methods are also existing on the ServerNode:

- **`cancel()`**: This brings the node offline and removes all network sockets but leave state and structure intact, so it can be started again.
- **`factoryReset()`**: This factory resets the device. If started it is stopped and restarted afterward.
- **`destroy()`**: This destroys the node, taking it offline and removing it from the environment workers-
- **`erase()`**: This factory resets the device. If started it is stopped and restarted afterward.
- **`delete()`**: This destroys the node, taking it offline and removing it from the environment workers-
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this not be "cancel"?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is a third method called cancel(). it's already in the docs.

cancel leaves the structure intact according to the docs.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh ok I got confused.

delete is "Erase all persisted data and destroy the node." ... so it does erase() and then close()


### New:Endpoint <--> Legacy:Endpoint and Device-Classes/Clusters

Expand Down