C program to get current username of Linux application

cuserid() returns a pointer to a string containing a username associated with the effective user ID of … Read more

How to get the MD5 sum of a file using C program ?

C program from this post is used to calculate the md5 sum of a file and print … Read more

C program to Identify size of a file using Linux stat system call

This program uses “stat” system call to read the file size. In this post, we demonstrate with … 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

Debugging using C macros __FILE__ and __func__ and __LINE__

Following program shows a sample example of how we can use C macros __FILE__ , __func__ and … Read more

Understanding Android Bluetooth Code : part 1 – Application Framework

At the application framework level is the app’s code, which utilizes the android.bluetooth APIs to interact with … 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

Network throughput measurement using netperf

Netperf is a benchmark that can be used to measure various aspects of networking performance. Its primary … Read more