Running BLE GATT Server Example on Raspbian Stretch

The purpose of this post is to run an example code of Bluetooth Low Energy GATT server from BlueZ source code on Raspberry Pi. Here are the contents of this post. Contents – Assumptions – Steps 1. Download Example Code 2. Execute Example Code 3. Install Requisite 4. Start Advertising BLE 5. Verify – Reference… Continue reading “Running BLE GATT Server Example on Raspbian Stretch”

Disabling Screen Sleep on Raspberry Pi

By default the screen goes to sleep after some minutes of inactivity. It can be disabled by editing configuration file. Here is the steps. 1. Open /etc/lightdm/lightdm.conf file. sudo nano /etc/lightdm/lightdm.conf 2. Look for the line starts “xserver-command” under “[Seat:*]” section and modify as below: xserver-command=X -s 0 -dpms 3. Reboot the system. sudo reboot… Continue reading “Disabling Screen Sleep on Raspberry Pi”

Running BLE Advertising Example Code on Raspbian Stretch

Update (Feb 26, 2018): If your BlueZ version is 5.48 or higher, you can skip Step 1 since the Advertising Manager is marked as stable In BlueZ 5.48. (To update BlueZ, please see this post. )   The purpose of this post is to run an example code of Bluetooth Low Energy Advertisement from BlueZ… Continue reading “Running BLE Advertising Example Code on Raspbian Stretch”

Enabling Clipboard Sharing and Shared Folder on VirtualBox (Ubuntu Linux Guest)

This post shows how to enable clipboard sharing and file sharing via shared folder between VirtualBox guest OS and host OS. In this post, I use Windows 10 as the host and Ubuntu Linux as the guest.   Assumptions To enable those functions, “VirtualBox Guest Additions” needs to be installed on the guest OS. Please… Continue reading “Enabling Clipboard Sharing and Shared Folder on VirtualBox (Ubuntu Linux Guest)”

Enabling Bluetooth in VirtualBox

VirtualBox guest OS doesn’t recognize Bluetooth adapter by default. Here is how to enable the built in Bluetooth adapter for Ubuntu guest on Windows host. OS and the version I used are below. Host: Windows 10 Guest: Ubuntu 16.04 I tested the steps with Microsoft Surface Pro 4 and Dell Precision 3510. Here is the list… Continue reading “Enabling Bluetooth in VirtualBox”