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

Generate TCPdump from CLI #45

Open
lesteenman opened this issue Aug 24, 2017 · 1 comment
Open

Generate TCPdump from CLI #45

lesteenman opened this issue Aug 24, 2017 · 1 comment

Comments

@lesteenman
Copy link

lesteenman commented Aug 24, 2017

As mentioned in an earlier issue by me, I think the ability to view the data frames that are sent and received by Bellows in Wireshark. @rcloran mentioned he was open to the idea. This is something that would come in useful e.g. in #43, where an unknown type is in the data frame that is received, which results in a crash.

Having only one antenna device, I can't debug with another device while using the first one as the controller. Thus, I would like to debug the packets that the CLI application is already dumping in hex format when in verbose mode, in Wireshark.

I want to try implementing this, but I would like opinions first. My current idea is a flag for the CLI commands like permit, with which you specify a filename for the dump. This file is written as long as the CLI command is running, either until timeout (e.g. by the time mentioned in permit), or when the command is interrupted.

Does this sound like a useful feature, and the correct way to use it?

@Hedda
Copy link
Contributor

Hedda commented Jan 10, 2022

Could this issue now perhaps be better if requested as a feature for zigpy-cli instead? -> https://github.com/zigpy/zigpy-cli

Or move to the main zigpy library? -> https://github.com/zigpy/zigpy

Anyway, the bellows CLI is not maintained any longer, it has been replaced by the combination of the main zigpy libary (for ZCL + ZDO) and zigpy-cli:

https://github.com/zigpy/zigpy

https://github.com/zigpy/zigpy-cli

So at least be aware that many tools from zigpy radio libraries are deprecated as have instead been moved to zigpy-cli instead:

https://github.com/zigpy/zigpy-cli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants