Convert bitmap ( bmp ) files to raw 16 bit data using C program in Linux

bmptoraw is utility to convert bitmap files to raw 16 bit data. This program assumes a 24 … Read more

sniffex – C program to Capture wifi packets using libpcap

libpcap provides functions for user-level packet capture, used in low-level network monitoring. Following program captures the packets … Read more

Test Code for Real Time Clock ( RTC ) Linux Driver

This code can be used for testing the real time clock driver developed for new Linux based … Read more

C program to read information from sysfs file in Linux

In this post, we will write a simple C program which can read any sysfs file from … Read more

How Android Bluetooth Profiles are enabled and Services are activated ?

How Android Bluetooth profiles are enabled ? Answer: Check packages/apps/Bluetooth/res/values/config.xml If you want to disable the above … Read more

Turn Your Linux PC Into Bluetooth Speakers For Your Mobile Phone

WiFi

This post shows steps to Play Songs from mobile and listen on laptop/desktop speaker over Bluetooth. The … Read more

Configure Ubuntu 16.04 as Bluetooth A2DP Sink

This post shows steps configure Ubuntu 16.04 as Bluetooth A2DP Sink. When Ubuntu is acting as A2DP … Read more

Debug levels for Linux kernel PrintK

If you have already tried to write the first kernel module from port “Writing first Linux kernel … Read more

Send and receive data from user space and kernel using Netlink sockets

As mentioned in Linux kernel souce code net/netlink/af_netlink.c, netlink is a Kernel-user communication protocol which allows user … Read more