Master The ESP32 In C: WiFi with the ESP-IDF, FreeRTOS, LwIP & MbedTLS
商品資訊
ISBN13:9781871962994
出版社:Lightning Source Inc
作者:Mike James
出版日:2025/12/07
裝訂:平裝
規格:25.4cm*17.8cm*1.5cm (高/寬/厚)
商品簡介
商品簡介
The ESP32 is the ideal choice of device for IoT projects in which data needs to be shared. It has custom built-in WiFi hardware which is supported by the ESP-IDF (Espressif IoT Development Framework), its own development environment. The fact that the ESP32 uses FreeRTOS as standard also makes WiFi use, and asynchronous tasks in general, much easier. It also means that we can use sockets to implement communications protocols. To make full use of it, however, you must also understand the underlying components: the Lightweight Internet Protocol (lwIP) and Mbed Transport Layer Security (mbedTLS).
We start out with an examination of using FreeRTOS beyond the simple single-task program: using cores, scheduling, locks, synchronization and interrupts. A complete chapter is dedicated to exploring the different data structures that FreeRTOS provides for inter-task communication. Having mastered FreeRTOS, we turn our attention to basic WiFi in station mode. Then on to using lwIP to implement TCP/IP and DHCP. Sockets are key to implementing almost any network communications and an HTTP client is used as an example. We also look at the HTTP client component provided by the IDF. After implementing a client the next challenge is how to implement a server and methods that can be used to make a client stand in for a server.
Modern communication is almost always encrypted and this can prove difficult for IoT devices with limited power and memory. Before looking at how to implement HTTPS, we take a hands-on look at practical cryptography. Next we implement an HTTPS client using the standard certificate bundle. Of course, after the client, comes the server and this is a matter of supporting the appropriate encryption suites and certificates.
Going beyond HTTP, the next four chapters introduce UDP, SNTP, SMTP and MQTT in turn. The final chapter deals with some advanced topics: an AP that can be used to configure hardware; an AP that can connect its clients to the Internet; promiscuous mode packet sniffing; long range mode; ESP Now and ESP Mesh. Harry Fairhead and Mike James are the co-authors of Master the Raspberry Pi Pico in C as well as introductory IoT titles for the ESP32, the Raspberry Pi Pico and the Raspberry Pi family. Both have written books on C. Fundamental C: Getting Closer To The Machine and Applying C For The IoT With Linux are by Harry, while Mike is the author of Deep C Dives and Extending and Embedding Python Using C.
We start out with an examination of using FreeRTOS beyond the simple single-task program: using cores, scheduling, locks, synchronization and interrupts. A complete chapter is dedicated to exploring the different data structures that FreeRTOS provides for inter-task communication. Having mastered FreeRTOS, we turn our attention to basic WiFi in station mode. Then on to using lwIP to implement TCP/IP and DHCP. Sockets are key to implementing almost any network communications and an HTTP client is used as an example. We also look at the HTTP client component provided by the IDF. After implementing a client the next challenge is how to implement a server and methods that can be used to make a client stand in for a server.
Modern communication is almost always encrypted and this can prove difficult for IoT devices with limited power and memory. Before looking at how to implement HTTPS, we take a hands-on look at practical cryptography. Next we implement an HTTPS client using the standard certificate bundle. Of course, after the client, comes the server and this is a matter of supporting the appropriate encryption suites and certificates.
Going beyond HTTP, the next four chapters introduce UDP, SNTP, SMTP and MQTT in turn. The final chapter deals with some advanced topics: an AP that can be used to configure hardware; an AP that can connect its clients to the Internet; promiscuous mode packet sniffing; long range mode; ESP Now and ESP Mesh. Harry Fairhead and Mike James are the co-authors of Master the Raspberry Pi Pico in C as well as introductory IoT titles for the ESP32, the Raspberry Pi Pico and the Raspberry Pi family. Both have written books on C. Fundamental C: Getting Closer To The Machine and Applying C For The IoT With Linux are by Harry, while Mike is the author of Deep C Dives and Extending and Embedding Python Using C.
主題書展
更多
主題書展
更多書展購物須知
外文書商品之書封,為出版社提供之樣本。實際出貨商品,以出版社所提供之現有版本為主。部份書籍,因出版社供應狀況特殊,匯率將依實際狀況做調整。
無庫存之商品,在您完成訂單程序之後,將以空運的方式為你下單調貨。為了縮短等待的時間,建議您將外文書與其他商品分開下單,以獲得最快的取貨速度,平均調貨時間為1~2個月。
為了保護您的權益,「三民網路書店」提供會員七日商品鑑賞期(收到商品為起始日)。
若要辦理退貨,請在商品鑑賞期內寄回,且商品必須是全新狀態與完整包裝(商品、附件、發票、隨貨贈品等)否則恕不接受退貨。

