I'm sorry.
This is the correct:
BLEServer *server = NULL;
server = BLEDevice::createServer();
server->getAdvertising()->setScanFilter(1,0);
Search found 2 matches
- Thu Aug 16, 2018 4:07 pm
- Forum: ESP32 Arduino
- Topic: How to hide BLE in ESP32?
- Replies: 9
- Views: 17084
- 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...