--- title: TinyGsmWifi --- # TinyGsmWifi (class) **Module:** **[TinyGsmWifi](class_tiny_gsm_wifi.html)** The CRTP parent class for WiFi functions. `#include ` ## WiFi functions ### Public Functions | | Name | | -------------- | -------------- | | bool | **[networkConnect](#afdbf9f1bbd066ebfe1733b65f1bd6571)**(const char * ssid, const char * pwd)
Connect to a WiFi network. | | bool | **[networkDisconnect](#ad361ae16422d411d86dec9964678cb87)**()
Disconnect from the WiFi network. | ## Public Functions Documentation ### WiFi functions #### functionnetworkConnect ```cpp bool networkConnect(const char * ssid, const char * pwd) ``` - **Parameters**: - **ssid** The SSID of the WiFi network - **pwd** The password of the WiFi network - **Return**: True if successfully connected to the WiFi network, false otherwise. #### functionnetworkDisconnect ```cpp bool networkDisconnect() ``` - **Return**: True if successfully disconnected from the WiFi network, false otherwise. ------------------------------- Generated by [Doxygen](https://www.doxygen.nl) and [m.css](https://mcss.mosra.cz/) with templates from [doxybook2](https://github.com/matusnovak/doxybook2) Updated on 2026-09-11