Add initial esp32-P4 support (#208)

This commit is contained in:
chegewara authored and GitHub committed 2024-10-31 19:06:57 -06:00
1 parent 8ca58f5a89
commit ed2c59d5de
6 files changed
+76 -1

No files matched your search

+4
View File
@@ -42,8 +42,10 @@ class NimBLEClient;
#include "NimBLEAddress.h"
#ifdef ESP_PLATFORM
#ifndef CONFIG_IDF_TARGET_ESP32P4
# include "esp_bt.h"
#endif
#endif
#include <string>
#include <array>
@@ -116,8 +118,10 @@ public:
#endif
#ifdef ESP_PLATFORM
#ifndef CONFIG_IDF_TARGET_ESP32P4
static void setPower(esp_power_level_t powerLevel, esp_ble_power_type_t powerType=ESP_BLE_PWR_TYPE_DEFAULT);
static int getPower(esp_ble_power_type_t powerType=ESP_BLE_PWR_TYPE_DEFAULT);
#endif
static void setOwnAddrType(uint8_t own_addr_type, bool useNRPA=false);
static void setScanDuplicateCacheSize(uint16_t cacheSize);
static void setScanFilterMode(uint8_t type);