diff options
author | Neil Kolban <kolban1@kolban.com> | 2017-11-21 09:51:03 -0600 |
---|---|---|
committer | Neil Kolban <kolban1@kolban.com> | 2017-11-21 09:51:03 -0600 |
commit | 4a781e01832176d61af010669b8c362f5a777768 (patch) | |
tree | 6a7a16309d61c4728512f5eb632d3ad565288c36 /src/BLEScan.h | |
parent | Fixes for #121 (diff) | |
download | thermostat-4a781e01832176d61af010669b8c362f5a777768.tar.gz thermostat-4a781e01832176d61af010669b8c362f5a777768.tar.bz2 thermostat-4a781e01832176d61af010669b8c362f5a777768.zip |
Updates 2017-11-21 0950
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); |