zephyr/include/bluetooth
Piotr Pryga ea1340acd3 Bluetooth: host: Add handling of failures in per sync established evt
Handling of HCI_LE_Periodic_Advertising_Sync_Established didn't
have implemented handling of possible failures of periodic
advertising synchronization.
There are two situations definded by BT 5.3 Core spec:
- There is no AUX_SYNC_IND pdu within 6 periodic advertising events.
  If that happens, status of the command is set to (0x3E) Connection
  Failed To Be Established / Synchronization Timeout.
- Periodic advertising has wrong CTE type while periodic advertising
  list is not used to determine the advertiser to listen.
  In this case status of the command is set to (0x1A) Unsupported
  Remote Feature.

The commit provides missing functionality.
In case of error, the periodic advertising will be deleted and
application will be notified by call to terminated callback.
The callback data were extended by err member. It provides
information why periodic advertising was terminated.

Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
2021-11-18 17:12:22 +02:00
..
audio Bluetooth: Audio: Media control service 2021-11-11 15:31:37 +01:00
mesh Bluetooth: Mesh: Moved composition data out of mesh shell 2021-11-08 11:07:11 -05:00
services Bluetooth: Object Transfer Service: Defines for allowed object ID values 2021-09-16 10:32:19 +02:00
a2dp-codec.h
a2dp.h
addr.h Bluetooth: Controller: Implement direct addr type in ext adv report 2021-11-03 16:52:58 +01:00
att.h Bluetooth: ATT: Fix typo in defines 2021-10-23 20:39:36 -04:00
avdtp.h
bluetooth.h Bluetooth: host: Add handling of failures in per sync established evt 2021-11-18 17:12:22 +02:00
buf.h Bluetooth: Iso: Add BT_ISO_SDU_BUF_SIZE macro 2021-09-28 20:07:32 -04:00
conn.h bluetooth: host: Add support for SMP error code 0x0f 2021-11-01 21:48:52 -04:00
controller.h
crypto.h
direction.h
gap.h Bluetooth: Audio: Add coordinated sets identification service server 2021-11-09 11:17:20 +01:00
gatt.h Bluetooth: Add check given services is register API 2021-11-03 18:57:03 +01:00
hci_err.h
hci_raw.h
hci_vs.h Bluetooth: controller: push topic branch to main 2021-11-16 21:24:37 -05:00
hci.h Bluetooth: ISO: Add bitmask for retrieving iso header lenght 2021-11-12 14:52:33 +01:00
hfp_hf.h
iso.h Bluetooth: ISO: Add CIG reconfigure function 2021-11-15 14:39:59 -05:00
l2cap.h bluetooth: Add support for reconfiguring L2CAP channels 2021-10-04 11:05:03 +02:00
mesh.h Bluetooth: Mesh: Align capitalization for BT mesh 2021-07-13 11:23:54 -04:00
rfcomm.h
sdp.h Bluetooth: SDP: add one API bt_sdp_get_add_proto_param 2021-08-23 15:11:24 +03:00
testing.h
uuid.h Bluetooth: Audio: UUID values for media control 2021-11-11 15:31:37 +01:00