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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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();