Beschreibung
Bluetooth Low Energy (BLE) radio chips are ubiquitous from Raspberry Pi to light bulbs. BLE is an elaborate technology with a comprehensive specification, but the basics are quite accessible. A progressive and systematic approach will lead you far in mastering this wireless communication technique, which is essential for working in low power scenarios. In this book, youll learn how to:Discover BLE devices in the neighborhood by listening to their advertisements.Create your own BLE devices advertising data.Connect to BLE devices such as heart rate monitors and proximity reporters.Create secure connections to BLE devices with encryption and authentication.Understand BLE service and profile specifications and implement them.Reverse engineer a BLE device with a proprietary implementation and control it with your own software.Make your BLE devices use as little power as possible. This book shows you the ropes of BLE programming with Python and the Bleak library on a Raspberry Pi or PC, with C++ and NimBLE-Arduino on Espressifs ESP32 development boards, and with C on one of the development boards supported by the Zephyr real-time operating system, such as Nordic Semiconductor's nRF52 boards. Starting with a very little amount of theory, youll develop code right from the beginning. After youve completed this book, youll know enough to create your own BLE applications.
Autorenportrait
Koen Vervloesem has been writing for over 20 years on Linux, open-source software, security, home automation, AI, programming, and the Internet of Things. He holds a Master's degree in Computer Science Engineering, a Master's degree in Philosophy, and an LPIC-3 303 Security certificate. He is a board member of the Belgian privacy activist organisation the Ministry of Privacy.