{"product_id":"master-the-raspberry-pi-pico-in-c-wifi-with-lwip-mbedtls-paperback","title":"Master the Raspberry Pi Pico in C: WiFi with lwIP \u0026 mbedtls - Paperback","description":"\u003cdiv\u003e\u003cp style=\"text-align: right;\"\u003e\u003ca href=\"https:\/\/reportcopyrightinfringement.com\/\" target=\"_blank\" rel=\"nofollow\"\u003e\u003cb\u003eReport copyright infringement\u003c\/b\u003e\u003c\/a\u003e\u003c\/p\u003e\u003c\/div\u003e\u003cp\u003eby \u003cb\u003eMike James\u003c\/b\u003e (Author), \u003cb\u003eHarry Fairhead\u003c\/b\u003e (Author)\u003c\/p\u003e\u003cp\u003eAdding 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 - lwIP and 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. \u003c\/p\u003e\u003cp\u003e\u003c\/p\u003eHaving 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 concentrate on how to organize the use of an asynchronous library based on callbacks. \u003cp\u003e\u003c\/p\u003eThe problem of IoT security is unique because IoT devices can be physically accessed by an attacker and hence any secrets embedded in their code have to be considered almost as public knowledge. Even so it is worth implementing encryption and this is achieved using mbedtls to create an HTTPS client. If you can ensure the physical security of the IoT device, then running it as a server is possible and this is covered in both HTTP and HTTPS modes, 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.\u003cbr\u003eThe later chapters are devoted to specific protocols, making use of both lwIP and mbedtls. We look at UDP; SNTP to set the Pico W's real time clock; SMTP to allow email notifications and MQTT. \u003cp\u003e\u003c\/p\u003e\u003cb\u003eHarry Fairhead\u003c\/b\u003e is also the author of \u003ci\u003e\u003cb\u003eProgramming The Raspberry Pi Pico\/W In C\u003c\/b\u003e\u003c\/i\u003e; \u003ci\u003e\u003cb\u003eRaspberry Pi IoT in C\u003c\/b\u003e\u003c\/i\u003e, \u003ci\u003e\u003cb\u003eRaspberry Pi IoT In C Using Linux Drivers\u003c\/b\u003e\u003c\/i\u003e, \u003ci\u003e\u003cb\u003eApplying C For The IoT With Linux\u003c\/b\u003e\u003c\/i\u003e, \u003ci\u003e\u003cb\u003e Fundamental C: Getting Closer To The Machine\u003c\/b\u003e\u003c\/i\u003e and \u003ci\u003e\u003cb\u003eMicro: bit IoT in C\u003c\/b\u003e\u003c\/i\u003e. \u003cp\u003e\u003c\/p\u003e\u003cb\u003eMike James\u003c\/b\u003e is the author of \u003ci\u003e\u003cb\u003eProgramming the Raspberry Pi Pico\/W in MicroPython\u003c\/b\u003e\u003c\/i\u003e; \u003ci\u003e\u003cb\u003e Raspberry Pi IoT In Python Using GPIO Zero\u003c\/b\u003e\u003c\/i\u003e; and the \u003ci\u003e\u003cb\u003eProgrammer's Python: Something Completely Different \u003c\/b\u003e\u003c\/i\u003eseries of books and several other programming and computer science titles in the I Programmer Library.\n            \u003cdiv\u003e\n\u003cstrong\u003eNumber of Pages:\u003c\/strong\u003e 234\u003c\/div\u003e\n            \u003cdiv\u003e\n\u003cstrong\u003eDimensions:\u003c\/strong\u003e 0.49 x 10 x 7 IN\u003c\/div\u003e\n            \u003cdiv\u003e\n\u003cstrong\u003ePublication Date:\u003c\/strong\u003e April 11, 2023\u003c\/div\u003e\n            ","brand":"BooksCloud","offers":[{"title":"Default Title","offer_id":52494102167859,"sku":"9781871962819","price":60.93,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0300\/5595\/6612\/files\/F01HBBojyZ9781871962819.webp?v=1759971279","url":"https:\/\/www.vysn.com\/products\/master-the-raspberry-pi-pico-in-c-wifi-with-lwip-mbedtls-paperback","provider":"VYSN","version":"1.0","type":"link"}