fix(nimble): Add missing header file to fix compilation issue

This commit is contained in:
Rahul Tank
2025-12-16 12:14:30 +05:30
parent 32e8ddac58
commit 686728c09e
3 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -171,7 +171,6 @@ struct hci_conn_update;
#define BLE_GAP_EVENT_PER_SUBEV_DATA_REQ 40
#define BLE_GAP_EVENT_PER_SUBEV_RESP 41
#define BLE_GAP_EVENT_PERIODIC_TRANSFER_V2 42
#define BLE_GAP_EVENT_CACHE_ASSOC 43
/* ISO events */
#define BLE_GAP_EVENT_CIS_ESTAB 43
@@ -186,6 +185,8 @@ struct hci_conn_update;
#define BLE_GAP_EVENT_RD_ALL_REM_FEAT 51
#define BLE_GAP_EVENT_MONITOR_ADV_REPORT 52
#define BLE_GAP_EVENT_CACHE_ASSOC 53
/* DTM events */
#define BLE_GAP_DTM_TX_START_EVT 0
#define BLE_GAP_DTM_RX_START_EVT 1
+1
View File
@@ -72,6 +72,7 @@ ble_aes_ccm_encrypt_be(const uint8_t *key, const uint8_t *plaintext, uint8_t *en
}
#else
#include <tinycrypt/constants.h>
int
ble_aes_ccm_encrypt_be(const uint8_t *key, const uint8_t *plaintext, uint8_t *enc_data)
{
+1 -1
View File
@@ -389,7 +389,7 @@ void
ble_hs_id_reset(void)
{
memset(ble_hs_id_pub, 0, sizeof ble_hs_id_pub);
memset(ble_hs_id_rnd, 0, sizeof ble_hs_id_pub);
memset(ble_hs_id_rnd, 0, sizeof ble_hs_id_rnd);
}
/**