mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-26 21:54:33 +08:00
hcidump: Just default to verbose parsing and remove the option
This commit is contained in:
parent
4fd47e9f91
commit
c89eff9be0
@ -102,9 +102,6 @@ Extract PPP traffic with pppdump format.
|
|||||||
.BR -A ", " "\-\^\-audio=" "<file>"
|
.BR -A ", " "\-\^\-audio=" "<file>"
|
||||||
Extract SCO audio data.
|
Extract SCO audio data.
|
||||||
.TP
|
.TP
|
||||||
.BR -V ", " "\-\^\-verbose"
|
|
||||||
Enables a more verbose decoding of every packet.
|
|
||||||
.TP
|
|
||||||
.BR -Y ", " "\-\^\-novendor"
|
.BR -Y ", " "\-\^\-novendor"
|
||||||
Don't display any vendor commands or events and don't show any pin code or link key in plain text.
|
Don't display any vendor commands or events and don't show any pin code or link key in plain text.
|
||||||
.TP
|
.TP
|
||||||
|
@ -1000,10 +1000,6 @@ int main(int argc, char *argv[])
|
|||||||
audio_file = strdup(optarg);
|
audio_file = strdup(optarg);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'V':
|
|
||||||
flags |= DUMP_VERBOSE;
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 'Y':
|
case 'Y':
|
||||||
flags |= DUMP_NOVENDOR;
|
flags |= DUMP_NOVENDOR;
|
||||||
break;
|
break;
|
||||||
@ -1046,11 +1042,13 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
switch (mode) {
|
switch (mode) {
|
||||||
case PARSE:
|
case PARSE:
|
||||||
|
flags |= DUMP_VERBOSE;
|
||||||
init_parser(flags, filter, defpsm, defcompid, pppdump_fd, audio_fd);
|
init_parser(flags, filter, defpsm, defcompid, pppdump_fd, audio_fd);
|
||||||
process_frames(device, open_socket(device, flags), -1, flags);
|
process_frames(device, open_socket(device, flags), -1, flags);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case READ:
|
case READ:
|
||||||
|
flags |= DUMP_VERBOSE;
|
||||||
init_parser(flags, filter, defpsm, defcompid, pppdump_fd, audio_fd);
|
init_parser(flags, filter, defpsm, defcompid, pppdump_fd, audio_fd);
|
||||||
read_dump(open_file(dump_file, mode, flags));
|
read_dump(open_file(dump_file, mode, flags));
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user