Search found 2 matches

by mike_acosta_v
Thu Aug 16, 2018 4:07 pm
Forum: ESP32 Arduino
Topic: How to hide BLE in ESP32?
Replies: 9
Views: 17084

Re: How to hide BLE in ESP32?

I'm sorry.
This is the correct:

BLEServer *server = NULL;
server = BLEDevice::createServer();
server->getAdvertising()->setScanFilter(1,0);
by mike_acosta_v
Wed Aug 15, 2018 1:40 am
Forum: ESP32 Arduino
Topic: How to hide BLE in ESP32?
Replies: 9
Views: 17084

Re: How to hide BLE in ESP32?

Hi, you can prob this: BLEServer *server = NULL; server = BLEDevice::createServer(); servidor->getAdvertising()->c(1,0); This is the function: /* void BLEAdvertising::setScanFilter(bool scanRequestWhitelistOnly, bool connectWhitelistOnly) { ESP_LOGD(LOG_TAG, ">> setScanFilter: scanRequestWhitelistOn...