Stop using async writes in CYW43 driver for BTStack #3042

Merged
peterharperuk merged 1 commit from matthias_async_fix into develop 2026-06-30 09:14:59 -05:00
peterharperuk commented 2026-06-29 05:13:09 -05:00 (Migrated from github.com)

Evidentially, the cyw43 btstack implementation is behaving like an async implementation in that it implements hci_transport_cyw43_can_send_now which always returns true and we send the HCI_EVENT_TRANSPORT_PACKET_SENT in hci_transport_cyw43_send_packet. This can cause problems, e.g. see https://github.com/bluekitchen/btstack/issues/738

Evidentially, the cyw43 btstack implementation is behaving like an async implementation in that it implements hci_transport_cyw43_can_send_now which always returns true and we send the HCI_EVENT_TRANSPORT_PACKET_SENT in hci_transport_cyw43_send_packet. This can cause problems, e.g. see https://github.com/bluekitchen/btstack/issues/738
kilograham (Migrated from github.com) reviewed 2026-06-29 05:13:09 -05:00
peterharperuk commented 2026-06-29 05:13:55 -05:00 (Migrated from github.com)

@mringwal

@mringwal
will-v-pi (Migrated from github.com) approved these changes 2026-06-30 05:56:59 -05:00
will-v-pi (Migrated from github.com) left a comment

LGTM

LGTM
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-raspberrypi/pico-sdk!3042
No description provided.