by Tom | Posted on May 18, 2017, 6:06 a.m.
In this tutorial, we are going to test the BLE capabilities of the Raspberry Pi 3. Raspberry Pi 3 has an inbuilt wifi and BLE, we can directly program it.
You should have the following hardware in order to complete this tutorial
You must have to configure the initial setup of Pi, including OS installation(Raspbian or similar), software update etc. Also, you must have the basic knowledge in Linux terminal and command line interface
The first step is to setup BLE module since I am using pi3, it has inbuilt BLE otherwise check the device using the command lsusb
open the terminal and type the command
Now we got the BLE device Type the following command to activate the BLE
sudo hciconfig hci0 up
For scanning BLE devices use the following command with superuser permission.
sudo hcitool lescan
Now connect to a BLE device using BLE Mac ID
Establish connection between piand the BLE device using the command