zephyr/include/bluetooth
Joakim Andersson 8a55e04e23 Bluetooth: host: Prevent bt_rand calls before bt_enable
Prevent the bt_rand function from being called before bt_enable.
Depending on the implementation of bt_rand this function cannot
be called before bluetooth has been initialized. With host supplied
crypto functions the HCI LE rand command is used for example.

The use case for calling bt_id_create before bt_enable is meant for
when the application has storage for the identity instead of the stack.
So we add the requirement that the application has to have storage
for the identity resolving key (IRK) in addition when the local
device is privacy-enabled.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2021-02-02 08:46:17 -05:00
..
mesh Bluetooth: Mesh: Make access packet sizes defines public 2020-12-12 14:15:47 +02:00
services bluetooth: services: add Object Transfer service 2020-09-04 17:06:17 +02:00
a2dp-codec.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
a2dp.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
addr.h Bluetooth: host: Fix doxygen in addr header 2021-02-02 08:46:17 -05:00
att.h bluetooth: att: provide named constant for successful result 2020-10-02 11:45:03 +02:00
avdtp.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
bluetooth.h Bluetooth: host: Prevent bt_rand calls before bt_enable 2021-02-02 08:46:17 -05:00
buf.h Bluetooth: host: Remove deprecated BT_BUF_USER_DATA_MIN macro 2021-01-29 12:53:10 -05:00
conn.h Bluetooth: host: Remove the deprecated bt_conn_create_slave_le function 2021-01-29 12:53:10 -05:00
controller.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
crypto.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
direction.h Bluetooth: host: direction: Add public API to set CTE TX enable for adv 2021-01-14 15:26:32 +01:00
gap.h Bluetooth: Define assigned number values of BIGInfo and Broadcast Code 2021-01-08 16:38:19 +02:00
gatt.h doc: fix @param usage in callbacks 2020-12-18 12:18:28 +01:00
hci_err.h Bluetooth: host: Remove deprecated security defines 2021-01-29 12:53:10 -05:00
hci_raw.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
hci_vs.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
hci.h Bluetooth: host: Remove the deprecated Advertising Types definitions 2021-01-29 12:53:10 -05:00
hfp_hf.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
iso.h Bluetooth: Audio: Initial ISO channel support 2020-09-04 21:03:13 +02:00
l2cap.h Bluetooth: L2CAP: Document behavior of alloc_buf 2020-09-22 10:56:27 +03:00
mesh.h Bluetooth: Mesh: Encapsulate feature config 2020-11-09 11:23:34 +02:00
rfcomm.h bluetooth: use kernel stacks 2020-08-05 21:30:32 -04:00
sdp.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
testing.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
uuid.h bluetooth: uuid: add tx power service uuids 2020-12-10 13:33:12 +01:00