Skip to content

Commit

Permalink
tests/bsim bis: Reduce the test verbosity
Browse files Browse the repository at this point in the history
The test was printing one line for each packet it was sending
by default. That creates a huge log and slows things down.
Instead, let's only print those with verbosity set at 4 or higher.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
  • Loading branch information
aescolar authored and MaureenHelm committed Oct 31, 2023
1 parent 464435e commit 482416d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/bsim/bluetooth/ll/bis/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ static void iso_send(struct k_work *work)
iso_data_len = MAX(sizeof(seq_num), ((seq_num % CONFIG_BT_ISO_TX_MTU) + 1));
net_buf_add_mem(buf, iso_data, iso_data_len);

printk("ISO send: seq_num %u\n", seq_num);
bs_trace_info_time(4, "ISO send: seq_num %u\n", seq_num);
ret = bt_iso_chan_send(&bis_iso_chan, buf, seq_num++,
BT_ISO_TIMESTAMP_NONE);
if (ret < 0) {
Expand Down

0 comments on commit 482416d

Please sign in to comment.