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 doc: Fix a few typos in docs/comments/messages 2021-09-03 06:06:59 -04:00
crypto
data json: Added element descriptor macro and C++ support progress 2021-10-29 06:05:17 -04:00
debug
devicetree drivers: can: remove DT_CHOSEN_ZEPHYR_CANBUS_LABEL macro 2021-11-09 11:19:50 +01:00
dfu dfu: boot: Add implementation for multi-image swap type check 2021-08-26 09:13:13 -04:00
disk
display toolchain: migrate iterable sections calls to the external API 2021-08-12 17:47:04 -04:00
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 ipc_service: mi: Convert to device driver 2021-11-04 18:03:16 +01:00
kernel kernel: Swap RUNTIME_STATS implementation 2021-11-08 21:32:20 -05:00
linker cmake: rework linker script generation and linker prebuilt stages 2021-11-16 10:41:59 +01:00
logging comments: minor typo fixes 2021-10-05 07:18:13 -04:00
lorawan
mgmt mgmt: mcumgr: Make SMP service notification function public 2021-11-03 16:36:17 -04:00
modbus
multi_heap multi_heap: Introduce shared multi-heap memory pool manager 2021-10-12 07:44:46 -04:00
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 cmsis_rtos_v1: fix thread instances management. 2021-09-09 12:01:06 -04:00
posix posix: semaphore: use ZRESTRICT 2021-11-05 13:29:31 +01:00
power
random
settings toolchain: migrate iterable sections calls to the external API 2021-08-12 17:47:04 -04:00
shell shell: do not alias atomic_t 2021-11-17 12:25:10 +01:00
stats pm: Use stats subsys for tracking system states 2021-10-17 10:56:21 -04:00
storage storage/flash_map: Add FLASH_AREA_DEVICE macro 2021-11-06 21:37:47 -04:00
sys kernel: atomics: support for 64-bit atomic operations 2021-11-15 09:59:01 -05:00
task_wdt task_wdt: fix silent init failures 2021-10-01 15:21:32 +02:00
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 xenvm: drivers: serial: Implement serial interface to Xen PV console 2021-10-29 15:23:33 +02:00
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: move internal headers into include/kernel 2021-06-16 20:38:55 -04:00
kernel_structs.h kernel/sched: Separate idle from app thread stats in THREAD_USAGE 2021-11-08 21:32:20 -05:00
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 lib: smf: Add State Machine Framework 2021-10-04 20:33:11 -04:00
spinlock.h
sw_isr_table.h
sys_clock.h
syscall_handler.h
syscall.h kernel: syscall: pin generated inline functions 2021-08-26 21:16:22 -04:00
timeout_q.h
toolchain.h armclang: adding toolchain/armclang.h header 2021-08-30 08:54:23 -04:00
wait_q.h kernel: move internal headers into include/kernel 2021-06-16 20:38:55 -04:00
zephyr.h