FreeCalypso > hg > freecalypso-tools
comparison rvinterf/lowlevel/rviftmode.c @ 933:bd6dd6120180
rvinterf: -v enables TM hex dump, -vv enables TCH hex dump
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 23 May 2023 06:24:37 +0000 |
parents | 3d1abb9f05ef |
children | 0d6be90ae74f |
comparison
equal
deleted
inserted
replaced
932:3d1abb9f05ef | 933:bd6dd6120180 |
---|---|
19 void | 19 void |
20 log_sent_tm(pkt, pktlen) | 20 log_sent_tm(pkt, pktlen) |
21 u_char *pkt; | 21 u_char *pkt; |
22 { | 22 { |
23 output_line("Sent Test Mode packet"); | 23 output_line("Sent Test Mode packet"); |
24 packet_hex_dump(pkt, pktlen, output_cont); | 24 if (verbose >= 1) |
25 packet_hex_dump(pkt, pktlen, output_cont); | |
25 } | 26 } |
26 | 27 |
27 void | 28 void |
28 print_tm_output_new() | 29 print_tm_output_new() |
29 { | 30 { |
30 output_line("Rx Test Mode packet"); | 31 output_line("Rx Test Mode packet"); |
31 packet_hex_dump(rxpkt, (unsigned) rxpkt_len, output_cont); | 32 if (verbose >= 1) |
33 packet_hex_dump(rxpkt, (unsigned) rxpkt_len, output_cont); | |
32 } | 34 } |