zephyr/include
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
..
app_memory
arch pm: Remove unused parameter 2021-11-17 11:15:49 -05:00
audio
bluetooth Bluetooth: host: Add handling of failures in per sync established evt 2021-11-18 17:12:22 +02:00
canbus canbus: isotp: fix net_buf usage in recv function 2021-11-09 18:12:08 +02:00
console
crypto
data
debug
devicetree
dfu
disk
display
drivers drivers: gpio: add combined drive strength flags and mask 2021-11-11 07:20:12 -05:00
dt-bindings soc: it8xxx2: add support for eSPI driver 2021-11-12 14:51:10 +01:00
fs fs: Document return values to VFS API calls 2021-11-09 16:04:34 -06:00
ipc
kernel
linker cmake: rework linker script generation and linker prebuilt stages 2021-11-16 10:41:59 +01:00
logging
lorawan
mgmt
modbus
multi_heap
net net: coap: add response code 4.29 2021-11-15 10:14:42 -05:00
pm pm: Make pm_power_state_force multicore aware 2021-11-18 13:56:15 +01:00
portability
posix
power
random
settings
shell shell: do not alias atomic_t 2021-11-17 12:25:10 +01:00
stats
storage
sys kernel: atomics: support for 64-bit atomic operations 2021-11-15 09:59:01 -05:00
task_wdt
timing
toolchain toolchain/xcc: Mark unsigned max as unsigned values for missing cases 2021-11-11 07:27:24 -05:00
tracing Revert "Tracing: Added missing k_thread_heap_assign trace hook" 2021-11-17 10:17:43 -05:00
usb usb: Add API for getting status of remote wakeup 2021-11-09 13:50:03 +01:00
xen
zephyr
cache.h
device.h scripts: gen_handles.py: remove size restrictions 2021-11-16 10:41:59 +01:00
devicetree.h devicetree: add DT ranges public API 2021-11-10 08:23:00 -05:00
ec_host_cmd.h
emul.h
exc_handle.h
fatal.h
init.h
irq_nextlevel.h
irq_offload.h
irq.h
kernel_includes.h
kernel_structs.h
kernel_version.h
kernel.h Revert "Tracing: Tracing/Kernel dependency issue fix" 2021-11-17 10:17:43 -05:00
ptp_clock.h
shared_irq.h
smf.h
spinlock.h
sw_isr_table.h
sys_clock.h
syscall_handler.h
syscall.h
timeout_q.h
toolchain.h
wait_q.h
zephyr.h