I’m using Raspbian Stretch Lite (September 2017 version) and for some reason, wanted to disable IPv6 kernel module, which is loaded by default. Basically, it can be done by blacklisting the kernel module.  Here is steps I took. 1. Check already loaded modules (Optional) You can check already loaded modules by ‘lsmod’ command.… Continue reading “Disabling IPv6 Kernel Module on Raspbian Stretch”
This post shows how to setup serial communication between Raspberry Pi and PC using a USB-Serial cable. Here is the list of contents of this post. Contents Prerequisites Steps Wiring Setting up terminal emulator on Windows PC Enabling UART on Raspberry Pi Disabling console service Setting up terminal emulator on Raspberry Pi Test Prerequisites These… Continue reading “Setting Up UART Serial Communication between Raspberry Pi and PC”
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”
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. Add the line below under “[SeatDefaults]” section.
xserver–command=X –s 0 –dpms
3. Reboot the system.
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”