zephyr/include/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
..
audio Bluetooth: Audio: Media control service 2021-11-11 15:31:37 +01:00
mesh Bluetooth: Mesh: Fix Config/Health Client async API 2021-12-16 10:15:36 +01:00
services bluetooth: ots: Add Create and Delete procedures 2021-11-24 21:49:11 +02:00
a2dp-codec.h license: add missing SPDX headers 2021-02-11 08:05:16 -05:00
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: Refactor bluetooth buffer configuration for simplification 2021-05-06 14:56:18 +02:00
bluetooth.h Bluetooth: host: Add handling of failures in per sync established evt 2021-11-18 17:12:22 +02:00
buf.h Bluetooth: buf: Update BT_BUF_RX_SIZE with ISO 2021-12-09 12:38:12 -05:00
conn.h Bluetooth: host: Add IQ reports handing in DF connecte mode 2021-12-09 19:44:15 -05:00
controller.h
crypto.h Bluetooth: Crypto: Fix naming of params 2021-05-12 12:37:27 +03:00
direction.h Bluetooth: host: Align usage of cte_type in DF host implementation 2022-01-04 16:02:40 +01:00
gap.h Bluetooth: Audio: Add coordinated sets identification service server 2021-11-09 11:17:20 +01:00
gatt.h Bluetooth: GATT: Add BT_GATT_WRITE_FLAG_EXECUTE flag 2022-01-04 09:05:23 -05:00
hci_err.h Bluetooth: host: Remove deprecated security defines 2021-01-29 12:53:10 -05:00
hci_raw.h Bluetooth: Refactor bluetooth buffer configuration for simplification 2021-05-06 14:56:18 +02:00
hci_vs.h Bluetooth: controller: push topic branch to main 2021-11-16 21:24:37 -05:00
hci.h Bluetooth: Add defines for Periodic Advertising Receive Enable 2021-12-29 18:01:17 +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 Bluetooth: host: Update RFCOMM to new delayable work API 2021-05-05 19:44:09 -04:00
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