zephyr/samples/bluetooth
Jonathan Rico b83b9bede3 Bluetooth: ATT: call-back on buffer destroy
This is just as arbitrary as what was before, but simpler.

Before this change, the callback were invoked upon receiving the num
complete packets event.
This did not necessarily work with all spec-compliant controllers.

Now the callback is invoked as soon as the lower layer destroys the
buffer. ATT shouldn't care whether L2CAP sends it over RFC1149 or
something else after that point.

Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>
Co-authored-by: Aleksander Wasaznik <aleksander.wasaznik@nordicsemi.no>
2023-12-15 17:14:56 +02:00
..
beacon
broadcast_audio_sink
broadcast_audio_source
broadcaster
broadcaster_multiple
bthome_sensor_template
central
central_gatt_write
central_hr
central_ht
central_iso
central_multilink
central_otc
central_past
direct_adv
direction_finding_central
direction_finding_connectionless_rx
direction_finding_connectionless_tx
direction_finding_peripheral
eddystone
encrypted_advertising
handsfree
hap_ha
hci_ipc
hci_pwr_ctrl
hci_spi
hci_uart
hci_uart_async
hci_usb
hci_usb_h4
ibeacon
ipsp
iso_broadcast
iso_broadcast_benchmark
iso_connected_benchmark
iso_receive
mesh
mesh_demo
mesh_provisioner
mtu_update
observer
periodic_adv
periodic_adv_conn
periodic_adv_rsp
periodic_sync
periodic_sync_conn
periodic_sync_rsp
peripheral
peripheral_accept_list
peripheral_csc
peripheral_dis
peripheral_esp
peripheral_gatt_write
peripheral_hids
peripheral_hr
peripheral_ht
peripheral_identity
peripheral_iso
peripheral_ots
peripheral_past
peripheral_sc_only
scan_adv
st_ble_sensor
tmap_bmr
tmap_bms
tmap_central
tmap_peripheral
unicast_audio_client
unicast_audio_server
bluetooth.rst