My take on the APIs is that they designed 'services'
to be connected to...you don't really 'want to' connect to the device...
rather you want to connect to one of probably MANY services.
I have some doubts:
1.My mobile phone is already paired with my PC. I ran a SPP host service on my PC ("btspp://localhost:" + new UUID(1101) + ";name=PCServerCOMM").But when i scan for my PC's services using my mobile, it is not able to discover the above service.What could be the issue? However, i ran a client service on another PC which was able to detect the server without any problem.
2.When we create a service, does it not need to be bound to a device? What i mean is when i create a SPP service, how come a virtual COM port is not created on my PC (as seen in WinXP's device manager)?