1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

Add get_ap() method to WiFi (#3684)

This commit is contained in:
anatoly-savchenkov
2022-08-07 22:51:09 +03:00
committed by GitHub
parent 599a455150
commit 4791093e48

View File

@@ -182,6 +182,7 @@ class WiFiComponent : public Component {
* can be made, the AP will be turned off again. * can be made, the AP will be turned off again.
*/ */
void set_ap(const WiFiAP &ap); void set_ap(const WiFiAP &ap);
WiFiAP get_ap() { return this->ap_; }
void start_scanning(); void start_scanning();
void check_scanning_finished(); void check_scanning_finished();