diff options
Diffstat (limited to 'src/BLEScan.h')
-rw-r--r-- | src/BLEScan.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/BLEScan.h b/src/BLEScan.h index bc7f431..edf79a9 100644 --- a/src/BLEScan.h +++ b/src/BLEScan.h @@ -31,6 +31,7 @@ class BLEScan; */ class BLEScanResults { public: + void dump(); int getCount(); BLEAdvertisedDevice getDevice(uint32_t i); @@ -46,8 +47,6 @@ private: */ class BLEScan { public: - BLEScan(); - void setActiveScan(bool active); void setAdvertisedDeviceCallbacks(BLEAdvertisedDeviceCallbacks* pAdvertisedDeviceCallbacks); void setInterval(uint16_t intervalMSecs); @@ -56,8 +55,9 @@ public: void stop(); private: + BLEScan(); // One doesn't create a new instance instead one asks the BLEDevice for the singleton. friend class BLEDevice; - void gapEventHandler( + void handleGAPEvent( esp_gap_ble_cb_event_t event, esp_ble_gap_cb_param_t* param); void parseAdvertisement(BLEClient* pRemoteDevice, uint8_t *payload); |