ISO broadcast cannot send with callback if CONFIG_BT_CONN=n #38563
Labels
area: Bluetooth ISO
Bluetooth LE Isochronous Channels
area: Bluetooth
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Describe the bug
#38194 introduced a bug for ISO broadcast if CONFIG_BT_CONN=n.
If CONFIG_BT_CONN=n then the
free_tx
FIFO is never intiialized, causes the FIFO to be empty and thus no able to use thebt_conn_send_cb
function thatbt_iso_chan_send
now relies on.Update: It seems that TX still works, but the callback is missing.
To Reproduce
Steps to reproduce the behavior:
Build and run
samples/bluetooth/iso_broadcast/
and see the<err> bt_conn.bt_conn_send_cb: Unable to allocate TX context
errorExpected behavior
Expect broadcast ISO to be fully independent on CONFIG_BT_CONN.
Impact
Showstopper for specific builds. Increased memory usage as a work around.
Logs and console output
N/A
Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: