BTstack on STM32 F4 Discovery with USB support starting...
[00:00:00.210] LOG -- btstack_tlv.c.48: TLV Instance 0x8019c94
[00:00:00.212] LOG -- le_device_db_tlv.c.159: num valid le device entries 0
[00:00:00.214] LOG -- hci.c.5494: hci_power_control: 1, current mode 0
[00:00:00.216] LOG -- hci_transport_h2_stm32.c.51: hci_transport_h2_stm32_init
[00:00:00.218] LOG -- hci.c.8100: BTSTACK_EVENT_STATE 1
USB Device Connected
USB Device Reset Completed
PID: 1h
VID: a12h
Address (#1) assigned.
Manufacturer : N/A
Product : CSR8510 A10
Serial Number : N/A
Enumeration done.
This device has only 1 configuration.
Default configuration set.
Device remote wakeup enabled
[00:00:02.122] LOG -- usbh_bluetooth.c.67: USBH_Bluetooth_InterfaceInit
Interface 0, endpoint #0: address 0x81, attributes 0x03, packet size 16, poll 1
-> HCI Event
Interface 0, endpoint #1: address 0x02, attributes 0x02, packet size 64, poll 1
-> HCI ACL OUT
Interface 0, endpoint #2: address 0x82, attributes 0x02, packet size 64, poll 1
-> HCI ACL IN
Bluetooth class started.
[00:00:02.133] EVT <= 6E 00
ASSERT in hci.c, line 4357 failed - HALT
// release packet buffer without HCI_EVENT_TRANSPORT_PACKET_SENT (as it will be later)
btstack_assert(hci_stack->hci_packet_buffer_reserved); // this is the problem
hci_stack->hci_packet_buffer_reserved = false;
BTstack on STM32 F4 Discovery with USB support starting...
[00:00:00.210] LOG -- btstack_tlv.c.48: TLV Instance 0x8019918
[00:00:00.212] LOG -- le_device_db_tlv.c.159: num valid le device entries 0
[00:00:00.214] LOG -- hci.c.5494: hci_power_control: 1, current mode 0
[00:00:00.216] LOG -- hci_transport_h2_stm32.c.51: hci_transport_h2_stm32_init
[00:00:00.218] LOG -- hci.c.8100: BTSTACK_EVENT_STATE 1
USB Device Connected
USB Device Reset Completed
PID: 1h
VID: a12h
Address (#1) assigned.
Manufacturer : N/A
Product : CSR8510 A10
Serial Number : N/A
Enumeration done.
This device has only 1 configuration.
Default configuration set.
Device remote wakeup enabled
[00:00:02.107] LOG -- usbh_bluetooth.c.67: USBH_Bluetooth_InterfaceInit
Interface 0, endpoint #0: address 0x81, attributes 0x03, packet size 16, poll 1
-> HCI Event
Interface 0, endpoint #1: address 0x02, attributes 0x02, packet size 64, poll 1
-> HCI ACL OUT
Interface 0, endpoint #2: address 0x82, attributes 0x02, packet size 64, poll 1
-> HCI ACL IN
Bluetooth class started.
[00:00:02.119] EVT <= 6E 00
[00:00:02.122] CMD => 03 0C 00
[00:00:02.129] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.139] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.147] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.158] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.167] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.176] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.185] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.195] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.204] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.214] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.223] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.231] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.241] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.250] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.258] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.268] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.276] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.286] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.295] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.305] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.313] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.323] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.330] LOG -- hci.c.1826: Resend HCI Reset
[00:00:02.338] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.347] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.356] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.365] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.373] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.382] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.391] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.400] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.408] LOG -- usbh_bluetooth.c.240: URB State Event: 02
[00:00:02.418] LOG -- usbh_bluetooth.c.240: URB State Event: 02