Chapter 5. Missed Calls with Pi

In this chapter, we will implement a much more programming-oriented project and dive into Bluetooth Smart or Bluetooth Low Energy (BLE) programming. We will make the Pi and Android phones communicate through Bluetooth, and control the Pi using this channel. We will cover the following topics in this chapter:

  • Installing the necessary components
  • Adding a sensor service to Bluetooth Low Energy
  • Connecting from an Android app
  • Sending the reboot command from your Android phone to the Pi
  • Sending more commands from your Android phone to the Pi

Installing the necessary components

The hardware component needed for this project is a BLE-enabled Bluetooth USB dongle. It is important that this hardware supports BLE as we will specifically ...

Get Raspberry Pi Android Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.