Skip to Content
Hands-On Robotics Programming with C++
book

Hands-On Robotics Programming with C++

by Dinesh Tavasalkar
March 2019
Intermediate to advanced
312 pages
7h 37m
English
Packt Publishing
Content preview from Hands-On Robotics Programming with C++

Pairing the Android smartphone and RPi via Bluetooth

In this section, we will use the Terminal window to pair the Android's Bluetooth with the RPi's Bluetooth. Before we start with the pairing process, we need to install a Bluetooth package inside our RPi and make modifications to certain files. To do this, take the following steps:

  1. First, to install the Bluetooth package, enter the following command in the Terminal window:
sudo apt-get install libbluetooth-dev

The output of the preceding command can be seen in the following screenshot:

  1. Next, we will open the bluetooth.service file and make some minor modifications. To open the file, enter ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn Robotics Programming

Learn Robotics Programming

Danny Staple
C++ Reactive Programming

C++ Reactive Programming

Praseed Pai, Peter Abraham

Publisher Resources

ISBN: 9781789139006Supplemental Content