File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ uint32_t scanTime = 100; //In 10ms (1000ms)
20
20
BLEScan* pBLEScan;
21
21
22
22
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) {
24
24
if (report.event_type & ESP_BLE_GAP_SET_EXT_ADV_PROP_LEGACY){
25
25
// here we can receive regular advertising data from BLE4.x devices
26
26
Serial.println (" BLE4.2" );
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ static esp_ble_gap_periodic_adv_sync_params_t periodic_adv_sync_params = {
28
28
29
29
class MyBLEExtAdvertisingCallbacks : public BLEExtAdvertisingCallbacks
30
30
{
31
- void onResult (esp_ble_gap_ext_adv_reprot_t params)
31
+ void onResult (esp_ble_gap_ext_adv_report_t params)
32
32
{
33
33
uint8_t *adv_name = NULL ;
34
34
uint8_t adv_name_len = 0 ;
You can’t perform that action at this time.
0 commit comments