I have connected my mobile phone to my laptop via bluetooth. Now I need to map that bluetooth connection to a virtual serial port. Purpose of doing that is to configure SMSLib Java library to send sms via my phone. Ubuntu 12.04 is the OS running in my laptop. I have executed following command and gave "/dev/rfcomm0" as my serial port to the SMSLib application parameter.
rfcomm bind /dev/rfcomm0 <bdaddr> <rfchan>
But it gave me an run time error by saying port couldn't identify. How do i overcome from this issue?
Have a great day!