From 7115cf4e0a4a80dd22a425b83e615a58534372d2 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Thu, 12 Jan 2023 14:49:31 +0100 Subject: [PATCH] bluetooth: add le_privacy_mode_t --- src/bluetooth.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/bluetooth.h b/src/bluetooth.h index c7623de26..014ed9edc 100644 --- a/src/bluetooth.h +++ b/src/bluetooth.h @@ -108,6 +108,14 @@ typedef enum { AUTHENTICATED_COMBINATION_KEY_GENERATED_FROM_P256, // SSP Passkey, Number confirm, OOB } link_key_type_t; +/** + * LE Privacy 1.2 + */ +typedef enum { + LE_PRIVACY_MODE_NETWORK = 0, + LE_PRIVACY_MODE_DEVICE = 1, +} le_privacy_mode_t; + /** * @brief Extended Inquiry Response */