Skip to content

Commit 16dbcee

Browse files
committed
fix(ble): rename esp_ble_gap_ext_adv_report_t
1 parent 34f5456 commit 16dbcee

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

libraries/BLE/examples/BLE5_extended_scan/BLE5_extended_scan.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ uint32_t scanTime = 100; //In 10ms (1000ms)
2020
BLEScan* pBLEScan;
2121

2222
class MyBLEExtAdvertisingCallbacks: public BLEExtAdvertisingCallbacks {
23-
void onResult(esp_ble_gap_ext_adv_reprot_t report) {
23+
void onResult(esp_ble_gap_ext_adv_report_t report) {
2424
if(report.event_type & ESP_BLE_GAP_SET_EXT_ADV_PROP_LEGACY){
2525
// here we can receive regular advertising data from BLE4.x devices
2626
Serial.println("BLE4.2");

libraries/BLE/examples/BLE5_periodic_sync/BLE5_periodic_sync.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ static esp_ble_gap_periodic_adv_sync_params_t periodic_adv_sync_params = {
2828

2929
class MyBLEExtAdvertisingCallbacks : public BLEExtAdvertisingCallbacks
3030
{
31-
void onResult(esp_ble_gap_ext_adv_reprot_t params)
31+
void onResult(esp_ble_gap_ext_adv_report_t params)
3232
{
3333
uint8_t *adv_name = NULL;
3434
uint8_t adv_name_len = 0;

libraries/BLE/src/BLEAdvertisedDevice.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ class BLEExtAdvertisingCallbacks {
145145
* As we are scanning, we will find new devices. When found, this call back is invoked with a reference to the
146146
* device that was found. During any individual scan, a device will only be detected one time.
147147
*/
148-
virtual void onResult(esp_ble_gap_ext_adv_reprot_t report) = 0;
148+
virtual void onResult(esp_ble_gap_ext_adv_report_t report) = 0;
149149
};
150150
#endif // SOC_BLE_50_SUPPORTED
151151

0 commit comments

Comments
 (0)