Difference between revisions of "BluetoothLE WiFi and Raspian"
Jump to navigation
Jump to search
(Created page with "In this first activity we will show you how you can craft a Bluetooth LE beacon using the Raspberry Pi. Start by logging into your Raspberry Pi and") |
|||
Line 1: | Line 1: | ||
In this first activity we will show you how you can craft a Bluetooth LE beacon using the Raspberry Pi. | In this first activity we will show you how you can craft a Bluetooth LE beacon using the Raspberry Pi. | ||
− | Start by logging into your Raspberry Pi and | + | Start by logging into your Raspberry Pi and then check that Bluez is installed: |
+ | |||
+ | sudo apt install bluez | ||
+ | |||
+ | |||
+ | We are going to use the Raspberry Pi to transmit an Eddystone beacon. | ||
+ | |||
+ | Lets look at the available commands: | ||
+ | |||
+ | hciconfig -h | ||
+ | |||
+ | Lets bring up the Bluetooth device on our Raspberry Pi using below command: | ||
+ | |||
+ | sudo hciconfig hci0 up | ||
+ | |||
+ | Then, lets set the Bluetooth interface to advertise but not be connectable: | ||
+ | |||
+ | sudo hciconfig hci0 leadv 3 |
Revision as of 05:21, 21 May 2020
In this first activity we will show you how you can craft a Bluetooth LE beacon using the Raspberry Pi.
Start by logging into your Raspberry Pi and then check that Bluez is installed:
sudo apt install bluez
We are going to use the Raspberry Pi to transmit an Eddystone beacon.
Lets look at the available commands:
hciconfig -h
Lets bring up the Bluetooth device on our Raspberry Pi using below command:
sudo hciconfig hci0 up
Then, lets set the Bluetooth interface to advertise but not be connectable:
sudo hciconfig hci0 leadv 3