Countdown header img desk

MAI SUNT 00:00:00:00

MAI SUNT

X

Countdown header img  mob

MAI SUNT 00:00:00:00

MAI SUNT

X

Master the Raspberry Pi Pico in C: WiFi with LwIP, MbedTLS & FreeRTOS, Second Edition

De (autor): Mike James

Master the Raspberry Pi Pico in C: WiFi with LwIP, MbedTLS & FreeRTOS, Second Edition - Mike James

Master the Raspberry Pi Pico in C: WiFi with LwIP, MbedTLS & FreeRTOS, Second Edition

De (autor): Mike James

Adding WiFi to the Raspberry Pi Pico turns this low-cost, small form factor device into a true IoT device. The extra capabilities added to the Pico W open up loads of opportunities, but only if you are prepared to do battle with the two libraries that provide networking and security - Lightweight Internet Protocol (lwIP) and Mbed Transport Layer Security (mbedTLS), respectively. The problem with these large libraries of code is that they are poorly documented and don't refer directly to the Pico W and its SDK. This book sets out to remedy this by providing a guide to these libraries along with examples of what you can do with them. This second edition has been updated to cover the second generation Pico 2W as well as the original Pico W and has been extended to cover FreeRTOS, which offers significant advantages when working with lwIP and mbedTLS. Having introduced the Pico WiFi Stack and basic network connections, we look at how to use TCP to create the all-important Protocol Control Block and then tackle implementing an HTTP client. As well as covering the basic mechanics of using lwIP, we also look at how to organize the use of an asynchronous library based on callbacks. The problem of IoT security is unique because IoT devices can be physically accessed by an attacker. Even so it is worth implementing encryption and this is achieved using mbedTLS to create an HTTPS client and server, complete with certificates. We cover the basics of cryptography, including the problem of generating random numbers, what an encryption suite is and the various modes of AES encryption. Next come four chapters devoted to specific protocols. We look at UDP as an alternative to implementing a server; SNTP as a way of setting the Pico W's real time clock; SMTP to allow email notifications and MQTT as a scalable architecture. Each of these chapters includes example programs which do the basics of the task. To make use of sockets, the de-facto standard way of writing networking programs we need an operating system. The final chapters of this book introduce FreeRTOS and how to use sockets to implement HTTP and HTTPS clients and servers including an initialization server which lets the user configure an IoT device using WiFi. Harry Fairhead is the author of Programming The Raspberry Pi Pico/W In C, Fundamental C: Getting Closer To The Machine, Applying C For The IoT With Linux, and IoT titles for the Raspberry Pi and the ESP32. Mike James is the co-author of Programming the Raspb
Citeste mai mult

-10%

transport gratuit

PRP: 425.86 Lei

!

Acesta este Pretul Recomandat de Producator. Pretul de vanzare al produsului este afisat mai jos.

383.27Lei

383.27Lei

425.86 Lei

Primesti 383 puncte

Important icon msg

Primesti puncte de fidelitate dupa fiecare comanda! 100 puncte de fidelitate reprezinta 1 leu. Foloseste-le la viitoarele achizitii!

Livrare in 2-4 saptamani

Descrierea produsului

Adding WiFi to the Raspberry Pi Pico turns this low-cost, small form factor device into a true IoT device. The extra capabilities added to the Pico W open up loads of opportunities, but only if you are prepared to do battle with the two libraries that provide networking and security - Lightweight Internet Protocol (lwIP) and Mbed Transport Layer Security (mbedTLS), respectively. The problem with these large libraries of code is that they are poorly documented and don't refer directly to the Pico W and its SDK. This book sets out to remedy this by providing a guide to these libraries along with examples of what you can do with them. This second edition has been updated to cover the second generation Pico 2W as well as the original Pico W and has been extended to cover FreeRTOS, which offers significant advantages when working with lwIP and mbedTLS. Having introduced the Pico WiFi Stack and basic network connections, we look at how to use TCP to create the all-important Protocol Control Block and then tackle implementing an HTTP client. As well as covering the basic mechanics of using lwIP, we also look at how to organize the use of an asynchronous library based on callbacks. The problem of IoT security is unique because IoT devices can be physically accessed by an attacker. Even so it is worth implementing encryption and this is achieved using mbedTLS to create an HTTPS client and server, complete with certificates. We cover the basics of cryptography, including the problem of generating random numbers, what an encryption suite is and the various modes of AES encryption. Next come four chapters devoted to specific protocols. We look at UDP as an alternative to implementing a server; SNTP as a way of setting the Pico W's real time clock; SMTP to allow email notifications and MQTT as a scalable architecture. Each of these chapters includes example programs which do the basics of the task. To make use of sockets, the de-facto standard way of writing networking programs we need an operating system. The final chapters of this book introduce FreeRTOS and how to use sockets to implement HTTP and HTTPS clients and servers including an initialization server which lets the user configure an IoT device using WiFi. Harry Fairhead is the author of Programming The Raspberry Pi Pico/W In C, Fundamental C: Getting Closer To The Machine, Applying C For The IoT With Linux, and IoT titles for the Raspberry Pi and the ESP32. Mike James is the co-author of Programming the Raspb
Citeste mai mult

S-ar putea sa-ti placa si

De acelasi autor

Parerea ta e inspiratie pentru comunitatea Libris!

Istoricul tau de navigare

Acum se comanda

Noi suntem despre carti, si la fel este si

Newsletter-ul nostru.

Aboneaza-te la vestile literare si primesti un cupon de -10% pentru viitoarea ta comanda!

*Reducerea aplicata prin cupon nu se cumuleaza, ci se aplica reducerea cea mai mare.

Ma abonez image one
Ma abonez image one
Accessibility Logo