-
Notifications
You must be signed in to change notification settings - Fork 36
Conversation
sniffer/tools/sniffer.py
Outdated
help="Port of the TCP-based sniffer application") | ||
p.add_argument("channel", type=int, help="Channel to sniff on") | ||
p.add_argument("outfile", type=str, default=None, nargs="?", | ||
help="PCAP file to output to") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is argparse.FileType
to handle file arguments in python.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is part of #37. (sorry, did not make clear this PR depends on that)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But I'll have a look!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, that explains why my comment didn't show up at #37, I meant to place it there :)
The KISS approach alternative to RIOT-OS#38 (also includes RIOT-OS#39, because...). Disadvantage: we loose backwards compatibility for this tool.
The KISS approach alternative to RIOT-OS#38 (also includes RIOT-OS#39, because...). Disadvantage: we loose backwards compatibility for this tool.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested ACK, please rebase after #37 was merged
eba0b12
to
5017bea
Compare
Rebased. |
The KISS approach alternative to RIOT-OS#38 (also includes RIOT-OS#39, because...). Disadvantage: we loose backwards compatibility for this tool.
…udrate-optional sniffer: make baudrate optional
Depends on #37