|
NimBLE (nimble-1.6.0/ble_hci_usbh.c):
- fix hci_read_callback: pass full buffer to hci_h4_sm_rx in one call
instead of splitting type byte and payload into two calls
- fix ble_transport_to_ll_cmd_impl: use struct ble_hci_cmd for
type-safe length calculation instead of raw byte indexing
- fix ble_transport_to_ll_acl_impl: gather mbuf with os_mbuf_copydata
and issue single usbh_bluetooth_hci_write; the old per-segment loop
violated USB Bluetooth class bulk transfer requirements
- fix unused-parameter warnings in run/stop callbacks
Zephyr (zephyr_bluetooth-2.7.5/ble_hci_usbh.c):
- remove unreachable fallthrough comment after return statement
- restore ISO payload length check (was commented out); use inline
mask (& 0x3FFF) per BT Core Spec v5.x Vol 4 Part E Section 5.4.5
- fix bt_usbh_send error code: 255 -> -EIO
- guard bt_hci_driver_register with static bool to prevent duplicate
registration on USB reconnect
- fix unused-parameter warnings in run/stop callbacks
|