Chapter 6: A Good Old Friend – Wi-Fi
Wi-Fi (of the IEEE 802.11 family of standards) is the most prominent wireless standard in the industry, so Espressif has integrated this technology into all of its products – ESP32 is no exception. In this chapter, we will learn how to use ESP32 in a Wi-Fi environment by connecting it to a local Wi-Fi network. After connecting to local Wi-Fi, a huge world of IoT opens that lets ESP32 communicate with servers and other connected devices. ESP-IDF provides all the software support needed to develop Transmission Control Protocol/Internet Protocol (TCP/IP) applications.
This chapter contains practical examples of client/server solutions over TCP/IP. We will discuss how to implement Hypertext Transfer Protocol (HTTP) server and client applications on ESP32 as well as examples of other application layer protocols, such as Multicast Domain Name System (mDNS) and Simple Network Time Protocol (SNTP), which can be needed in some real-world...