This is a quick tutorial for sending data from a linux pc to a bluetooth module.
I purchased a bluetooth module from sunrom.
Connect this bluetooth module to an arduino or any interfacing board.
When we power this module, it will start blinking a red led showing its not connected to any device yet.
On PC side:
Install the following packages
Type the following commands
After this command, if everything goes fine the red led will stop blinking and it will always be ON.
Open /dev/rfcomm4 using python-serial module