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

cmd_ping/cmd_send in Shell are obsolete #19889

Closed
tcarmelveilleux opened this issue Jun 23, 2022 · 0 comments · Fixed by #19987
Closed

cmd_ping/cmd_send in Shell are obsolete #19889

tcarmelveilleux opened this issue Jun 23, 2022 · 0 comments · Fixed by #19987
Labels

Comments

@tcarmelveilleux
Copy link
Contributor

Problem

Shell's examples/shell/shell_common/cmd_ping.cpp and examples/shell/shell_common/cmd_send.cpp were doing non-Matter low-level communication used early in bring-up, but pretending to use modern APIs, as the code was "kept building" the whole time.

These commands need to be removed outright.

Proposed Solution

  • Remove obsolete commnads in Shell
tcarmelveilleux added a commit to tcarmelveilleux/connectedhomeip that referenced this issue Jun 26, 2022
- Both cmd_send and cmd_ping used pre-spec internal test-level
  APIs which have grown stale and no longer function. They showed API
  usage that was both incorrect and dangerous. They are were also
  no longer used.

Fixes project-chip#19889
Fixes project-chip#6293

This PR removes these stale commands, which already had become
empty in a prior PR since the way they used FabricTable was
also incorrect (and this had been corrected at the time).

Testing done:
- Unit tests still pass
- Integration tests still pass
Damian-Nordic pushed a commit that referenced this issue Jun 27, 2022
* Remove shell cmd_ping/cmd_send that were obsolete

- Both cmd_send and cmd_ping used pre-spec internal test-level
  APIs which have grown stale and no longer function. They showed API
  usage that was both incorrect and dangerous. They are were also
  no longer used.

Fixes #19889
Fixes #6293

This PR removes these stale commands, which already had become
empty in a prior PR since the way they used FabricTable was
also incorrect (and this had been corrected at the time).

Testing done:
- Unit tests still pass
- Integration tests still pass

* Remove more unused commands
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant