zephyr/samples/bluetooth
Piotr Pryga 3b5c1efc16 Bluetooth: host: Align usage of cte_type in DF host implementation
The CTE type is used in two ways by HCI layer:
1) single value representing particular CTE type: AoA, AoD 1 us,
  AoD 2 us
2) bit-filed where bits 0-2 represent particular CTE types AoA
  AoD 1 us, AoD 2 us

The bit-field is used to inform Controller about allowed types
of CTE, hence single value carries more than one value.
To avoid confusion between these use cases in code that refers
to case 1) all named cte_type (singular form). For case 2)
cte_types (plural form) is used.

There is an enumeration that is used for both cases:
bt_df_cte_type. For cte_type only single value from the
enumeration may be assigned to variable except
BT_DF_CTE_TYPE_NONE and BT_DF_CTE_TYPE_ALL.
For cte_types all enum members may be used. Ocasionally
BT_DF_CTE_TYPE_NONE may be excluded. If that is true,
it is described in code documentation.

Thanks to that applications are released from requirement
to include hci.h header file.

Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
2022-01-04 16:02:40 +01:00
..
beacon cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
broadcaster samples: Bluetooth: Added Broadcaster sample 2021-11-25 17:09:32 +02:00
central cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
central_hr Bluetooth: ATT: Fix typo in defines 2021-10-23 20:39:36 -04:00
central_ht cmake: use find_package() instead of literal include in tests and samples 2021-11-01 10:33:09 -04:00
central_iso net: buf: POOL_FIXED_DEFINE explicit user data 2021-11-24 16:04:50 +02:00
central_multilink tests: Bluetooth: bsim: Add iterations to multiple conn to peripherals 2021-11-03 16:59:00 +01:00
central_past cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
direction_finding_connectionless_rx Bluetooth: host: Align usage of cte_type in DF host implementation 2022-01-04 16:02:40 +01:00
direction_finding_connectionless_tx Bluetooth: host: Align usage of cte_type in DF host implementation 2022-01-04 16:02:40 +01:00
eddystone cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
handsfree cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
hci_pwr_ctrl cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
hci_rpmsg Bluetooth: ISO: Add bitmask for retrieving iso header lenght 2021-11-12 14:52:33 +01:00
hci_spi samples: bluetooth: hci: replace SYS_DEVICE_DEFINE with SYS_INIT 2021-12-24 20:59:10 -05:00
hci_uart samples: bluetooth: hci: replace SYS_DEVICE_DEFINE with SYS_INIT 2021-12-24 20:59:10 -05:00
hci_usb cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
hci_usb_h4 cmake: use find_package() instead of literal include in tests and samples 2021-11-01 10:33:09 -04:00
ibeacon cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
ipsp net: ipv6: Remove in6_addr from packed net_ipv6_hdr struct 2021-11-25 10:46:35 -05:00
iso_broadcast net: buf: POOL_FIXED_DEFINE explicit user data 2021-11-24 16:04:50 +02:00
iso_broadcast_benchmark net: buf: POOL_FIXED_DEFINE explicit user data 2021-11-24 16:04:50 +02:00
iso_connected_benchmark net: buf: POOL_FIXED_DEFINE explicit user data 2021-11-24 16:04:50 +02:00
iso_receive Bluetooth: ISO: Split ISO broadcast config 2021-10-18 12:43:38 +02:00
mesh cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
mesh_demo cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
mesh_provisioner cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
observer samples: Bluetooth: Added Observer sample 2021-11-25 17:09:32 +02:00
periodic_adv samples: Bluetooth: periodic_adv: Add Extended Advertising disable 2021-11-03 16:51:40 +01:00
periodic_sync cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
peripheral cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
peripheral_csc cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
peripheral_dis cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
peripheral_esp cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
peripheral_hids doc: Fix a few typos in docs/comments/messages 2021-09-03 06:06:59 -04:00
peripheral_hr samples: Take into account PINCTRL in minimal configurations 2021-12-21 18:30:35 +01:00
peripheral_ht cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
peripheral_identity tests: Bluetooth: bsim: Add iterations to multiple conn to peripherals 2021-11-03 16:59:00 +01:00
peripheral_iso Bluetooth: ISO: Add iso accept info struct 2021-09-28 20:19:37 -04:00
peripheral_ots bluetooth: ots: Add Create and Delete procedures 2021-11-24 21:49:11 +02:00
peripheral_past cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
peripheral_sc_only cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
scan_adv cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
st_ble_sensor cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
bluetooth.rst boards: arm: nrf5340dk_nrf5340: Rename NS target 2021-07-10 12:44:02 -04:00