> For the complete documentation index, see [llms.txt](https://theiotlearninginitiative.gitbook.io/internetofthings101/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://theiotlearninginitiative.gitbook.io/internetofthings101/architecture/communications/connectivity/labs.md).

# Labs

## Connectivity Labs

## BlueTooth @ Intel® Edison

* [Intel® Edison Bluetooth Guide](http://www.intel.com/support/edison/sb/CS-035381.htm)
* [Intel® Edison SPP](https://software.intel.com/en-us/articles/connecting-the-intel-edison-board-to-your-android-phone-with-serial-port-profile-spp)

### Pairing

```bash
root@galileo:~# rfkill unblock bluetooth
root@galileo:~# bluetoothctl
[bluetooth]# scan on
[bluetooth]# scan off
[bluetooth]# pair 40:78:6A:26:4A:C2
[bluetooth]# connect 40:78:6A:26:4A:C2
[bluetooth]# paired-devices
[bluetooth]# info 40:78:6A:26:4A:C2
[bluetooth]# exit
```

### Headsets

```bash
root@edison:~# rfkill unblock bluetooth
root@edison:~# bluetoothctl
root@edison:~# scan on
root@edison:~# pair 40:78:6A:26:4A:C1
root@edison:~# connect 40:78:6A:26:4A:C1
root@edison:~# quit
root@edison:~# pactl list sinks
root@edison:~# pactl set-default-sink bluez_sink.40_78_6A_26_4A_C1
root@edison:~# gst-launch-1.0 filesrc location=sample.wav ! waveparse ! pulsesink
root@edison:~# paired-devices
root@edison:~# remove 40:78:6A:26:4A:C1
```
