mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-08-08 19:17:56 +00:00
fix(nimble): Add missing header file to fix compilation issue
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user